org.eclipse.ocl.examples.xtext.base.basecs
Interface EnumerationCS
- All Superinterfaces:
- ClassifierCS, ElementCS, org.eclipse.emf.ecore.EObject, ModelElementCS, Nameable, NamedElementCS, NamespaceCS, org.eclipse.emf.common.notify.Notifier, Pivotable, PivotableElementCS, PivotObject, TemplateableElementCS, TypeCS, VisitableCS
- All Known Implementing Classes:
- EnumerationCSImpl
public interface EnumerationCS
- extends ClassifierCS, NamespaceCS
A representation of the model object 'Enum CS'.
The following features are supported:
- See Also:
BaseCSPackage.getEnumerationCS()
- Generated
- Model
getOwnedLiterals
org.eclipse.emf.common.util.EList<EnumerationLiteralCS> getOwnedLiterals()
- Returns the value of the 'Owned Literals' containment reference list.
The list contents are of type
EnumerationLiteralCS
.
If the meaning of the 'Owned Literals' containment reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Owned Literals' containment reference list.
- See Also:
BaseCSPackage.getEnumerationCS_OwnedLiterals()
- Generated
- Model
- containment="true"
ast
Enumeration ast()
-
- Specified by:
ast
in interface ClassifierCS
- Generated
- Model
- required="true"
annotation="http://www.eclipse.org/emf/2002/Ecore/OCL body='ocl::Enumeration {\n\t\t\t\tname = name,\n\t\t\t\townedLiteral = ownedLiterals.ast()\n\t\t\t}'"