de.tuberlin.cs.cis.ocl.model.check
Interface EnumerationTypeDescriptor
- All Superinterfaces:
- ClassifierDescriptor
- All Known Implementing Classes:
- ExampleEnumDesc, MofEnumerationType
- public interface EnumerationTypeDescriptor
- extends ClassifierDescriptor
Describes an enumeration type of the model. An enumeration type is
a data type whose values are the elements of a finite set of
enumerators. The enumeration type is specified by defining the
ordered set of enumeration labels.
- Author:
- fchabar
Method Summary |
java.lang.String[] |
getLabels()
Returns the labels of the enumeration type. |
getLabels
public java.lang.String[] getLabels()
- Returns the labels of the enumeration type. The label elements
must be unique.
- Returns:
- the labels of the enumeration type.