4A Server -
2.0
|
Class representing attribute of type Person. More...
Protected Member Functions | |
String | getXmlBody () |
Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.entity.attribute.StructuredAttribute | |
String | getXmlStart (boolean withOntology) |
String | getXmlEnd () |
abstract String | getXmlBody () |
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 Person.
Class representing attribute of type Person (deprecated type)
Definition at line 34 of file PersonAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.PersonAttribute | ( | ) |
Constructor
Definition at line 39 of file PersonAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.PersonAttribute | ( | String | name, |
User | person, | ||
Annotation | refAnnotation | ||
) |
Constructor of attribute of type Person
name | Name of attribute |
person | Value of attribute person (user) |
refAnnotation | Annotation to which this attribute belongs |
Definition at line 49 of file PersonAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 134 of file PersonAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 62 of file PersonAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.getXmlAttributeName | ( | ) |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
Definition at line 124 of file PersonAttribute.java.
|
protected |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
This method returns the content of the a:attribute element with all nested elements.
Definition at line 93 of file PersonAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.setRawValues | ( | Object | values | ) | 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.
values | new value of the attribute in raw form from XML |
Definition at line 106 of file PersonAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.PersonAttribute.setValue | ( | Object | person | ) |
Sets value of the attribute. Value should already be a native java value.
person | New value of the attribute |
Definition at line 72 of file PersonAttribute.java.