4A Server -
2.0
|
Class representing attribute of type Integer. 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 Integer.
Class representing attribute of type Integer
Definition at line 33 of file IntegerAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.IntegerAttribute | ( | ) |
Constructor
Definition at line 38 of file IntegerAttribute.java.
cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.IntegerAttribute | ( | String | name, |
Integer | value, | ||
Annotation | refAnnotation | ||
) |
Constructor
name | Name of attribute |
value | Value of attribute |
refAnnotation | Annotation to which this attribute belongs |
Definition at line 48 of file IntegerAttribute.java.
String cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.getTypeOntologyUri | ( | ) |
Gets URI addres in ontology for this type of attribute
Definition at line 102 of file IntegerAttribute.java.
Object cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.getValue | ( | ) |
Gets value of the attribute
Definition at line 62 of file IntegerAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.setRawValue | ( | String | value | ) | throws IllegalArgumentException |
Parses integer represented by string value and sets it as attribute value
value | String with value of type Integer |
Definition at line 84 of file IntegerAttribute.java.
void cz.vutbr.fit.knot.annotations.entity.attribute.IntegerAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java Integer value.
value | New value of the attribute |
Definition at line 72 of file IntegerAttribute.java.