public class GrammarImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements Grammar
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFINES_HIDDEN_TOKENS_EDEFAULT
The default value of the '
Defines Hidden Tokens ' attribute |
protected boolean |
definesHiddenTokens
The cached value of the '
Defines Hidden Tokens ' attribute |
protected org.eclipse.emf.common.util.EList<AbstractRule> |
hiddenTokens
The cached value of the '
Hidden Tokens ' reference list |
protected org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> |
metamodelDeclarations
The cached value of the '
Metamodel Declarations ' containment reference list |
protected java.lang.String |
name
The cached value of the '
Name ' attribute |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the '
Name ' attribute |
protected org.eclipse.emf.common.util.EList<AbstractRule> |
rules
The cached value of the '
Rules ' containment reference list |
protected org.eclipse.emf.common.util.EList<Grammar> |
usedGrammars
The cached value of the '
Used Grammars ' reference list |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
GrammarImpl() |
Modifier and Type | Method and Description |
---|---|
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.common.util.EList<AbstractRule> |
getHiddenTokens() |
org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> |
getMetamodelDeclarations() |
java.lang.String |
getName() |
org.eclipse.emf.common.util.EList<AbstractRule> |
getRules() |
org.eclipse.emf.common.util.EList<Grammar> |
getUsedGrammars() |
boolean |
isDefinesHiddenTokens() |
void |
setDefinesHiddenTokens(boolean newDefinesHiddenTokens) |
void |
setName(java.lang.String newName) |
java.lang.String |
toString() |
eBasicSetContainer, eInternalContainer
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
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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final java.lang.String NAME_EDEFAULT
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected org.eclipse.emf.common.util.EList<Grammar> usedGrammars
Used Grammars
' reference list.
getUsedGrammars()
protected static final boolean DEFINES_HIDDEN_TOKENS_EDEFAULT
Defines Hidden Tokens
' attribute.
isDefinesHiddenTokens()
,
Constant Field Valuesprotected boolean definesHiddenTokens
Defines Hidden Tokens
' attribute.
isDefinesHiddenTokens()
protected org.eclipse.emf.common.util.EList<AbstractRule> hiddenTokens
Hidden Tokens
' reference list.
getHiddenTokens()
protected org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> metamodelDeclarations
Metamodel Declarations
' containment reference list.
getMetamodelDeclarations()
protected org.eclipse.emf.common.util.EList<AbstractRule> rules
Rules
' containment reference list.
getRules()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String getName()
getName
in interface Grammar
Grammar.setName(String)
,
XtextPackage.getGrammar_Name()
public void setName(java.lang.String newName)
setName
in interface Grammar
newName
- the new value of the 'Name' attribute.Grammar.getName()
public org.eclipse.emf.common.util.EList<Grammar> getUsedGrammars()
getUsedGrammars
in interface Grammar
XtextPackage.getGrammar_UsedGrammars()
public boolean isDefinesHiddenTokens()
isDefinesHiddenTokens
in interface Grammar
Grammar.setDefinesHiddenTokens(boolean)
,
XtextPackage.getGrammar_DefinesHiddenTokens()
public void setDefinesHiddenTokens(boolean newDefinesHiddenTokens)
setDefinesHiddenTokens
in interface Grammar
newDefinesHiddenTokens
- the new value of the 'Defines Hidden Tokens' attribute.Grammar.isDefinesHiddenTokens()
public org.eclipse.emf.common.util.EList<AbstractRule> getHiddenTokens()
getHiddenTokens
in interface Grammar
XtextPackage.getGrammar_HiddenTokens()
public org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> getMetamodelDeclarations()
getMetamodelDeclarations
in interface Grammar
XtextPackage.getGrammar_MetamodelDeclarations()
public org.eclipse.emf.common.util.EList<AbstractRule> getRules()
getRules
in interface Grammar
XtextPackage.getGrammar_Rules()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl