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.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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.BasicEObjectImplpublic java.lang.String getName()
getName in interface GrammarGrammar.setName(String),
XtextPackage.getGrammar_Name()public void setName(java.lang.String newName)
setName in interface GrammarnewName - the new value of the 'Name' attribute.Grammar.getName()public org.eclipse.emf.common.util.EList<Grammar> getUsedGrammars()
getUsedGrammars in interface GrammarXtextPackage.getGrammar_UsedGrammars()public boolean isDefinesHiddenTokens()
isDefinesHiddenTokens in interface GrammarGrammar.setDefinesHiddenTokens(boolean),
XtextPackage.getGrammar_DefinesHiddenTokens()public void setDefinesHiddenTokens(boolean newDefinesHiddenTokens)
setDefinesHiddenTokens in interface GrammarnewDefinesHiddenTokens - the new value of the 'Defines Hidden Tokens' attribute.Grammar.isDefinesHiddenTokens()public org.eclipse.emf.common.util.EList<AbstractRule> getHiddenTokens()
getHiddenTokens in interface GrammarXtextPackage.getGrammar_HiddenTokens()public org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> getMetamodelDeclarations()
getMetamodelDeclarations in interface GrammarXtextPackage.getGrammar_MetamodelDeclarations()public org.eclipse.emf.common.util.EList<AbstractRule> getRules()
getRules in interface GrammarXtextPackage.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.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl