Package org.eclipse.xtext.impl
Class EnumLiteralDeclarationImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.xtext.impl.AbstractElementImpl
-
- org.eclipse.xtext.impl.EnumLiteralDeclarationImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,AbstractElement
,EnumLiteralDeclaration
public class EnumLiteralDeclarationImpl extends AbstractElementImpl implements EnumLiteralDeclaration
An implementation of the model object 'Enum Literal Declaration'.The following features are implemented:
- Generated:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.ecore.EEnumLiteral
enumLiteral
The cached value of the 'Enum Literal
' reference.protected Keyword
literal
The cached value of the 'Literal
' containment reference.-
Fields inherited from class org.eclipse.xtext.impl.AbstractElementImpl
cardinality, CARDINALITY_EDEFAULT, FIRST_SET_PREDICATED_EDEFAULT, firstSetPredicated, predicated, PREDICATED_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EnumLiteralDeclarationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EEnumLiteral
basicGetEnumLiteral()
org.eclipse.emf.common.notify.NotificationChain
basicSetLiteral(Keyword newLiteral, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.ecore.EEnumLiteral
getEnumLiteral()
Keyword
getLiteral()
void
setEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral newEnumLiteral)
void
setLiteral(Keyword newLiteral)
-
Methods inherited from class org.eclipse.xtext.impl.AbstractElementImpl
getCardinality, isFirstSetPredicated, isPredicated, setCardinality, setFirstSetPredicated, setPredicated, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.AbstractElement
getCardinality, isFirstSetPredicated, isPredicated, setCardinality, setFirstSetPredicated, setPredicated
-
-
-
-
Field Detail
-
enumLiteral
protected org.eclipse.emf.ecore.EEnumLiteral enumLiteral
The cached value of the 'Enum Literal
' reference.- See Also:
getEnumLiteral()
- Generated:
- Ordered:
-
literal
protected Keyword literal
The cached value of the 'Literal
' containment reference.- See Also:
getLiteral()
- Generated:
- Ordered:
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classAbstractElementImpl
- Generated:
-
getEnumLiteral
public org.eclipse.emf.ecore.EEnumLiteral getEnumLiteral()
- Specified by:
getEnumLiteral
in interfaceEnumLiteralDeclaration
- Returns:
- the value of the 'Enum Literal' reference.
- See Also:
EnumLiteralDeclaration.setEnumLiteral(EEnumLiteral)
,XtextPackage.getEnumLiteralDeclaration_EnumLiteral()
- Generated:
-
basicGetEnumLiteral
public org.eclipse.emf.ecore.EEnumLiteral basicGetEnumLiteral()
- Generated:
-
setEnumLiteral
public void setEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral newEnumLiteral)
- Specified by:
setEnumLiteral
in interfaceEnumLiteralDeclaration
- Parameters:
newEnumLiteral
- the new value of the 'Enum Literal' reference.- See Also:
EnumLiteralDeclaration.getEnumLiteral()
- Generated:
-
getLiteral
public Keyword getLiteral()
- Specified by:
getLiteral
in interfaceEnumLiteralDeclaration
- Returns:
- the value of the 'Literal' containment reference.
- See Also:
EnumLiteralDeclaration.setLiteral(Keyword)
,XtextPackage.getEnumLiteralDeclaration_Literal()
- Generated:
-
basicSetLiteral
public org.eclipse.emf.common.notify.NotificationChain basicSetLiteral(Keyword newLiteral, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setLiteral
public void setLiteral(Keyword newLiteral)
- Specified by:
setLiteral
in interfaceEnumLiteralDeclaration
- Parameters:
newLiteral
- the new value of the 'Literal' containment reference.- See Also:
EnumLiteralDeclaration.getLiteral()
- Generated:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classAbstractElementImpl
- Generated:
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classAbstractElementImpl
- Generated:
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classAbstractElementImpl
- Generated:
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classAbstractElementImpl
- Generated:
-
-