org.eclipse.gmt.umlx.gcore.impl
Class GLinkElementImpl

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.emf.ecore.impl.EModelElementImpl
                  extended by org.eclipse.gmt.umlx.gcore.impl.GLinkElementImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, GElement, GLinkElement, GModelElement
Direct Known Subclasses:
GNullLinkElement, GSheetLinkImpl

public abstract class GLinkElementImpl
extends org.eclipse.emf.ecore.impl.EModelElementImpl
implements GLinkElement

An implementation of the model object 'Link'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
abstract  org.eclipse.emf.ecore.EModelElement basicGetCoModel()
           
 GNodeElement basicGetSource()
           
 GNodeElement basicGetTarget()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSource(GNodeElement newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTarget(GNodeElement newTarget, 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)
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.EList getBendpoints()
           
abstract  org.eclipse.emf.ecore.EModelElement getCoModel()
           
 GDiagram getDiagram()
           
 GRouter getRouter()
           
abstract  GSheet getSheet()
           
 GNodeElement getSource()
           
 GNodeElement getTarget()
           
abstract  void setCoModel(org.eclipse.emf.ecore.EModelElement coModel)
           
 void setRouter(GRouter newRouter)
           
 void setSource(GNodeElement newSource)
           
 void setTarget(GNodeElement newTarget)
           
 org.eclipse.emf.ecore.EModelElement simpleGetCoModel()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 

Method Detail

getSource

public GNodeElement getSource()

Specified by:
getSource in interface GLinkElement
Returns:
the value of the 'Source' reference.
See Also:
GLinkElement.setSource(GNodeElement), GcorePackage.getGLinkElement_Source(), GNodeElement.getOutgoingConnections()

basicGetSource

public GNodeElement basicGetSource()


basicSetSource

public org.eclipse.emf.common.notify.NotificationChain basicSetSource(GNodeElement newSource,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setSource

public void setSource(GNodeElement newSource)

Specified by:
setSource in interface GLinkElement
Parameters:
newSource - the new value of the 'Source' reference.
See Also:
GLinkElement.getSource()

getTarget

public GNodeElement getTarget()

Specified by:
getTarget in interface GLinkElement
Returns:
the value of the 'Target' reference.
See Also:
GLinkElement.setTarget(GNodeElement), GcorePackage.getGLinkElement_Target(), GNodeElement.getIncomingConnections()

basicGetTarget

public GNodeElement basicGetTarget()


basicSetTarget

public org.eclipse.emf.common.notify.NotificationChain basicSetTarget(GNodeElement newTarget,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setTarget

public void setTarget(GNodeElement newTarget)

Specified by:
setTarget in interface GLinkElement
Parameters:
newTarget - the new value of the 'Target' reference.
See Also:
GLinkElement.getTarget()

getBendpoints

public org.eclipse.emf.common.util.EList getBendpoints()

Specified by:
getBendpoints in interface GLinkElement
Returns:
the value of the 'Bendpoints' attribute list.
See Also:
GcorePackage.getGLinkElement_Bendpoints()

getRouter

public GRouter getRouter()

Specified by:
getRouter in interface GLinkElement
Returns:
the value of the 'Router' attribute.
See Also:
GRouter, GLinkElement.setRouter(GRouter), GcorePackage.getGLinkElement_Router()

setRouter

public void setRouter(GRouter newRouter)

Specified by:
setRouter in interface GLinkElement
Parameters:
newRouter - the new value of the 'Router' attribute.
See Also:
GRouter, GLinkElement.getRouter()

basicGetCoModel

public abstract org.eclipse.emf.ecore.EModelElement basicGetCoModel()


getCoModel

public abstract org.eclipse.emf.ecore.EModelElement getCoModel()

Specified by:
getCoModel in interface GModelElement

getDiagram

public GDiagram getDiagram()

Specified by:
getDiagram in interface GModelElement

getSheet

public abstract GSheet getSheet()

Specified by:
getSheet in interface GModelElement

setCoModel

public abstract void setCoModel(org.eclipse.emf.ecore.EModelElement coModel)

Specified by:
setCoModel in interface GModelElement

simpleGetCoModel

public org.eclipse.emf.ecore.EModelElement simpleGetCoModel()

Specified by:
simpleGetCoModel in interface GModelElement

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.EModelElementImpl

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.EModelElementImpl

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 org.eclipse.emf.ecore.impl.EModelElementImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.EModelElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.EModelElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.EModelElementImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl