4A Server -
2.0
|
Class representing attribute of type NestedAnnotation for peupose of suggestion. More...
Class representing attribute of type NestedAnnotation for peupose of suggestion.
Class representing attribute of type NestedAnnotation for peupose of suggestion
Definition at line 39 of file SugNestedAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.SugNestedAttribute | ( | ) |
Constructor
Definition at line 43 of file SugNestedAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.SugNestedAttribute | ( | String | name, |
Suggestion | nestedSuggestion, | ||
Suggestion | refSuggestion | ||
) |
Constructor
name | Name of the attribute |
nestedSuggestion | Value of the attribute |
refSuggestion | Suggestion to which this attribute belongs. |
Definition at line 53 of file SugNestedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 382 of file SugNestedAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 66 of file SugNestedAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses provided value and sets that value as a value of attribute
This method should not be used, because this type of attribute is processed in MessageProcessor.
value | new value of the attribute in raw form from XML |
Definition at line 106 of file SugNestedAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.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 82 of file SugNestedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.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 118 of file SugNestedAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute.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 190 of file SugNestedAttribute.java.