public abstract class CGElementImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements CGElement
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
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
CGElementImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(CGModelVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
protected void |
eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer,
int newContainerFeatureID) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer,
int newContainerFeatureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
java.lang.Iterable<? extends CGElement> |
getChildren()
Return the child CGElements.
|
CGElement |
getParent()
Return the parent node in a CG tree, null at the root.
|
AbstractPlace |
getPlace(java.util.Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required.
|
boolean |
isContext()
Returns true if this node may have its own symbol name context.
|
boolean |
rewriteAs(CGValuedElement oldValue,
CGValuedElement newValue)
Rewrite the reference to oldValue by newValue.
|
java.lang.String |
toString() |
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, 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 void eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID)
eBasicSetContainer
in class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicSetContainer(org.eclipse.emf.ecore.InternalEObject newContainer, int newContainerFeatureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicSetContainer
in interface org.eclipse.emf.ecore.InternalEObject
eBasicSetContainer
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
@Nullable public <R> R accept(@NonNull CGModelVisitor<R> visitor)
@NonNull public java.lang.Iterable<? extends CGElement> getChildren()
getChildren
in interface CGElement
@Nullable public CGElement getParent()
@Nullable public AbstractPlace getPlace(@NonNull java.util.Map<CGElement,AbstractPlace> element2place)
public boolean isContext()
public boolean rewriteAs(@NonNull CGValuedElement oldValue, @NonNull CGValuedElement newValue)