Interface GraphPackage

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
GraphPackageImpl

public interface GraphPackage
extends org.eclipse.emf.ecore.EPackage
The Package for the model. It contains accessors for the meta objects to represent
  • each class,
  • each feature of each class,
  • each operation of each class,
  • each enum,
  • and each data type
See Also:
GraphFactory
  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static interface  GraphPackage.Literals
    Defines literals for the meta objects that represent each class, each feature of each class, each operation of each class, each enum, and each data type

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage

    org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int EDGE
    The meta object id for the 'Edge' class.
    static int EDGE__FROM
    The feature id for the 'From' reference.
    static int EDGE__TO
    The feature id for the 'To' reference.
    static int EDGE_FEATURE_COUNT
    The number of structural features of the 'Edge' class.
    static int EDGE_OPERATION_COUNT
    The number of operations of the 'Edge' class.
    static GraphPackage eINSTANCE
    The singleton instance of the package.
    static String eNAME
    The package name.
    static String eNS_PREFIX
    The package namespace name.
    static String eNS_URI
    The package namespace URI.
    static int GRAPH
    The meta object id for the 'Graph' class.
    static int GRAPH__EDGES
    The feature id for the 'Edges' containment reference list.
    static int GRAPH__VERTICES
    The feature id for the 'Vertices' containment reference list.
    static int GRAPH_FEATURE_COUNT
    The number of structural features of the 'Graph' class.
    static int GRAPH_OPERATION_COUNT
    The number of operations of the 'Graph' class.
    static int VERTEX
    The meta object id for the 'Vertex' class.
    static int VERTEX__LABEL
    The feature id for the 'Label' attribute.
    static int VERTEX__OWNER
    The feature id for the 'Owner' container reference.
    static int VERTEX__WEIGHT
    The feature id for the 'Weight' attribute.
    static int VERTEX_FEATURE_COUNT
    The number of structural features of the 'Vertex' class.
    static int VERTEX_OPERATION_COUNT
    The number of operations of the 'Vertex' class.
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.ecore.EClass getEdge()
    Returns the meta object for class 'Edge'.
    org.eclipse.emf.ecore.EReference getEdge_From()
    Returns the meta object for the reference 'From'.
    org.eclipse.emf.ecore.EReference getEdge_To()
    Returns the meta object for the reference 'To'.
    org.eclipse.emf.ecore.EClass getGraph()
    Returns the meta object for class 'Graph'.
    org.eclipse.emf.ecore.EReference getGraph_Edges()
    Returns the meta object for the containment reference list 'Edges'.
    org.eclipse.emf.ecore.EReference getGraph_Vertices()
    Returns the meta object for the containment reference list 'Vertices'.
    GraphFactory getGraphFactory()
    Returns the factory that creates the instances of the model.
    org.eclipse.emf.ecore.EClass getVertex()
    Returns the meta object for class 'Vertex'.
    org.eclipse.emf.ecore.EAttribute getVertex_Label()
    Returns the meta object for the attribute 'Label'.
    org.eclipse.emf.ecore.EReference getVertex_Owner()
    Returns the meta object for the container reference 'Owner'.
    org.eclipse.emf.ecore.EAttribute getVertex_Weight()
    Returns the meta object for the attribute 'Weight'.

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

    getEAnnotation, getEAnnotations

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

    getName, setName

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

    getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI

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

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

  • Method Details

    • getGraph

      org.eclipse.emf.ecore.EClass getGraph()
      Returns the meta object for class 'Graph'.
      Returns:
      the meta object for class 'Graph'.
      See Also:
      Graph
    • getGraph_Vertices

      org.eclipse.emf.ecore.EReference getGraph_Vertices()
      Returns the meta object for the containment reference list 'Vertices'.
      Returns:
      the meta object for the containment reference list 'Vertices'.
      See Also:
      Graph.getVertices(), getGraph()
    • getGraph_Edges

      org.eclipse.emf.ecore.EReference getGraph_Edges()
      Returns the meta object for the containment reference list 'Edges'.
      Returns:
      the meta object for the containment reference list 'Edges'.
      See Also:
      Graph.getEdges(), getGraph()
    • getVertex

      org.eclipse.emf.ecore.EClass getVertex()
      Returns the meta object for class 'Vertex'.
      Returns:
      the meta object for class 'Vertex'.
      See Also:
      Vertex
    • getVertex_Owner

      org.eclipse.emf.ecore.EReference getVertex_Owner()
      Returns the meta object for the container reference 'Owner'.
      Returns:
      the meta object for the container reference 'Owner'.
      See Also:
      Vertex.getOwner(), getVertex()
    • getVertex_Label

      org.eclipse.emf.ecore.EAttribute getVertex_Label()
      Returns the meta object for the attribute 'Label'.
      Returns:
      the meta object for the attribute 'Label'.
      See Also:
      Vertex.getLabel(), getVertex()
    • getVertex_Weight

      org.eclipse.emf.ecore.EAttribute getVertex_Weight()
      Returns the meta object for the attribute 'Weight'.
      Returns:
      the meta object for the attribute 'Weight'.
      See Also:
      Vertex.getWeight(), getVertex()
    • getEdge

      org.eclipse.emf.ecore.EClass getEdge()
      Returns the meta object for class 'Edge'.
      Returns:
      the meta object for class 'Edge'.
      See Also:
      Edge
    • getEdge_From

      org.eclipse.emf.ecore.EReference getEdge_From()
      Returns the meta object for the reference 'From'.
      Returns:
      the meta object for the reference 'From'.
      See Also:
      Edge.getFrom(), getEdge()
    • getEdge_To

      org.eclipse.emf.ecore.EReference getEdge_To()
      Returns the meta object for the reference 'To'.
      Returns:
      the meta object for the reference 'To'.
      See Also:
      Edge.getTo(), getEdge()
    • getGraphFactory

      GraphFactory getGraphFactory()
      Returns the factory that creates the instances of the model.
      Returns:
      the factory that creates the instances of the model.