4A Server -
2.0
|
Class representing attribute of type DateTime. More...
Protected Member Functions | |
String | xmlFormatValue () |
Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute | |
String | getCommentXmlPart (boolean proto11) |
String | xmlFormatValue () |
Additional Inherited Members | |
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 DateTime.
Class representing attribute of type DateTime
Definition at line 30 of file DateTimeAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 107 of file DateTimeAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 38 of file DateTimeAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses provided value and sets that value as a value of attribute
value | Date time value in format according to RFC 3339 |
Definition at line 80 of file DateTimeAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java Date value.
value | new value of the attribute |
Definition at line 48 of file DateTimeAttribute.java.
|
protected |
Converts date to string in format according to RFC 3339
Definition at line 58 of file DateTimeAttribute.java.