4A Server -
2.0
|
Class representing attribute of type AnnotationLink for prupose of suggestion. More...
Private Attributes | |
String | tmpId = null |
Class representing attribute of type AnnotationLink for prupose of suggestion.
Class representing attribute of type AnnotationLink for prupose of suggestion
Definition at line 40 of file SugLinkedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getTmpId | ( | ) |
Gets tmpId of suggestion
Definition at line 365 of file SugLinkedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 384 of file SugLinkedAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 85 of file SugLinkedAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses provided value and sets that value as a value of attribute
value | new value of the attribute in raw form from XML |
Definition at line 323 of file SugLinkedAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setTmpId | ( | String | tmpId | ) |
Sets tmpId of suggestion
tmpId | New tmpId of suggestion. |
Definition at line 374 of file SugLinkedAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java value.
value | New value of the attribute |
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 52 of file SugLinkedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.toXMLString | ( | boolean | proto11, |
boolean | withOntology | ||
) |
Returns serialized informations about attribute of annotation in XML
proto11 | If true, protocol version is greater then 1.0 |
withOntology | If true, URI in ontology will be serialized, if false, it will be omitted |
Definition at line 103 of file SugLinkedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.toXMLStringWHV2 | ( | String | ontologyUri | ) |
Returns serialized informations about attribute of suggestion in XML for protocol v. 2.0 without header (target and attribute specification triples)
ontologyUri | URI of attribute in ontology |
Definition at line 167 of file SugLinkedAttribute.java.
|
private |
Temporary id for links between suggestions from client
Definition at line 44 of file SugLinkedAttribute.java.