4A Server -
2.0
|
Class representing attribute of type Duration for prupose of suggestion. More...
Class representing attribute of type Duration for prupose of suggestion.
Class representing attribute of type Duration
Definition at line 29 of file SugDurationAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.getStringValue | ( | ) |
Returns string representation of duration according to RFC 3339
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 51 of file SugDurationAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 97 of file SugDurationAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 37 of file SugDurationAttribute.java.
boolean cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.isEmpty | ( | ) |
Checks if attribute value is empty or default value
Definition at line 87 of file SugDurationAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.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 71 of file SugDurationAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java Duration value.
value | object of type Duration |
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 61 of file SugDurationAttribute.java.