public class XEnumLiteralImpl extends XNamedElementImpl implements XEnumLiteral
The following features are implemented:
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.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_EDEFAULT
annotations
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_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, setName
getAnnotation, getAnnotations
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected 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 XNamedElementImpl
public int getValue()
getValue
in interface XEnumLiteral
XEnumLiteral.setValue(int)
,
XcorePackage.getXEnumLiteral_Value()
public void setValue(int newValue)
setValue
in interface XEnumLiteral
newValue
- the new value of the 'Value' attribute.XEnumLiteral.getValue()
public java.lang.String getLiteral()
getLiteral
in interface XEnumLiteral
XEnumLiteral.setLiteral(String)
,
XcorePackage.getXEnumLiteral_Literal()
public void setLiteral(java.lang.String newLiteral)
setLiteral
in interface XEnumLiteral
newLiteral
- the new value of the 'Literal' attribute.XEnumLiteral.getLiteral()
public XEnum getEnum()
getEnum
in interface XEnumLiteral
XcorePackage.getXEnumLiteral_Enum()
,
XEnum.getLiterals()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class XModelElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XModelElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XNamedElementImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XNamedElementImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XNamedElementImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XNamedElementImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class XNamedElementImpl