4A Server -
2.0
|
Class representing attribute of type String.. 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 String..
Class representing attribute of type String. Also provides functions for other string based attributes such as ImageUri, URI, ...
Definition at line 35 of file StringAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.StringAttribute | ( | ) |
Constructor
Definition at line 40 of file StringAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.StringAttribute | ( | String | name, |
String | value, | ||
Annotation | refAnnotation | ||
) |
Constructor
name | Name of the attribute |
value | Value of the attribute |
refAnnotation | Annotation to which this attribute belongs |
Definition at line 50 of file StringAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 103 of file StringAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 73 of file StringAttribute.java.
boolean cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.isEmpty | ( | ) |
Checks if attribute value is empty or default value
Definition at line 63 of file StringAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.setRawValue | ( | String | value | ) |
For string based attributes parseValue is exactly the same as setValue
value | value to be parsed |
Definition at line 93 of file StringAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.StringAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java String value.
value | New value of the attribute |
Definition at line 83 of file StringAttribute.java.