4A Server -
2.0
|
Class representing attribute of type NestedAnnotation. 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 NestedAnnotation.
Class representing attribute of type NestedAnnotation
Definition at line 37 of file NestedAnnotationAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.NestedAnnotationAttribute | ( | ) |
Constructor
Definition at line 42 of file NestedAnnotationAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.NestedAnnotationAttribute | ( | String | name, |
Annotation | nestedAnnotation, | ||
Annotation | refAnnotation | ||
) |
Constructor
name | Name of the attribute |
nestedAnnotation | Value of the attribute |
refAnnotation | Annotation to which this attribute belongs. |
Definition at line 52 of file NestedAnnotationAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 286 of file NestedAnnotationAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 65 of file NestedAnnotationAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses provided value and sets that value as a value of attribute
This method should not be used, because this type of attribute is processed in MessageProcessor.
value | new value of the attribute in raw form from XML |
Definition at line 94 of file NestedAnnotationAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.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 75 of file NestedAnnotationAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.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 107 of file NestedAnnotationAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.NestedAnnotationAttribute.toXMLStringWHV2 | ( | String | ontologyUri | ) |
Returns serialized informations about attribute of annotation in XML for protocol v. 2.0 without header (target and attribute specification triples)
ontologyUri | URI of attribute in ontology |
Definition at line 170 of file NestedAnnotationAttribute.java.