4A Server -
2.0
|
Class representing attribute of type Text for prupose of suggestion. More...
Class representing attribute of type Text for prupose of suggestion.
Class representing attribute of type Text for prupose of suggestion.
Definition at line 30 of file SugTextAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.SugTextAttribute | ( | ) |
Definition at line 32 of file SugTextAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.SugTextAttribute | ( | String | name, |
String | value, | ||
Suggestion | refSuggestion | ||
) |
Constructor
name | Name of the attribute |
value | Value of the attribute |
refSuggestion | Suggestion to which this attribute belongs |
Definition at line 42 of file SugTextAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.SugTextAttribute | ( | String | name, |
String | value, | ||
Suggestion | refSuggestion, | ||
Integer | priority | ||
) |
Constructor
name | Name of the attribute |
value | Value of the attribute |
refSuggestion | Suggestion to which this attribute belongs |
priority | Priority of attribute |
Definition at line 57 of file SugTextAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.getCommentXmlPart | ( | boolean | proto11 | ) |
Helper function,which returns XML part for comments.
proto11 | If true, protocol version is greater then 1.0 |
Definition at line 102 of file SugTextAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 161 of file SugTextAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 71 of file SugTextAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.setRawValue | ( | String | value | ) |
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 91 of file SugTextAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.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 81 of file SugTextAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute.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 SugTextAttribute.java.