|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'EEnum'.
The following features are supported:
EcorePackage.getEEnum()
Method Summary | |
EEnumLiteral |
getEEnumLiteral(int value)
Returns the enum literal with the given value, or null .
|
EEnumLiteral |
getEEnumLiteral(String name)
Returns the enum literal with the given name, or null . |
EEnumLiteral |
getEEnumLiteralByLiteral(String literal)
Returns the enum literal with the given literal value, or null . |
EList |
getELiterals()
Returns the value of the 'ELiterals' containment reference list. |
Methods inherited from interface org.eclipse.emf.ecore.EDataType |
isSerializable, setSerializable |
Methods inherited from interface org.eclipse.emf.ecore.EClassifier |
getClassifierID, getDefaultValue, getEPackage, getInstanceClass, getInstanceClassName, isInstance, setInstanceClass, setInstanceClassName |
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 |
Method Detail |
public EList getELiterals()
EEnumLiteral
.
It is bidirectional and its opposite is 'EEnum
'.
It represents the enumerators of the enumeration.
EcorePackage.getEEnum_ELiterals()
,
EEnumLiteral.getEEnum()
public EEnumLiteral getEEnumLiteral(String name)
null
.
name
- name in question.
null
.
public EEnumLiteral getEEnumLiteral(int value)
null
.
The values may not be unique; it returns the first.
value
- value in question.
null
.
public EEnumLiteral getEEnumLiteralByLiteral(String literal)
null
.
literal
- literal in question.
null
.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |