4A Server -
2.0
|
Class representing attribute of type Text. 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 Text.
Class representing attribute of type Text.
Definition at line 29 of file TextAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.getCommentXmlPart | ( | boolean | proto11 | ) |
Helper function,which returns XML part for comments.
proto11 | If true, protocol version is greater then 1.0 |
Definition at line 68 of file TextAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 128 of file TextAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 37 of file TextAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.setRawValue | ( | String | value | ) |
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 57 of file TextAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java value.
value | New value of the attribute |
Definition at line 47 of file TextAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.TextAttribute.toXMLString | ( | boolean | proto11, |
boolean | tmpIdForNested, | ||
boolean | withOntology | ||
) |
Returns serialized informations about attribute of annotation in XML
proto11 | If true, protocol version is greater then 1.0 |
tmpIdForNested | If true, nested annotations will have attribute tmpId |
withOntology | If true, URI in ontology will be serialized, if false, it will be omitted |
Definition at line 85 of file TextAttribute.java.