4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute Class Reference

Class representing attribute of type Time. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute:
Collaboration graph

Public Member Functions

void setRawValue (String value) throws IllegalArgumentException
 
String getTypeOntologyUri ()
 
- Public Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute
Object getValue ()
 
void setValue (Object value)
 
void setRawValue (String value) throws IllegalArgumentException
 
String getTypeOntologyUri ()
 
- Public Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute
 BaseAttribute ()
 
 BaseAttribute (Integer id)
 
String getTypeOntologyUri ()
 
String toXMLString (boolean proto11, boolean tmpIdForNested, boolean withOntology)
 
String getValueType ()
 
String getTypeUriV2 ()
 
String toXMLStringV2 ()
 
String toSXMLString ()
 
EntityAdditionalAttribute toEntityAdditionalAttribute ()
 
int compareTo (Object o)
 
boolean contentEquals (Object obj)
 
boolean contentEquals (Object obj, boolean refAnnot)
 
abstract Object getValue ()
 
abstract void setValue (Object value)
 
abstract void setRawValue (String value) throws IllegalArgumentException
 
boolean isEmpty ()
 
boolean equals (Object object)
 
String getComment ()
 
void setComment (String comment)
 
String toString ()
 
int hashCode ()
 
String getName ()
 
void setName (String name)
 
String getSimpleType ()
 
void setSimpleType (String simpleType)
 
int getAnnotation ()
 
void setAnnotation (int annotation)
 
Annotation getRefAnnotation ()
 
void setRefAnnotation (Annotation value)
 
AnnotType getAttributeType ()
 
void setAttributeType (AnnotType attributeType)
 
Annotation getNestedAnnotation ()
 
String getNestedID ()
 
void setNestedID (String nest)
 
void setLinkedID (int link)
 
void setNestedAnnotation (Annotation nestedAnnotation)
 
Annotation getLinkedAnnotation ()
 
void setLinkedAnnotation (Annotation linkedAnnotation)
 
Integer getId ()
 
void setId (Integer id)
 
Integer getType ()
 
void setType (Integer type)
 
boolean isStructured ()
 
void setUser (User user)
 
void setUri (String uri)
 
String getUri ()
 
void setUriInOntology (String uriInOntology)
 
String getUriInOntology ()
 
String getEntityType ()
 
void setEntityType (String entityType)
 
String getEntityVisualURI ()
 
void setEntityVisualURI (String entityVisualURI)
 
Boolean getBoolValue ()
 
byte[] getBinValue ()
 
Date getDateValue ()
 
BigDecimal getDecValue ()
 
BigDecimal getGeoLat ()
 
BigDecimal getGeoLong ()
 
Integer getIntValue ()
 
String getStringValue ()
 
String getTextValue ()
 
void setTextValue (String textValue)
 
Integer getUserValue ()
 
Integer getPriority ()
 
void setPriority (Integer priority)
 
List< EntityAdditionalAttributegetEntityAdditionalAttributes ()
 
String toJSONString ()
 
void updateFromBaseAttributeAll (BaseAttribute ba)
 
void updateFromSugBaseAttributeAll (SugBaseAttribute ba)
 

Protected Member Functions

String xmlFormatValue ()
 
- Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.DateTimeAttribute
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< EntityAdditionalAttributeentityAdditionalAttributes
 
- Static Protected Attributes inherited from cz.vutbr.fit.knot.annotations.entity.attribute.BaseAttribute
static final long serialVersionUID = 1L
 

Detailed Description

Class representing attribute of type Time.

Class representing attribute of type Time

Definition at line 31 of file TimeAttribute.java.

Member Function Documentation

String cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute.getTypeOntologyUri ( )

Gets URI addres in ontology for this type of attribute

Returns
Return URI addres in ontology for this type of attribute.

Definition at line 93 of file TimeAttribute.java.

void cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute.setRawValue ( String  value) throws IllegalArgumentException

Parses provided value and sets that value as a value of attribute

Parameters
valueTime value in format according to RFC 3339

Definition at line 39 of file TimeAttribute.java.

String cz.vutbr.fit.knot.annotations.entity.attribute.TimeAttribute.xmlFormatValue ( )
protected

Converts time to string in format according to RFC 3339

Returns
Returns time in string in format according to RFC 3339

Definition at line 76 of file TimeAttribute.java.


The documentation for this class was generated from the following file: