Class LinkImpl

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.epf.diagram.model.impl.LinkedObjectImpl
org.eclipse.epf.diagram.model.impl.LinkImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Link, LinkedObject

public class LinkImpl
extends LinkedObjectImpl
implements Link
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<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

    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

    Modifier and Type Method Description
    Node basicGetTarget()
    org.eclipse.emf.common.notify.NotificationChain basicSetSource​(Node newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain basicSetTarget​(Node newTarget, 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)
    void eUnset​(int featureID)
    org.eclipse.emf.common.util.EList getBendpoints()
    java.lang.String getName()
    Node getSource()
    org.eclipse.draw2d.geometry.Point getSourceEndPoint()
    Node getTarget()
    org.eclipse.draw2d.geometry.Point getTargetEndPoint()
    void setName​(java.lang.String newName)
    void setSource​(Node newSource)
    void setSourceEndPoint​(org.eclipse.draw2d.geometry.Point newSourceEndPoint)
    void setTarget​(Node newTarget)
    void setTargetEndPoint​(org.eclipse.draw2d.geometry.Point newTargetEndPoint)
    java.lang.String toString()

    Methods inherited from class org.eclipse.epf.diagram.model.impl.LinkedObjectImpl

    basicGetLinkedElement, getLinkedElement, getObject, setLinkedElement, setObject

    Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

    eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI

    Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, 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.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.epf.diagram.model.LinkedObject

    getLinkedElement, getObject, setLinkedElement, setObject

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface Link
      Returns:
      the value of the 'Name' attribute.
      See Also:
      Link.setName(String), ModelPackage.getLink_Name()
    • setName

      public void setName​(java.lang.String newName)
      Specified by:
      setName in interface Link
      Parameters:
      newName - the new value of the 'Name' attribute.
      See Also:
      Link.getName()
    • getSource

      public Node getSource()
      Specified by:
      getSource in interface Link
      Returns:
      the value of the 'Source' container reference.
      See Also:
      Link.setSource(Node), ModelPackage.getLink_Source(), Node.getOutgoingConnections()
    • basicSetSource

      public org.eclipse.emf.common.notify.NotificationChain basicSetSource​(Node newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setSource

      public void setSource​(Node newSource)
      Specified by:
      setSource in interface Link
      Parameters:
      newSource - the new value of the 'Source' container reference.
      See Also:
      Link.getSource()
    • getTarget

      public Node getTarget()
      Specified by:
      getTarget in interface Link
      Returns:
      the value of the 'Target' reference.
      See Also:
      Link.setTarget(Node), ModelPackage.getLink_Target(), Node.getIncomingConnections()
    • basicGetTarget

      public Node basicGetTarget()
    • basicSetTarget

      public org.eclipse.emf.common.notify.NotificationChain basicSetTarget​(Node newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setTarget

      public void setTarget​(Node newTarget)
      Specified by:
      setTarget in interface Link
      Parameters:
      newTarget - the new value of the 'Target' reference.
      See Also:
      Link.getTarget()
    • getBendpoints

      public org.eclipse.emf.common.util.EList getBendpoints()
      Specified by:
      getBendpoints in interface Link
      Returns:
      the value of the 'Bendpoints' attribute list.
      See Also:
      ModelPackage.getLink_Bendpoints()
    • getSourceEndPoint

      public org.eclipse.draw2d.geometry.Point getSourceEndPoint()
      Specified by:
      getSourceEndPoint in interface Link
      Returns:
      the value of the 'Source End Point' attribute.
      See Also:
      Link.setSourceEndPoint(Point), ModelPackage.getLink_SourceEndPoint()
    • setSourceEndPoint

      public void setSourceEndPoint​(org.eclipse.draw2d.geometry.Point newSourceEndPoint)
      Specified by:
      setSourceEndPoint in interface Link
      Parameters:
      newSourceEndPoint - the new value of the 'Source End Point' attribute.
      See Also:
      Link.getSourceEndPoint()
    • getTargetEndPoint

      public org.eclipse.draw2d.geometry.Point getTargetEndPoint()
      Specified by:
      getTargetEndPoint in interface Link
      Returns:
      the value of the 'Target End Point' attribute.
      See Also:
      Link.setTargetEndPoint(Point), ModelPackage.getLink_TargetEndPoint()
    • setTargetEndPoint

      public void setTargetEndPoint​(org.eclipse.draw2d.geometry.Point newTargetEndPoint)
      Specified by:
      setTargetEndPoint in interface Link
      Parameters:
      newTargetEndPoint - the new value of the 'Target End Point' attribute.
      See Also:
      Link.getTargetEndPoint()
    • 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
    • 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
    • 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
    • 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 LinkedObjectImpl
    • eSet

      public void eSet​(int featureID, java.lang.Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class LinkedObjectImpl
    • eUnset

      public void eUnset​(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class LinkedObjectImpl
    • eIsSet

      public boolean eIsSet​(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class LinkedObjectImpl
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class LinkedObjectImpl