4A Server -
2.0
|
Class representing attribute of type String for prupose of suggestion. More...
Class representing attribute of type String for prupose of suggestion.
Class representing attribute of type String for prupose of suggestion. Also provides functions for other string based attributes such as ImageUri, URI, ...
Definition at line 35 of file SugStringAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.SugStringAttribute | ( | ) |
Constructor
Definition at line 39 of file SugStringAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.SugStringAttribute | ( | 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 49 of file SugStringAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.SugStringAttribute | ( | 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 64 of file SugStringAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 118 of file SugStringAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 88 of file SugStringAttribute.java.
boolean cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.isEmpty | ( | ) |
Checks if attribute value is empty or default value
Definition at line 78 of file SugStringAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.setRawValue | ( | String | value | ) |
For string based attributes parseValue is exactly the same as setValue
value | value to be parsed |
Definition at line 108 of file SugStringAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java String value.
value | New value of the attribute |
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 98 of file SugStringAttribute.java.