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.
 
Methods inherited from interface de.tuberlin.cs.cis.ocl.model.check.ClassifierDescriptor
equals, getAssociation, getAttribute, getName, getOclSupertype, getOperation, isStateDefined, isSubtypeOf
 

Method Detail

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.