org.eclipse.ohf.stem.core.model
Interface ModelFactory

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:
ModelFactoryImpl

public interface ModelFactory
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:
ModelPackage

Field Summary
static ModelFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Decorator createDecorator()
          Returns a new object of class 'Decorator'.
 EdgeDecorator createEdgeDecorator()
          Returns a new object of class 'Edge Decorator'.
 GraphDecorator createGraphDecorator()
          Returns a new object of class 'Graph Decorator'.
 Model createModel()
          Returns a new object of class 'Model'.
 NodeDecorator createNodeDecorator()
          Returns a new object of class 'Node Decorator'.
 STEMTime createSTEMTime()
          Returns a new object of class 'STEM Time'.
 ModelPackage getModelPackage()
          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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

eINSTANCE

static final ModelFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createDecorator

Decorator createDecorator()
Returns a new object of class 'Decorator'.

Returns:
a new object of class 'Decorator'.

createEdgeDecorator

EdgeDecorator createEdgeDecorator()
Returns a new object of class 'Edge Decorator'.

Returns:
a new object of class 'Edge Decorator'.

createGraphDecorator

GraphDecorator createGraphDecorator()
Returns a new object of class 'Graph Decorator'.

Returns:
a new object of class 'Graph Decorator'.

createModel

Model createModel()
Returns a new object of class 'Model'.

Returns:
a new object of class 'Model'.

createNodeDecorator

NodeDecorator createNodeDecorator()
Returns a new object of class 'Node Decorator'.

Returns:
a new object of class 'Node Decorator'.

createSTEMTime

STEMTime createSTEMTime()
Returns a new object of class 'STEM Time'.

Returns:
a new object of class 'STEM Time'.

getModelPackage

ModelPackage getModelPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.