4A Server -
2.0
|
Abstract class representing more complex attribute of suggestion. More...
Protected Member Functions | |
String | getXmlStart (boolean withOntology) |
String | getXmlEnd () |
abstract String | getXmlBody () |
Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute | |
String | getCommentXmlPart (boolean proto11) |
String | xmlFormatValue () |
Additional Inherited Members | |
Protected Attributes inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute | |
Integer | id |
int | suggestion |
String | name |
String | simpleType |
Integer | type |
String | uri |
String | nestedSugg |
String | nestedAnnot |
Integer | linkedSugg |
Integer | linkedAnnot |
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 |
Suggestion | refSuggestion |
AnnotType | attributeType |
Suggestion | nestedSuggestion |
Annotation | nestedAnnotation |
Suggestion | linkedSuggestion |
Annotation | linkedAnnotation |
User | user |
List < SugEntityAdditionalAttribute > | entityAdditionalAttributes |
Static Protected Attributes inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute | |
static final long | serialVersionUID = 1L |
Abstract class representing more complex attribute of suggestion.
Abstract class representing more complex attribute of suggestion
Definition at line 27 of file SugStructuredAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute.getCommentXmlPart | ( | boolean | proto11 | ) |
Helper function,which returns XML part for comments.
proto11 | If true, protocol version is greater then 1.0 |
Definition at line 36 of file SugStructuredAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 189 of file SugStructuredAttribute.java.
|
abstract |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
|
abstractprotected |
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.
|
protected |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
This method returns the ending element for the a:attribute element.
Definition at line 95 of file SugStructuredAttribute.java.
|
protected |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
This method returns the starting element for the a:attribute element.
withOntology | If true, URI in ontology will be serialized, if false, it will be omitted |
Definition at line 60 of file SugStructuredAttribute.java.
boolean cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute.isStructured | ( | ) |
Checks if attribute is structured. Structured attribute is for example GeoPointAttribute
Definition at line 156 of file SugStructuredAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses provided value and sets that value as a value of attribute
This method should not be used because structured attributes are not represented by single value.
value | new value of the attribute in raw form from XML |
Definition at line 145 of file SugStructuredAttribute.java.
|
abstract |
Parses provided values and sets that values as a values of the attribute
values | New values of the attribute in raw forms from XML |
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute.toXMLString | ( | boolean | proto11, |
boolean | withOntology | ||
) |
Returns serialized informations about attribute of annotation in XML
proto11 | If true, protocol version is greater then 1.0 |
withOntology | If true, URI in ontology will be serialized, if false, it will be omitted |
Definition at line 125 of file SugStructuredAttribute.java.