4A Server -
2.0
|
Class representing attribute of type Duration. More...
Additional Inherited Members | |
Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute | |
String | getCommentXmlPart (boolean proto11) |
String | xmlFormatValue () |
Protected Attributes inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute | |
Integer | id |
int | annotation |
String | name |
String | simpleType |
Integer | type |
String | uri |
String | nested |
Integer | linked |
String | stringValue |
String | textValue |
Date | dateValue |
Integer | intValue |
BigDecimal | decValue |
Boolean | boolVAlue |
byte[] | binValue |
Integer | userValue |
BigDecimal | geoLat |
BigDecimal | geoLong |
String | entityType |
String | entityVisualURI |
String | comment |
Integer | priority |
Annotation | refAnnotation |
AnnotType | attributeType |
Annotation | nestedAnnotation |
Annotation | linkedAnnotation |
User | user |
List< EntityAdditionalAttribute > | entityAdditionalAttributes |
Static Protected Attributes inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute | |
static final long | serialVersionUID = 1L |
Class representing attribute of type Duration.
Class representing attribute of type Duration
Definition at line 33 of file DurationAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.getStringValue | ( | ) |
Returns string representation of duration according to RFC 3339
Definition at line 61 of file DurationAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 127 of file DurationAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 41 of file DurationAttribute.java.
boolean cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.isEmpty | ( | ) |
Checks if attribute value is empty or default value
Definition at line 117 of file DurationAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.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 81 of file DurationAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.DurationAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java Duration value.
value | object of type Duration |
Definition at line 71 of file DurationAttribute.java.