|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'EEnum Literal'.
EcorePackage.getEEnumLiteral()
Method Summary | |
EEnum |
getEEnum()
Returns the value of the 'EEnum' container reference. |
Enumerator |
getInstance()
Returns the value of the 'Instance' attribute |
int |
getValue()
Returns the value of the 'Value' attribute |
void |
setInstance(Enumerator value)
Sets the value of the ' Instance ' attribute |
void |
setValue(int value)
Sets the value of the ' Value ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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.emf.common.util.Enumerator |
getName |
Method Detail |
public int getValue()
It represents the int
value of an enumerator.
getValue
in interface Enumerator
setValue(int)
,
EcorePackage.getEEnumLiteral_Value()
public void setValue(int value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
public Enumerator getInstance()
It represents the actual Java instance value.
setInstance(Enumerator)
,
EcorePackage.getEEnumLiteral_Instance()
public void setInstance(Enumerator value)
Instance
' attribute.
value
- the new value of the 'Instance' attribute.getInstance()
public EEnum getEEnum()
ELiterals
'.
It represents the contain enumeration.
EcorePackage.getEEnumLiteral_EEnum()
,
EEnum.getELiterals()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |