Interface Graph

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

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

The following features are supported:

See Also:
GraphPackage.getGraph()
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.common.util.EList<Edge> getEdges()
    Returns the value of the 'Edges' containment reference list.
    org.eclipse.emf.common.util.EList<Vertex> getVertices()
    Returns the value of the 'Vertices' containment reference list.

    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

    • getVertices

      org.eclipse.emf.common.util.EList<Vertex> getVertices()
      Returns the value of the 'Vertices' containment reference list. The list contents are of type Vertex. It is bidirectional and its opposite is 'Owner'.
      Returns:
      the value of the 'Vertices' containment reference list.
      See Also:
      GraphPackage.getGraph_Vertices(), Vertex.getOwner()
    • getEdges

      org.eclipse.emf.common.util.EList<Edge> getEdges()
      Returns the value of the 'Edges' containment reference list. The list contents are of type Edge.
      Returns:
      the value of the 'Edges' containment reference list.
      See Also:
      GraphPackage.getGraph_Edges()