Public Member Functions | Package Functions

de.fraunhofer.isst.eastadl.datatypes.EnumerationValueType Interface Reference

List of all members.

Public Member Functions

Enumeration getBaseEnumeration ()
EList< String > getLiteralSemantics ()
void setBaseEnumeration (Enumeration value)
void setIsMultiValued (boolean value)

Package Functions

boolean isIsMultiValued ()

Detailed Description

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.

Author:
dprenzel

Member Function Documentation

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.

Returns:
the value of the 'Base Enumeration' reference.
See also:
setBaseEnumeration(Enumeration)
de.fraunhofer.isst.eastadl.datatypes.DatatypesPackage.getEnumerationValueType_BaseEnumeration() required="true"

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.

Returns:
the value of the 'Literal Semantics' attribute list.
See also:
de.fraunhofer.isst.eastadl.datatypes.DatatypesPackage.getEnumerationValueType_LiteralSemantics() lower="2" ordered="true"

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.

Returns:
the value of the 'Is Multi Valued' attribute.
See also:
setIsMultiValued(boolean)
de.fraunhofer.isst.eastadl.datatypes.DatatypesPackage.getEnumerationValueType_IsMultiValued() required="true"

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.

Parameters:
value the new value of the 'Base Enumeration' reference.
See also:
getBaseEnumeration()

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.

Parameters:
value the new value of the 'Is Multi Valued' attribute.
See also:
isIsMultiValued()

Implemented in de.fraunhofer.isst.eastadl.datatypes.impl.EnumerationValueTypeImpl.