Interface EnumerationLiteral

All Superinterfaces:
BaseElement, Cloneable, Comparable, DeployedArtifact, DeploymentTarget, Element, org.eclipse.emf.ecore.EObject, InstanceSpecification, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface EnumerationLiteral extends InstanceSpecification
A representation of the model object 'Enumeration Literal'.

An EnumerationLiteral is a user-defined data value for an Enumeration.

The following features are supported:

See Also:
Model:
annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • getEnumeration

      @CheckForNull Enumeration getEnumeration()
      Returns the value of the 'Enumeration' container reference. It is bidirectional and its opposite is 'Owned Literal'. The Enumeration that this EnumerationLiteral is a member of.
      Returns:
      the value of the 'Enumeration' container reference.
      See Also:
      Model:
      opposite="ownedLiteral" required="true" transient="false" ordered="false"
      Generated:
    • setEnumeration

      void setEnumeration(@CheckForNull Enumeration value)
      Sets the value of the 'Enumeration' container reference.
      Parameters:
      value - the new value of the 'Enumeration' container reference.
      See Also:
      Generated:
    • getClassifier

      List<Classifier> getClassifier()
      Returns the value of the 'Classifier' reference list. The list contents are of type Enumeration. It is bidirectional and its opposite is 'enumeration Literal Of Classifier'. The classifier of this EnumerationLiteral derived to be equal to its Enumeration.
      Specified by:
      getClassifier in interface InstanceSpecification
      Returns:
      the value of the 'Classifier' reference list.
      See Also:
      Model:
      opposite="_enumerationLiteralOfClassifier" transient="true" changeable="false" volatile="true" derived="true"
      Generated: