Public Member Functions | |
Enumeration | getBaseEnumeration () |
EList< String > | getLiteralSemantics () |
void | setBaseEnumeration (Enumeration value) |
void | setIsMultiValued (boolean value) |
Package Functions | |
boolean | isIsMultiValued () |
EnumerationValueType (from Datatypes)
Generalizations
ValueType (from Datatypes)
Description
The EnumerationValueType is a specific ValueType applicable for Enumerations. It provides the possibility to describe semantics of the baseEnumeration's literals and the information, if multiple values of the baseEnumeration may be selected or not.
Attributes
isMultiValued : Boolean [1]
- This boolean attribute is true, if multiple enumeration values can be selected. It is false, if only one enumeration value is allowed to be selected.
literalSemantics : String [2..*]
- The specific semantics for each literal of the baseEnumeration.
Associations
baseEnumeration : Enumeration [1]
The enumeration that the EnumerationValueType points to.
Constraints
No additional constraints
Semantics
The EnumerationValueType adds the ability to describe semantics of the baseEnumeration's literals and if multiple values of the baseEnumeration may be selected or not.
Enumeration de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType.getBaseEnumeration | ( | ) |
Returns the value of the 'Base Enumeration' reference.
baseEnumeration : Enumeration [1]
The enumeration that the EnumerationValueType points to.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.
EList<String> de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType.getLiteralSemantics | ( | ) |
Returns the value of the 'Literal Semantics' attribute list. The list contents are of type java.lang.String.
literalSemantics : String [2..*]
The specific semantics for each literal of the baseEnumeration.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.
boolean de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType.isIsMultiValued | ( | ) | [package] |
Returns the value of the 'Is Multi Valued' attribute.
isMultiValued : Boolean [1]
This boolean attribute is true, if multiple enumeration values can be selected. It is false, if only one enumeration value is allowed to be selected.
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType.setBaseEnumeration | ( | Enumeration | value | ) |
Sets the value of the 'Base Enumeration' reference.
baseEnumeration : Enumeration [1]
The enumeration that the EnumerationValueType points to.
value | the new value of the 'Base Enumeration' reference. |
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.
void de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType.setIsMultiValued | ( | boolean | value | ) |
Sets the value of the 'Is Multi Valued' attribute.
isMultiValued : Boolean [1]
This boolean attribute is true, if multiple enumeration values can be selected. It is false, if only one enumeration value is allowed to be selected.
value | the new value of the 'Is Multi Valued' attribute. |
Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.