4A Server -
2.0
|
Class representing attribute of type Binary. 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 Binary.
Class representing attribute of type Binary
Definition at line 27 of file BinaryAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.BinaryAttribute.getTypeOntologyUri | ( | ) |
Gets URI address in ontology for this type of attribute
Definition at line 89 of file BinaryAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.BinaryAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 45 of file BinaryAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.BinaryAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Converts string value, which should be encoded in base64 and sets its binary representation as attribute value
value | Value of attribute encoded in base64 |
Definition at line 57 of file BinaryAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.BinaryAttribute.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 35 of file BinaryAttribute.java.
|
protected |
Formats attribute value for XML.
Definition at line 76 of file BinaryAttribute.java.