4A Server -
2.0
|
Class representing attribute of type GeoPoint. More...
Protected Member Functions | |
String | getXmlBody () |
Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStructuredAttribute | |
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 |
Class representing attribute of type GeoPoint.
Class representing attribute of type GeoPoint
Definition at line 38 of file SugGeoPointAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.SugGeoPointAttribute | ( | ) |
Constructor
Definition at line 42 of file SugGeoPointAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.SugGeoPointAttribute | ( | String | name, |
BigDecimal | geoLat, | ||
BigDecimal | geoLong, | ||
Suggestion | refSuggestion | ||
) |
Constructor for GeoPointAttribute
name | Name of attribute |
geoLat | Latitude |
geoLong | Longitude |
refSuggestion | Suggestion to which this attribute belongs |
Definition at line 53 of file SugGeoPointAttribute.java.
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.SugGeoPointAttribute | ( | String | name, |
BigDecimal | geoLat, | ||
BigDecimal | geoLong, | ||
Suggestion | refSuggestion, | ||
Integer | priority | ||
) |
Constructor for GeoPointAttribute
name | Name of attribute |
geoLat | Latitude |
geoLong | Longitude |
refSuggestion | Suggestion to which this attribute belongs |
priority | Priority of attribute |
Definition at line 70 of file SugGeoPointAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 244 of file SugGeoPointAttribute.java.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.getValue | ( | ) |
Gets value of the attribute
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 85 of file SugGeoPointAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.getXmlAttributeName | ( | ) |
XML of the structured attribute looks like this:
* <a:attribute ...... > * <nested> * <value1>...</value1> * <value2>...</value2> * </nested> * </a:attribute> *
Definition at line 162 of file SugGeoPointAttribute.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 117 of file SugGeoPointAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.setRawValues | ( | Object | values | ) | throws IllegalArgumentException |
Parses provided values and sets that values as a values of the attribute
values | New values of the attribute in raw forms from XML |
Definition at line 133 of file SugGeoPointAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.setStringValue | ( | String | latitude, |
String | longitude | ||
) | throws IllegalArgumentException |
Sets latitude and longitude values passed as strings
latitude | Latitude value in string form |
longitude | Longitude value in string form |
Definition at line 173 of file SugGeoPointAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.setStringValue | ( | String | GPointEncoded | ) | throws IllegalArgumentException |
Parses provided string value and sets that value as a values of the attribute
This method can be used for parse value from string received in JSON object
GPointEncoded | New values of the attribute in String |
Definition at line 197 of file SugGeoPointAttribute.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java value.
value | New value of the attribute |
Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.
Definition at line 95 of file SugGeoPointAttribute.java.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute.toString | ( | ) |
Encode values of the attribute to one string
This method can be used for generating value for JSON object
Definition at line 226 of file SugGeoPointAttribute.java.