org.eclipse.ocl.examples.pivot
Interface EnumerationLiteral

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Implementing Classes:
EnumerationLiteralImpl

public interface EnumerationLiteral
extends NamedElement

A representation of the model object 'Enumeration Literal'. An enumeration literal is a value of an enumeration.

The following features are supported:

See Also:
PivotPackage.getEnumerationLiteral()
Generated
Model

Method Summary
 Enumeration getEnumeration()
          Returns the value of the 'Enumeration' container reference.
 java.math.BigInteger getValue()
          Returns the value of the 'Value' attribute.
 void setEnumeration(Enumeration value)
          Sets the value of the 'Enumeration' container reference.
 void setValue(java.math.BigInteger value)
          Sets the value of the 'Value' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getEnumeration

Enumeration getEnumeration()
Returns the value of the 'Enumeration' container reference. It is bidirectional and its opposite is 'Owned Literal'. The Enumeration that this EnumerationLiteral is a member of.

Returns:
the value of the 'Enumeration' container reference.
See Also:
setEnumeration(Enumeration), PivotPackage.getEnumerationLiteral_Enumeration(), Enumeration.getOwnedLiterals()
Generated
Model
opposite="ownedLiteral" transient="false" ordered="false"

setEnumeration

void setEnumeration(Enumeration value)
Sets the value of the 'Enumeration' container reference.

Parameters:
value - the new value of the 'Enumeration' container reference.
See Also:
getEnumeration()
Generated

getValue

java.math.BigInteger getValue()
Returns the value of the 'Value' attribute. The default value is "0".

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(BigInteger), PivotPackage.getEnumerationLiteral_Value()
Generated
Model
default="0" dataType="org.eclipse.ocl.examples.pivot.Integer" ordered="false"

setValue

void setValue(java.math.BigInteger value)
Sets the value of the 'Value' attribute.

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