Interface EnumeratedScalar

All Superinterfaces:
AnnotatedElement, Element, org.eclipse.emf.ecore.EObject, IdentifiedElement, Member, org.eclipse.emf.common.notify.Notifier, Scalar, SpecializableTerm, Statement, Term, Type, VocabularyStatement
All Known Implementing Classes:
EnumeratedScalarImpl

public interface EnumeratedScalar extends Scalar
A representation of the model object 'Enumerated Scalar'. EnumeratedScalar is a scalar that represents a finite set of literals. It can specialize another enumerated scalar, but in this case, it cannot define its own literals; rather, it will simply be considered an alias to the specialized scalar.

The following features are supported:

See Also:
Generated:
Model:
annotation="https://tabatkins.github.io/bikeshed heading='Types'"
  • Method Details

    • getLiterals

      org.eclipse.emf.common.util.EList<Literal> getLiterals()
      Returns the value of the 'Literals' containment reference list. The list contents are of type Literal. The set of enumerated literals that are represented by this scalar
      Returns:
      the value of the 'Literals' containment reference list.
      See Also:
      Generated:
      Model:
      containment="true"