Interface Edge

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
EdgeImpl

public interface Edge
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Edge'.

The following features are supported:

See Also:
GraphPackage.getEdge()
  • Method Summary

    Modifier and Type Method Description
    Vertex getFrom()
    Returns the value of the 'From' reference.
    Vertex getTo()
    Returns the value of the 'To' reference.
    void setFrom​(Vertex value)
    Sets the value of the 'From' reference.
    void setTo​(Vertex value)
    Sets the value of the 'To' reference.

    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
  • Method Details

    • getFrom

      Vertex getFrom()
      Returns the value of the 'From' reference.
      Returns:
      the value of the 'From' reference.
      See Also:
      setFrom(Vertex), GraphPackage.getEdge_From()
    • setFrom

      void setFrom​(Vertex value)
      Sets the value of the 'From' reference.
      Parameters:
      value - the new value of the 'From' reference.
      See Also:
      getFrom()
    • getTo

      Vertex getTo()
      Returns the value of the 'To' reference.
      Returns:
      the value of the 'To' reference.
      See Also:
      setTo(Vertex), GraphPackage.getEdge_To()
    • setTo

      void setTo​(Vertex value)
      Sets the value of the 'To' reference.
      Parameters:
      value - the new value of the 'To' reference.
      See Also:
      getTo()