Package org.eclipse.xtext.impl
Class AbstractRuleImpl
- 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.AbstractRuleImpl
-
- 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,AbstractRule
- Direct Known Subclasses:
EnumRuleImpl,ParserRuleImpl,TerminalRuleImpl
public class AbstractRuleImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements AbstractRule
An implementation of the model object 'Abstract Rule'.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 AbstractElementalternativesThe cached value of the 'Alternatives' containment reference.protected org.eclipse.emf.common.util.EList<Annotation>annotationsThe cached value of the 'Annotations' containment reference list.protected java.lang.StringnameThe cached value of the 'Name' attribute.protected static java.lang.StringNAME_EDEFAULTThe default value of the 'Name' attribute.protected TypeReftypeThe cached value of the 'Type' containment reference.-
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 protectedAbstractRuleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetAlternatives(AbstractElement newAlternatives, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetType(TypeRef newType, org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)AbstractElementgetAlternatives()org.eclipse.emf.common.util.EList<Annotation>getAnnotations()java.lang.StringgetName()TypeRefgetType()voidsetAlternatives(AbstractElement newAlternatives)voidsetName(java.lang.String newName)voidsetType(TypeRef newType)java.lang.StringtoString()-
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
-
-
-
-
Field Detail
-
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.- See Also:
getName()- Generated:
- Ordered:
-
name
protected java.lang.String name
The cached value of the 'Name' attribute.- See Also:
getName()- Generated:
- Ordered:
-
type
protected TypeRef type
The cached value of the 'Type' containment reference.- See Also:
getType()- Generated:
- Ordered:
-
alternatives
protected AbstractElement alternatives
The cached value of the 'Alternatives' containment reference.- See Also:
getAlternatives()- Generated:
- Ordered:
-
annotations
protected org.eclipse.emf.common.util.EList<Annotation> annotations
The cached value of the 'Annotations' containment reference list.- See Also:
getAnnotations()- Generated:
- Ordered:
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAbstractRule- Returns:
- the value of the 'Name' attribute.
- See Also:
AbstractRule.setName(String),XtextPackage.getAbstractRule_Name()- Generated:
-
setName
public void setName(java.lang.String newName)
- Specified by:
setNamein interfaceAbstractRule- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
AbstractRule.getName()- Generated:
-
getType
public TypeRef getType()
- Specified by:
getTypein interfaceAbstractRule- Returns:
- the value of the 'Type' containment reference.
- See Also:
AbstractRule.setType(TypeRef),XtextPackage.getAbstractRule_Type()- Generated:
-
basicSetType
public org.eclipse.emf.common.notify.NotificationChain basicSetType(TypeRef newType, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setType
public void setType(TypeRef newType)
- Specified by:
setTypein interfaceAbstractRule- Parameters:
newType- the new value of the 'Type' containment reference.- See Also:
AbstractRule.getType()- Generated:
-
getAlternatives
public AbstractElement getAlternatives()
- Specified by:
getAlternativesin interfaceAbstractRule- Returns:
- the value of the 'Alternatives' containment reference.
- See Also:
AbstractRule.setAlternatives(AbstractElement),XtextPackage.getAbstractRule_Alternatives()- Generated:
-
basicSetAlternatives
public org.eclipse.emf.common.notify.NotificationChain basicSetAlternatives(AbstractElement newAlternatives, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setAlternatives
public void setAlternatives(AbstractElement newAlternatives)
- Specified by:
setAlternativesin interfaceAbstractRule- Parameters:
newAlternatives- the new value of the 'Alternatives' containment reference.- See Also:
AbstractRule.getAlternatives()- Generated:
-
getAnnotations
public org.eclipse.emf.common.util.EList<Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceAbstractRule- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
XtextPackage.getAbstractRule_Annotations()- 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:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated:
-
-