org.eclipse.ocl.examples.emf.validation.validity.impl
Class ConstrainingNodeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.ocl.examples.emf.validation.validity.impl.AbstractNodeImpl
                      extended by org.eclipse.ocl.examples.emf.validation.validity.impl.ConstrainingNodeImpl
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, AbstractNode, ConstrainingNode
Direct Known Subclasses:
LeafConstrainingNodeImpl, ResultConstrainingNodeImpl, RootConstrainingNodeImpl

public class ConstrainingNodeImpl
extends AbstractNodeImpl
implements ConstrainingNode

An implementation of the model object 'ConstrainingNode'.

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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.emf.common.util.EList<ConstrainingNode> children
          The cached value of the 'Children' containment reference list.
protected static java.lang.Object CONSTRAINING_OBJECT_EDEFAULT
          The default value of the 'Constraining Object' attribute.
protected  java.lang.Object constrainingObject
          The cached value of the 'Constraining Object' attribute.
 
Fields inherited from class org.eclipse.ocl.examples.emf.validation.validity.impl.AbstractNodeImpl
enabled, ENABLED_EDEFAULT, grayed, GRAYED_EDEFAULT, label, LABEL_EDEFAULT, NO_CHILDREN, visible, VISIBLE_EDEFAULT, worstResult
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ConstrainingNodeImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetParent(ConstrainingNode newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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<ConstrainingNode> getChildren()
           
 java.lang.Object getConstrainingObject()
           
 ConstrainingNode getParent()
           
 void setConstrainingObject(java.lang.Object newConstrainingObject)
           
 void setParent(ConstrainingNode newParent)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.emf.validation.validity.impl.AbstractNodeImpl
countVisibleChildren, eInvoke, getGrayedElements, getLabel, getVisibleChildren, getWorstResult, isEnabled, isGrayed, isVisible, refreshGrayed, refreshVisibleChildren, setEnabled, setLabel, setWorstResult, setWorstResultGen
 
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, 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, eInverseRemove, eInvocationDelegate, 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.ocl.examples.emf.validation.validity.AbstractNode
countVisibleChildren, getGrayedElements, getLabel, getVisibleChildren, getWorstResult, isEnabled, isGrayed, isVisible, refreshGrayed, refreshVisibleChildren, setEnabled, setLabel, setWorstResult
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

children

protected org.eclipse.emf.common.util.EList<ConstrainingNode> children
The cached value of the 'Children' containment reference list.

See Also:
getChildren()
Generated
Ordered

CONSTRAINING_OBJECT_EDEFAULT

protected static final java.lang.Object CONSTRAINING_OBJECT_EDEFAULT
The default value of the 'Constraining Object' attribute.

See Also:
getConstrainingObject()
Generated
Ordered

constrainingObject

protected java.lang.Object constrainingObject
The cached value of the 'Constraining Object' attribute.

See Also:
getConstrainingObject()
Generated
Ordered
Constructor Detail

ConstrainingNodeImpl

protected ConstrainingNodeImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class AbstractNodeImpl
Generated

getParent

public ConstrainingNode getParent()

Specified by:
getParent in interface AbstractNode
Specified by:
getParent in interface ConstrainingNode
Specified by:
getParent in class AbstractNodeImpl
Returns:
the value of the 'Parent' container reference.
See Also:
ConstrainingNode.setParent(ConstrainingNode), ValidityPackage.getConstrainingNode_Parent(), ConstrainingNode.getChildren()
Generated

basicSetParent

public org.eclipse.emf.common.notify.NotificationChain basicSetParent(ConstrainingNode newParent,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setParent

public void setParent(ConstrainingNode newParent)

Specified by:
setParent in interface ConstrainingNode
Parameters:
newParent - the new value of the 'Parent' container reference.
See Also:
ConstrainingNode.getParent()
Generated

getChildren

@NonNull
public org.eclipse.emf.common.util.EList<ConstrainingNode> getChildren()

Specified by:
getChildren in interface AbstractNode
Specified by:
getChildren in interface ConstrainingNode
Specified by:
getChildren in class AbstractNodeImpl
Returns:
the value of the 'Children' containment reference list.
See Also:
ValidityPackage.getConstrainingNode_Children(), ConstrainingNode.getParent()
Generated
NOT // Bug 414352 workaround

getConstrainingObject

public java.lang.Object getConstrainingObject()

Specified by:
getConstrainingObject in interface ConstrainingNode
Returns:
the value of the 'Constraining Object' attribute.
See Also:
ConstrainingNode.setConstrainingObject(Object), ValidityPackage.getConstrainingNode_ConstrainingObject()
Generated

setConstrainingObject

public void setConstrainingObject(java.lang.Object newConstrainingObject)

Specified by:
setConstrainingObject in interface ConstrainingNode
Parameters:
newConstrainingObject - the new value of the 'Constraining Object' attribute.
See Also:
ConstrainingNode.getConstrainingObject()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class AbstractNodeImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class AbstractNodeImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class AbstractNodeImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class AbstractNodeImpl
Generated

toString

public java.lang.String toString()

Overrides:
toString in class AbstractNodeImpl
Generated
NOT