public interface EEnum extends EDataType
The following features are supported:
EcorePackage.getEEnum()EDataType.Internal| Modifier and Type | Method and Description |
|---|---|
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. |
<any> |
getELiterals()
Returns the value of the 'ELiterals' containment reference list.
|
isSerializable, setSerializablegetClassifierID, getDefaultValue, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeNamegetName, setNamegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset<any> 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 © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature