Interface ThingFactory
- 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:
ThingFactoryImpl
public interface ThingFactory
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:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ThingFactory
The singleton instance of the factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new object of class 'Model Bridge'.Returns a new object of class 'Model Channel'.Returns a new object of class 'Model Property'.Returns a new object of class 'Model Property Container'.Returns a new object of class 'Model Thing'.Returns a new object of class 'Model'.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
The singleton instance of the factory.
-
-
Method Details
-
createThingModel
ThingModel createThingModel()Returns a new object of class 'Model'.- Returns:
- a new object of class 'Model'.
-
createModelPropertyContainer
ModelPropertyContainer createModelPropertyContainer()Returns a new object of class 'Model Property Container'.- Returns:
- a new object of class 'Model Property Container'.
-
createModelThing
ModelThing createModelThing()Returns a new object of class 'Model Thing'.- Returns:
- a new object of class 'Model Thing'.
-
createModelChannel
ModelChannel createModelChannel()Returns a new object of class 'Model Channel'.- Returns:
- a new object of class 'Model Channel'.
-
createModelProperty
ModelProperty createModelProperty()Returns a new object of class 'Model Property'.- Returns:
- a new object of class 'Model Property'.
-
createModelBridge
ModelBridge createModelBridge()Returns a new object of class 'Model Bridge'.- Returns:
- a new object of class 'Model Bridge'.
-
getThingPackage
ThingPackage getThingPackage()Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-