4A Server -
2.0
|
Class that represents simple trix triple. More...
Public Member Functions | |
P2SimpleTrix (String destinationUri) | |
String | getTypeUri () |
void | setTypeUri (String typeUri) |
boolean | isGeoPoint () |
void | setGeoPoint (boolean geoPoint) |
ArrayList< String > | getValues () |
void | setValue (ArrayList< String > values) |
void | addValue (String value) |
ArrayList< String > | getLatitudes () |
void | setLatitudes (ArrayList< String > latitudes) |
void | addLatitude (String latitude) |
ArrayList< String > | getLongitudes () |
void | setLongitudes (ArrayList< String > longitudes) |
void | addLongitude (String longitude) |
ArrayList< BaseAttribute > | trixToAnnotAtt (Annotation annot, RequestInfo requestInfo, Integer sparePriority) |
Public Member Functions inherited from cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix | |
P2BaseTrix (String destinationUri) | |
ArrayList< BaseAttribute > | trixToAnnotAtt (Annotation annot, RequestInfo requestInfo, Integer sparePriority) |
String | getDestinationUri () |
void | setDestinationUri (String destinationUri) |
String | getName () |
void | setName (String name) |
String | getUriInOntology () |
void | setUriInOntology (String uriInOntology) |
String | getAnnotType () |
void | setAnnotType (String annotType) |
boolean | isFromOntology () |
void | setFromOntology (boolean fromOntology) |
String | getPriority () |
void | setPriority (String priority) |
Private Member Functions | |
int | getNumberOfAttributes () |
Private Attributes | |
String | typeUri |
ArrayList< String > | values |
ArrayList< String > | latitudes |
ArrayList< String > | longitudes |
boolean | geoPoint = false |
Additional Inherited Members | |
Protected Attributes inherited from cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix | |
String | destinationUri |
String | name |
String | uriInOntology |
String | annotType |
boolean | fromOntology = false |
String | priority |
Class that represents simple trix triple.
Class that represents simple trix triple.
Definition at line 32 of file P2SimpleTrix.java.
cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.P2SimpleTrix | ( | String | destinationUri | ) |
Constructs simple trix with specified destination
destinationUri | Uri of destination |
Definition at line 38 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.addLatitude | ( | String | latitude | ) |
Add latitude of GeoPoint attribute in String form
latitude | The latitude to set |
Definition at line 136 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.addLongitude | ( | String | longitude | ) |
Add longitude of GeoPoint attribute in String form
longitude | The longitude to set |
Definition at line 164 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.addValue | ( | String | value | ) |
Adds value of attribute
value | The value of attribute to set |
Definition at line 109 of file P2SimpleTrix.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getLatitudes | ( | ) |
Gets latitudes of GeoPoint attribute in String form
Definition at line 120 of file P2SimpleTrix.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getLongitudes | ( | ) |
Gets longitudes of GeoPoint attribute in String form
Definition at line 148 of file P2SimpleTrix.java.
|
private |
Gets number of attributes that will be created from this trix
Definition at line 358 of file P2SimpleTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getTypeUri | ( | ) |
Gets URI of type of attribute
Definition at line 61 of file P2SimpleTrix.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getValues | ( | ) |
Gets values of attribute in String form
Definition at line 93 of file P2SimpleTrix.java.
boolean cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.isGeoPoint | ( | ) |
Gets boolean value that indicates if attribute is GeoPoint
Definition at line 77 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.setGeoPoint | ( | boolean | geoPoint | ) |
Sets boolean value that indicates that attribute is GeoPoint
geoPoint | Boolean value that indicates that attribute is GeoPoint |
Definition at line 85 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.setLatitudes | ( | ArrayList< String > | latitudes | ) |
Sets latitudes of GeoPoint attribute
latitudes | The latitudes to set |
Definition at line 128 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.setLongitudes | ( | ArrayList< String > | longitudes | ) |
Sets longitudes of GeoPoint attribute
longitudes | The longitudes to set |
Definition at line 156 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.setTypeUri | ( | String | typeUri | ) |
Sets Uri of type of attribute
typeUri | Uri of type of attribute |
Definition at line 69 of file P2SimpleTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.setValue | ( | ArrayList< String > | values | ) |
Sets values of attribute in String form
values | The values of attribute to set |
Definition at line 101 of file P2SimpleTrix.java.
ArrayList<BaseAttribute> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.trixToAnnotAtt | ( | Annotation | annot, |
RequestInfo | requestInfo, | ||
Integer | sparePriority | ||
) |
|
private |
Type of attribute is GeoPoint | default value: false
Definition at line 55 of file P2SimpleTrix.java.
|
private |
Latitudes of GeoPoint attribute
Definition at line 49 of file P2SimpleTrix.java.
|
private |
Longitude of GeoPoint attribute
Definition at line 52 of file P2SimpleTrix.java.
|
private |
Uri of type of attribute
Definition at line 43 of file P2SimpleTrix.java.
|
private |
Values of attribute
Definition at line 46 of file P2SimpleTrix.java.