Generation Framework

org.eclipse.gmf.mappings.impl
Class ChildReferenceImpl

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.EObjectImpl
              extended by org.eclipse.gmf.mappings.impl.NodeReferenceImpl
                  extended by org.eclipse.gmf.mappings.impl.ChildReferenceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ChildReference, NeedsContainment, NodeReference

public class ChildReferenceImpl
extends NodeReferenceImpl
implements ChildReference

An implementation of the model object 'Child Reference'.

The following features are implemented:

** Generated **

Nested Class Summary
 
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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  CompartmentMapping compartment
          The cached value of the 'Compartment' reference
protected  NodeMapping ownedChild
          The cached value of the 'Owned Child' containment reference
protected  NodeMapping referencedChild
          The cached value of the 'Referenced Child' reference
 
Fields inherited from class org.eclipse.gmf.mappings.impl.NodeReferenceImpl
childrenFeature, containmentFeature
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
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.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ChildReferenceImpl()
           
 
Method Summary
 CompartmentMapping basicGetCompartment()
           
 NodeMapping basicGetReferencedChild()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCompartment(CompartmentMapping newCompartment, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedChild(NodeMapping newOwnedChild, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetParentNode(NodeMapping newParentNode, 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)
           
 NodeMapping getChild()
           
 CompartmentMapping getCompartment()
           
 NodeMapping getOwnedChild()
           
 NodeMapping getParentNode()
           
 NodeMapping getReferencedChild()
           
 boolean isSetChild()
           
 void setCompartment(CompartmentMapping newCompartment)
           
 void setOwnedChild(NodeMapping newOwnedChild)
           
 void setParentNode(NodeMapping newParentNode)
           
 void setReferencedChild(NodeMapping newReferencedChild)
           
 
Methods inherited from class org.eclipse.gmf.mappings.impl.NodeReferenceImpl
basicGetChildrenFeature, basicGetContainmentFeature, getChildrenFeature, getContainmentFeature, setChildrenFeature, setContainmentFeature
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
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.gmf.mappings.NodeReference
getChildrenFeature, setChildrenFeature
 
Methods inherited from interface org.eclipse.gmf.mappings.NeedsContainment
getContainmentFeature, setContainmentFeature
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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

compartment

protected CompartmentMapping compartment
The cached value of the 'Compartment' reference.

See Also:
getCompartment()
** Generated **
Ordered:

ownedChild

protected NodeMapping ownedChild
The cached value of the 'Owned Child' containment reference.

See Also:
getOwnedChild()
** Generated **
Ordered:

referencedChild

protected NodeMapping referencedChild
The cached value of the 'Referenced Child' reference.

See Also:
getReferencedChild()
** Generated **
Ordered:
Constructor Detail

ChildReferenceImpl

protected ChildReferenceImpl()

** Generated **
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class NodeReferenceImpl
** Generated **

getParentNode

public NodeMapping getParentNode()

Specified by:
getParentNode in interface ChildReference
Returns:
the value of the 'Parent Node' container reference.
See Also:
ChildReference.setParentNode(NodeMapping), GMFMapPackage.getChildReference_ParentNode(), NodeMapping.getChildren()
** Generated **

basicSetParentNode

public org.eclipse.emf.common.notify.NotificationChain basicSetParentNode(NodeMapping newParentNode,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

** Generated **

setParentNode

public void setParentNode(NodeMapping newParentNode)

Specified by:
setParentNode in interface ChildReference
Parameters:
newParentNode - the new value of the 'Parent Node' container reference.
See Also:
ChildReference.getParentNode()
** Generated **

getCompartment

public CompartmentMapping getCompartment()

Specified by:
getCompartment in interface ChildReference
Returns:
the value of the 'Compartment' reference.
See Also:
ChildReference.setCompartment(CompartmentMapping), GMFMapPackage.getChildReference_Compartment(), CompartmentMapping.getChildren()
** Generated **

basicGetCompartment

public CompartmentMapping basicGetCompartment()

** Generated **

basicSetCompartment

public org.eclipse.emf.common.notify.NotificationChain basicSetCompartment(CompartmentMapping newCompartment,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)

** Generated **

setCompartment

public void setCompartment(CompartmentMapping newCompartment)

Specified by:
setCompartment in interface ChildReference
Parameters:
newCompartment - the new value of the 'Compartment' reference.
See Also:
ChildReference.getCompartment()
** Generated **

getOwnedChild

public NodeMapping getOwnedChild()

Specified by:
getOwnedChild in interface ChildReference
Returns:
the value of the 'Owned Child' containment reference.
See Also:
ChildReference.setOwnedChild(NodeMapping), GMFMapPackage.getChildReference_OwnedChild()
** Generated **

basicSetOwnedChild

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedChild(NodeMapping newOwnedChild,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

** Generated **

setOwnedChild

public void setOwnedChild(NodeMapping newOwnedChild)

Specified by:
setOwnedChild in interface ChildReference
Parameters:
newOwnedChild - the new value of the 'Owned Child' containment reference.
See Also:
ChildReference.getOwnedChild()
** Generated **

getReferencedChild

public NodeMapping getReferencedChild()

Specified by:
getReferencedChild in interface ChildReference
Returns:
the value of the 'Referenced Child' reference.
See Also:
ChildReference.setReferencedChild(NodeMapping), GMFMapPackage.getChildReference_ReferencedChild()
** Generated **

basicGetReferencedChild

public NodeMapping basicGetReferencedChild()

** Generated **

setReferencedChild

public void setReferencedChild(NodeMapping newReferencedChild)

Specified by:
setReferencedChild in interface ChildReference
Parameters:
newReferencedChild - the new value of the 'Referenced Child' reference.
See Also:
ChildReference.getReferencedChild()
** 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 NodeReferenceImpl
** 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 NodeReferenceImpl
** Generated **

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getChild

public NodeMapping getChild()
Description copied from class: NodeReferenceImpl

Specified by:
getChild in interface NodeReference
Specified by:
getChild in class NodeReferenceImpl
Returns:
the value of the 'Child' reference.
See Also:
NodeReference.isSetChild(), GMFMapPackage.getNodeReference_Child()

isSetChild

public boolean isSetChild()
Description copied from class: NodeReferenceImpl

Specified by:
isSetChild in interface NodeReference
Specified by:
isSetChild in class NodeReferenceImpl
Returns:
whether the value of the 'Child' reference is set.
See Also:
NodeReference.getChild()

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.