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

Method Summary
 Enumeration ast()
           
 org.eclipse.emf.common.util.EList<EnumerationLiteralCS> getOwnedLiterals()
          Returns the value of the 'Owned Literals' containment reference list.
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.ClassifierCS
getInstanceClassName, getOwnedConstraint, getOwner, getQualifier, setInstanceClassName, setOwner
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.TemplateableElementCS
getOwnedTemplateSignature, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.NamedElementCS
getName, setName
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.ModelElementCS
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.PivotableElementCS
getPivot, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Pivotable
resetPivot
 

Method Detail

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}'"