public class EEnumLiteralImpl extends ENamedElementImpl implements EEnumLiteral
MinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected Enumerator |
generatedInstance
This stores the default or generated instance value.
|
protected Enumerator |
instance
The cached value of the '
Instance' attribute. |
protected static Enumerator |
INSTANCE_EDEFAULT
The default value of the '
Instance' attribute. |
protected java.lang.String |
literal
The cached value of the '
Literal' attribute. |
protected static java.lang.String |
LITERAL_EDEFAULT
The default value of the '
Literal' attribute. |
protected int |
value
The cached value of the '
Value' attribute. |
protected static int |
VALUE_EDEFAULT
The default value of the '
Value' attribute. |
name, NAME_EDEFAULTeAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGeContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETNILEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
EEnumLiteralImpl() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EEnum |
getEEnum() |
Enumerator |
getInstance() |
java.lang.String |
getLiteral()
Returns the value of the 'Literal' attribute.
|
java.lang.String |
getLiteralGen() |
int |
getValue() |
void |
setGeneratedInstance(boolean isGenerated) |
void |
setInstance(Enumerator newInstance)
Sets the value of the '
Instance' attribute. |
void |
setInstanceGen(Enumerator newInstance) |
void |
setLiteral(java.lang.String newLiteral) |
void |
setValue(int newValue) |
java.lang.String |
toString() |
java.lang.String |
toStringGen() |
eContents, eCrossReferences, getName, getNameGen, setNameeInvoke, eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozeneBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, setNamegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteNotificationRequiredprotected static final int VALUE_EDEFAULT
Value' attribute.
getValue(),
Constant Field Valuesprotected int value
Value' attribute.
getValue()protected static final Enumerator INSTANCE_EDEFAULT
Instance' attribute.
getInstance()protected Enumerator instance
Instance' attribute.
getInstance()protected static final java.lang.String LITERAL_EDEFAULT
Literal' attribute.
getLiteral()protected java.lang.String literal
Literal' attribute.
getLiteral()protected Enumerator generatedInstance
protected EClass eStaticClass()
eStaticClass in class ENamedElementImplpublic int getValue()
getValue in interface EEnumLiteralEEnumLiteral.setValue(int),
EcorePackage.getEEnumLiteral_Value()public void setValue(int newValue)
setValue in interface EEnumLiteralnewValue - the new value of the 'Value' attribute.EEnumLiteral.getValue()public Enumerator getInstance()
getInstance in interface EEnumLiteralEEnumLiteral.setInstance(Enumerator),
EcorePackage.getEEnumLiteral_Instance()public void setGeneratedInstance(boolean isGenerated)
public void setInstanceGen(Enumerator newInstance)
public void setInstance(Enumerator newInstance)
EEnumLiteralInstance' attribute.
setInstance in interface EEnumLiteralnewInstance - the new value of the 'Instance' attribute.EEnumLiteral.getInstance()public java.lang.String getLiteralGen()
public java.lang.String getLiteral()
EEnumLiteral
This is the literal, string value that represents this enumerator value.
This is used in persisting instances of enumerated type.
If set to null, it will return the name, instead.
getLiteral in interface EEnumLiteralEEnumLiteral.setLiteral(String),
EcorePackage.getEEnumLiteral_Literal()public void setLiteral(java.lang.String newLiteral)
setLiteral in interface EEnumLiteralnewLiteral - the new value of the 'Literal' attribute.EEnumLiteral.getLiteral()public EEnum getEEnum()
getEEnum in interface EEnumLiteralEcorePackage.getEEnumLiteral_EEnum(),
EEnum.getELiterals()public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd in class EModelElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class EModelElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ENamedElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
ENamedElementImpltoString in class ENamedElementImplpublic java.lang.String toStringGen()
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature