Interface EnumDegree

All Superinterfaces:
org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, DataTypeDegree, DegreeOfFreedomInstance, EObject, org.palladiosimulator.pcm.core.entity.NamedElement, Notifier, org.palladiosimulator.pcm.PCMBaseClass, org.palladiosimulator.pcm.PCMClass, UnorderedDegree
All Known Implementing Classes:
EnumDegreeImpl

public interface EnumDegree extends UnorderedDegree
A representation of the model object 'Enum Degree'. Construct to model a special type of enumerated degree of freedom where the domain of values is a subset of an enumeration in the metamodel. Each concrete subclass of EnumDegree must model the domain explicitly (refer to the concrete Enum to choose from). This class is actually superflous as it does not add any properties to its subclasses. It is just used to conceptually group this type of degree of freedom. Maybe it can be used to implement some OCL checks (with reflection?).

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
abstract="true"
  • Method Details

    • getEnumeration

      EEnum getEnumeration()
      Returns the value of the 'Enumeration' reference.

      If the meaning of the 'Enumeration' reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Enumeration' reference.
      See Also:
      Generated class or method.
      EMF model class or method.
      ordered="false"
    • setEnumeration

      void setEnumeration(EEnum value)
      Sets the value of the 'Enumeration' reference.
      Parameters:
      value - the new value of the 'Enumeration' reference.
      See Also:
      Generated class or method.