4A Server -
2.0
|
Class that represents base trix triple. More...
Public Member Functions | |
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) |
Protected Attributes | |
String | destinationUri |
String | name |
String | uriInOntology |
String | annotType |
boolean | fromOntology = false |
String | priority |
Class that represents base trix triple.
Class that represents base trix triple.
Definition at line 31 of file P2BaseTrix.java.
cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.P2BaseTrix | ( | String | destinationUri | ) |
Definition at line 33 of file P2BaseTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.getAnnotType | ( | ) |
Gets type of annotation that is nested
Definition at line 112 of file P2BaseTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.getDestinationUri | ( | ) |
Gets destination of trix triple
Definition at line 62 of file P2BaseTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.getName | ( | ) |
Gets attributes name
Definition at line 78 of file P2BaseTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.getPriority | ( | ) |
Gets attributes priority
Definition at line 144 of file P2BaseTrix.java.
String cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.getUriInOntology | ( | ) |
Gets attributes URI in ontology
Definition at line 95 of file P2BaseTrix.java.
boolean cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.isFromOntology | ( | ) |
Gets boolean value that indicates if name of attribute is from ontology
Definition at line 128 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setAnnotType | ( | String | annotType | ) |
Sets type of annotation that is nested
annotType | The type of annotation to set |
Definition at line 120 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setDestinationUri | ( | String | destinationUri | ) |
Sets destination of trix triple
destinationUri | The destination Uri of trix triple |
Definition at line 70 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setFromOntology | ( | boolean | fromOntology | ) |
Sets boolean value that indicates that name of attribute is from ontology
fromOntology | Boolean value that indicates that name of attribute is from ontology |
Definition at line 136 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setName | ( | String | name | ) |
Sets attributes name
name | The name of attribute to set |
Definition at line 86 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setPriority | ( | String | priority | ) |
Sets attributes priority
priority | The priority of attribute within annotation |
Definition at line 152 of file P2BaseTrix.java.
void cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.setUriInOntology | ( | String | uriInOntology | ) |
Sets attributes URI in ontology
uriInOntology | Uri in ontology |
Definition at line 104 of file P2BaseTrix.java.
ArrayList<BaseAttribute> cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix.P2BaseTrix.trixToAnnotAtt | ( | Annotation | annot, |
RequestInfo | requestInfo, | ||
Integer | sparePriority | ||
) |
Method that creates Annotation Attribute from trix
Definition at line 56 of file P2BaseTrix.java.
|
protected |
Type of annotation that is linked/nested
Definition at line 47 of file P2BaseTrix.java.
|
protected |
Destination of trix triple
Definition at line 38 of file P2BaseTrix.java.
|
protected |
Attribute name is from ontology | default value: false
Definition at line 50 of file P2BaseTrix.java.
|
protected |
Attributes name
Definition at line 41 of file P2BaseTrix.java.
|
protected |
Priority of attribute within annotation
Definition at line 53 of file P2BaseTrix.java.
|
protected |
URI in ontology
Definition at line 44 of file P2BaseTrix.java.