public class XEnumLiteralImpl extends XNamedElementImpl implements XEnumLiteral
The following features are implemented:
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
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_EDEFAULTannotationseAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
XEnumLiteralImpl() |
| 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) |
XEnum |
getEnum() |
java.lang.String |
getLiteral() |
int |
getValue() |
void |
setLiteral(java.lang.String newLiteral) |
void |
setValue(int newValue) |
java.lang.String |
toString() |
getName, setNamegetAnnotation, getAnnotationseAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, setNamegetAnnotation, getAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected static final int VALUE_EDEFAULT
Value' attribute.
getValue(),
Constant Field Valuesprotected int value
Value' attribute.
getValue()protected static final java.lang.String LITERAL_EDEFAULT
Literal' attribute.
getLiteral()protected java.lang.String literal
Literal' attribute.
getLiteral()protected EClass eStaticClass()
eStaticClass in class XNamedElementImplpublic int getValue()
getValue in interface XEnumLiteralXEnumLiteral.setValue(int),
XcorePackage.getXEnumLiteral_Value()public void setValue(int newValue)
setValue in interface XEnumLiteralnewValue - the new value of the 'Value' attribute.XEnumLiteral.getValue()public java.lang.String getLiteral()
getLiteral in interface XEnumLiteralXEnumLiteral.setLiteral(String),
XcorePackage.getXEnumLiteral_Literal()public void setLiteral(java.lang.String newLiteral)
setLiteral in interface XEnumLiteralnewLiteral - the new value of the 'Literal' attribute.XEnumLiteral.getLiteral()public XEnum getEnum()
getEnum in interface XEnumLiteralXcorePackage.getXEnumLiteral_Enum(),
XEnum.getLiterals()public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd in class XModelElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class XModelElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class XNamedElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class XNamedElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XNamedElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XNamedElementImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
toString in class XNamedElementImpl