4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix Class Reference

Class that represents simple trix triple. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix:
Collaboration graph

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< BaseAttributetrixToAnnotAtt (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< BaseAttributetrixToAnnotAtt (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
 

Detailed Description

Class that represents simple trix triple.

Class that represents simple trix triple.

Definition at line 32 of file P2SimpleTrix.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.P2SimpleTrix ( String  destinationUri)

Constructs simple trix with specified destination

Parameters
destinationUriUri of destination

Definition at line 38 of file P2SimpleTrix.java.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.addLatitude ( String  latitude)

Add latitude of GeoPoint attribute in String form

Parameters
latitudeThe 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

Parameters
longitudeThe 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

Parameters
valueThe 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

Returns
The latitude 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

Returns
The longitudes of GeoPoint attribute in String form

Definition at line 148 of file P2SimpleTrix.java.

int cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getNumberOfAttributes ( )
private

Gets number of attributes that will be created from this trix

Returns
Number of attributes that will be create from this trix

Definition at line 358 of file P2SimpleTrix.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.getTypeUri ( )

Gets URI of type of attribute

Returns
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

Returns
The 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

Returns
true if attribute is GeoPoint, false otherwise

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

Parameters
geoPointBoolean 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

Parameters
latitudesThe 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

Parameters
longitudesThe 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

Parameters
typeUriUri 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

Parameters
valuesThe 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 
)

Definition at line 173 of file P2SimpleTrix.java.

Here is the call graph for this function:

Member Data Documentation

boolean cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.geoPoint = false
private

Type of attribute is GeoPoint | default value: false

Definition at line 55 of file P2SimpleTrix.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.latitudes
private

Latitudes of GeoPoint attribute

Definition at line 49 of file P2SimpleTrix.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.longitudes
private

Longitude of GeoPoint attribute

Definition at line 52 of file P2SimpleTrix.java.

String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.typeUri
private

Uri of type of attribute

Definition at line 43 of file P2SimpleTrix.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2SimpleTrix.values
private

Values of attribute

Definition at line 46 of file P2SimpleTrix.java.


The documentation for this class was generated from the following file: