Interface GraphFactory

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

public interface GraphFactory
extends org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
See Also:
GraphPackage
  • Field Summary

    Fields
    Modifier and Type Field Description
    static GraphFactory eINSTANCE
    The singleton instance of the factory.
  • Method Summary

    Modifier and Type Method Description
    Edge createEdge()
    Returns a new object of class 'Edge'.
    Graph createGraph()
    Returns a new object of class 'Graph'.
    Vertex createVertex()
    Returns a new object of class 'Vertex'.
    GraphPackage getGraphPackage()
    Returns the package supported by this factory.

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

    convertToString, create, createFromString, getEPackage, setEPackage

    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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

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

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

    • eINSTANCE

      static final GraphFactory eINSTANCE
      The singleton instance of the factory.
  • Method Details

    • createGraph

      Graph createGraph()
      Returns a new object of class 'Graph'.
      Returns:
      a new object of class 'Graph'.
    • createVertex

      Vertex createVertex()
      Returns a new object of class 'Vertex'.
      Returns:
      a new object of class 'Vertex'.
    • createEdge

      Edge createEdge()
      Returns a new object of class 'Edge'.
      Returns:
      a new object of class 'Edge'.
    • getGraphPackage

      GraphPackage getGraphPackage()
      Returns the package supported by this factory.
      Returns:
      the package supported by this factory.