org.eclipse.emf.ecore.xcore.impl
Class XEnumLiteralImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
org.eclipse.emf.ecore.xcore.impl.XEnumLiteralImpl
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, XEnumLiteral, XModelElement, XNamedElement
public class XEnumLiteralImpl
- extends XNamedElementImpl
- implements XEnumLiteral
An implementation of the model object 'XEnum Literal'.
The following features are implemented:
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
VALUE_EDEFAULT
protected static final int VALUE_EDEFAULT
- The default value of the '
Value
' attribute.
- See Also:
getValue()
,
Constant Field Values
value
protected int value
- The cached value of the '
Value
' attribute.
- See Also:
getValue()
LITERAL_EDEFAULT
protected static final java.lang.String LITERAL_EDEFAULT
- The default value of the '
Literal
' attribute.
- See Also:
getLiteral()
literal
protected java.lang.String literal
- The cached value of the '
Literal
' attribute.
- See Also:
getLiteral()
XEnumLiteralImpl
protected XEnumLiteralImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XNamedElementImpl
getValue
public int getValue()
-
- Specified by:
getValue
in interface XEnumLiteral
- Returns:
- the value of the 'Value' attribute.
- See Also:
XEnumLiteral.setValue(int)
,
XcorePackage.getXEnumLiteral_Value()
setValue
public void setValue(int newValue)
-
- Specified by:
setValue
in interface XEnumLiteral
- Parameters:
newValue
- the new value of the 'Value' attribute.- See Also:
XEnumLiteral.getValue()
getLiteral
public java.lang.String getLiteral()
-
- Specified by:
getLiteral
in interface XEnumLiteral
- Returns:
- the value of the 'Literal' attribute.
- See Also:
XEnumLiteral.setLiteral(String)
,
XcorePackage.getXEnumLiteral_Literal()
setLiteral
public void setLiteral(java.lang.String newLiteral)
-
- Specified by:
setLiteral
in interface XEnumLiteral
- Parameters:
newLiteral
- the new value of the 'Literal' attribute.- See Also:
XEnumLiteral.getLiteral()
getEnum
public XEnum getEnum()
-
- Specified by:
getEnum
in interface XEnumLiteral
- Returns:
- the value of the 'Enum' container reference.
- See Also:
XcorePackage.getXEnumLiteral_Enum()
,
XEnum.getLiterals()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseAdd
in class XModelElementImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class XModelElementImpl
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class XNamedElementImpl
- See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class XNamedElementImpl
- See Also:
EObject.eSet(EStructuralFeature, Object)
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class XNamedElementImpl
- See Also:
EObject.eUnset(EStructuralFeature)
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class XNamedElementImpl
- See Also:
EObject.eIsSet(EStructuralFeature)
toString
public java.lang.String toString()
-
- Overrides:
toString
in class XNamedElementImpl