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

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.ValidatableNodeImpl
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, ValidatableNode
Direct Known Subclasses:
ResultValidatableNodeImpl, RootValidatableNodeImpl

public class ValidatableNodeImpl
extends AbstractNodeImpl
implements ValidatableNode

An implementation of the model object 'ValidatableNode'.

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<ValidatableNode> children
          The cached value of the 'Children' containment reference list.
protected  org.eclipse.emf.ecore.EObject constrainedObject
          The cached value of the 'Constrained Object' reference.
 
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 ValidatableNodeImpl()
           
 
Method Summary
 org.eclipse.emf.ecore.EObject basicGetConstrainedObject()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetParent(ValidatableNode 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<ValidatableNode> getChildren()
           
 org.eclipse.emf.ecore.EObject getConstrainedObject()
           
 ValidatableNode getParent()
           
 void setConstrainedObject(org.eclipse.emf.ecore.EObject newConstrainedObject)
           
 void setParent(ValidatableNode newParent)
           
 
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, toString
 
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<ValidatableNode> children
The cached value of the 'Children' containment reference list.

See Also:
getChildren()
Generated
Ordered

constrainedObject

protected org.eclipse.emf.ecore.EObject constrainedObject
The cached value of the 'Constrained Object' reference.

See Also:
getConstrainedObject()
Generated
Ordered
Constructor Detail

ValidatableNodeImpl

protected ValidatableNodeImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class AbstractNodeImpl
Generated

getParent

public ValidatableNode getParent()

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

basicSetParent

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

Generated

setParent

public void setParent(ValidatableNode newParent)

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

getChildren

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

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

getConstrainedObject

@NonNull
public org.eclipse.emf.ecore.EObject getConstrainedObject()

Specified by:
getConstrainedObject in interface ValidatableNode
Returns:
the value of the 'Constrained Object' reference.
See Also:
ValidatableNode.setConstrainedObject(EObject), ValidityPackage.getValidatableNode_ConstrainedObject()
Generated

basicGetConstrainedObject

public org.eclipse.emf.ecore.EObject basicGetConstrainedObject()

Generated

setConstrainedObject

public void setConstrainedObject(org.eclipse.emf.ecore.EObject newConstrainedObject)

Specified by:
setConstrainedObject in interface ValidatableNode
Parameters:
newConstrainedObject - the new value of the 'Constrained Object' reference.
See Also:
ValidatableNode.getConstrainedObject()
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