org.eclipse.ocl.examples.xtext.base.basecs
Interface EnumerationLiteralCS

All Superinterfaces:
ElementCS, org.eclipse.emf.ecore.EObject, ModelElementCS, Nameable, NamedElementCS, org.eclipse.emf.common.notify.Notifier, Pivotable, PivotableElementCS, PivotObject, VisitableCS
All Known Implementing Classes:
EnumerationLiteralCSImpl

public interface EnumerationLiteralCS
extends NamedElementCS

A representation of the model object 'Enum Literal CS'.

The following features are supported:

See Also:
BaseCSPackage.getEnumerationLiteralCS()
Generated
Model

Method Summary
 EnumerationLiteral ast()
           
 int getValue()
          Returns the value of the 'Value' attribute.
 void setValue(int value)
          Sets the value of the 'Value' attribute.
 
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.xtext.base.basecs.ElementCS
accept, getDescription, getLogicalParent
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.util.VisitableCS
eClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Pivotable
resetPivot
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getValue

int getValue()
Returns the value of the 'Value' attribute.

If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Value' attribute.
See Also:
setValue(int), BaseCSPackage.getEnumerationLiteralCS_Value()
Generated
Model

setValue

void setValue(int value)
Sets the value of the 'Value' attribute.

Parameters:
value - the new value of the 'Value' attribute.
See Also:
getValue()
Generated

ast

EnumerationLiteral ast()

Generated
Model
required="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL body='ocl::EnumerationLiteral {\n\t\t\t\tname = name\n\t\t\t}'"