|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EEnum
A representation of the model object 'EEnum'.
The following features are supported:
EcorePackage.getEEnum()
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EDataType |
---|
EDataType.Internal |
Method Summary | |
---|---|
EEnumLiteral |
getEEnumLiteral(int value)
Returns the enum literal with the given value, or null . |
EEnumLiteral |
getEEnumLiteral(java.lang.String name)
Returns the enum literal with the given name, or null . |
EEnumLiteral |
getEEnumLiteralByLiteral(java.lang.String literal)
Returns the enum literal with the given literal value, or null . |
EList<EEnumLiteral> |
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, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeName |
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
EList<EEnumLiteral> getELiterals()
EEnumLiteral
.
It is bidirectional and its opposite is 'EEnum
'.
It represents the enumerators of the enumeration.
EcorePackage.getEEnum_ELiterals()
,
EEnumLiteral.getEEnum()
EEnumLiteral getEEnumLiteral(java.lang.String name)
null
.
name
- name in question.
null
.
EEnumLiteral getEEnumLiteral(int value)
null
.
The values may not be unique; it returns the first.
value
- value in question.
null
.
EEnumLiteral getEEnumLiteralByLiteral(java.lang.String literal)
null
.
literal
- literal in question.
null
.
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |