4A Server -
2.0
|
Interface for SugBaseAttribute and AlternativeAttribuge. More...
Public Member Functions | |
String | getName () |
String | getSimpleType () |
void | setName (String name) |
Object | getValue () |
void | setValue (Object value) |
String | getTextValue () |
void | setPriority (Integer priority) |
void | setRefSecSuggestion (SecSuggestion value) |
Integer | getPriority () |
String | getStringValue () |
BigDecimal | getDecValue () |
Interface for SugBaseAttribute and AlternativeAttribuge.
Interface for SugBaseAttribute and AlternativeAttribuge.
Definition at line 25 of file SecAttribute.java.
BigDecimal cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getDecValue | ( | ) |
Gets attribute value of decimal
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getName | ( | ) |
Gets name of attribute
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute.
Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getPriority | ( | ) |
Gets attribute priority
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getSimpleType | ( | ) |
Gets name of simple type of attribute
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getStringValue | ( | ) |
Gets attribute value of string
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.
String cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getTextValue | ( | ) |
Gets attribute value of text
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute.
Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.getValue | ( | ) |
Gets value of the attribute
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugEntityAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugImageAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugUriAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugIntegerAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugPersonAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBooleanAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBinaryAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugAnyAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDecimalAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDateTimeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.setName | ( | String | name | ) |
Sets name of attribute
name | Name of attribute |
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.setPriority | ( | Integer | priority | ) |
Sets attribute priority
priority | Attribute priority |
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.setRefSecSuggestion | ( | SecSuggestion | value | ) |
Sets secSuggestion to which this attribute belongs
value | SecSuggestion to which this attribute belongs |
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.setValue | ( | Object | value | ) |
Sets value of the attribute. Value should already be a native java value.
For example, for attribute of type Integer value should be integer, not string. If you want to set value and parse that value, you should use setRawValue
value | new value of the attribute |
Implemented in cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.AlternativeAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugEntityAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugStringAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugGeoPointAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugImageAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugUriAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugIntegerAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugNestedAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugTextAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugPersonAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDurationAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDecimalAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugDateTimeAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBooleanAttribute, cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBinaryAttribute, and cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugAnyAttribute.