| /** |
| */ |
| package graph; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.emf.ecore.EPackage; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Graph</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link graph.Graph#getEdges <em>Edges</em>}</li> |
| * <li>{@link graph.Graph#getNodes <em>Nodes</em>}</li> |
| * <li>{@link graph.Graph#getTypegraph <em>Typegraph</em>}</li> |
| * <li>{@link graph.Graph#getName <em>Name</em>}</li> |
| * </ul> |
| * |
| * @see graph.GraphPackage#getGraph() |
| * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='CorrectlyTypedNodes'" |
| * annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot CorrectlyTypedNodes='self.nodes -> forAll(node | self.typegraph.eClassifiers -> includes(node.type))'" |
| * @generated |
| */ |
| public interface Graph extends EObject { |
| /** |
| * Returns the value of the '<em><b>Edges</b></em>' containment reference list. |
| * The list contents are of type {@link graph.Edge}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Edges</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Edges</em>' containment reference list. |
| * @see graph.GraphPackage#getGraph_Edges() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Edge> getEdges(); |
| |
| /** |
| * Returns the value of the '<em><b>Nodes</b></em>' containment reference list. |
| * The list contents are of type {@link graph.Node}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Nodes</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Nodes</em>' containment reference list. |
| * @see graph.GraphPackage#getGraph_Nodes() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Node> getNodes(); |
| |
| /** |
| * Returns the value of the '<em><b>Typegraph</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Typegraph</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Typegraph</em>' reference. |
| * @see #setTypegraph(EPackage) |
| * @see graph.GraphPackage#getGraph_Typegraph() |
| * @model required="true" |
| * @generated |
| */ |
| EPackage getTypegraph(); |
| |
| /** |
| * Sets the value of the '{@link graph.Graph#getTypegraph <em>Typegraph</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Typegraph</em>' reference. |
| * @see #getTypegraph() |
| * @generated |
| */ |
| void setTypegraph(EPackage value); |
| |
| /** |
| * Returns the value of the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Name</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Name</em>' attribute. |
| * @see #setName(String) |
| * @see graph.GraphPackage#getGraph_Name() |
| * @model |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link graph.Graph#getName <em>Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| } // Graph |