Interface Enumeration

All Superinterfaces:
BaseElement, Classifier, Cloneable, Comparable, DataType, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, RedefinableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, TemplateableElement, Type

public interface Enumeration extends DataType
A representation of the model object 'Enumeration'.

An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.

The following features are supported:

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

    • getOwnedLiteral

      List<EnumerationLiteral> getOwnedLiteral()
      Returns the value of the 'Owned Literal' containment reference list. The list contents are of type EnumerationLiteral. It is bidirectional and its opposite is 'Enumeration'. The ordered set of literals owned by this Enumeration.
      Returns:
      the value of the 'Owned Literal' containment reference list.
      See Also:
      Model:
      opposite="enumeration" containment="true" resolveProxies="true"
      Generated:
    • hasOwnedLiteral

      boolean hasOwnedLiteral() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: