Package org.atlanmod.graph
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 GraphFactoryeINSTANCEThe singleton instance of the factory. -
Method Summary
Modifier and Type Method Description EdgecreateEdge()Returns a new object of class 'Edge'.GraphcreateGraph()Returns a new object of class 'Graph'.VertexcreateVertex()Returns a new object of class 'Vertex'.GraphPackagegetGraphPackage()Returns the package supported by this factory.Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, getEPackage, setEPackageMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
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.
-