Package org.openhab.core.model.items
Interface ItemsFactory
- 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:
ItemsFactoryImpl
public interface ItemsFactory
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 ItemsFactory
The singleton instance of the factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new object of class 'Item Model'.Returns a new object of class 'Model Binding'.Returns a new object of class 'Model Group Item'.Returns a new object of class 'Model Item'.Returns a new object of class 'Model Normal Item'.Returns a new object of class 'Model Property'.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
-
createItemModel
ItemModel createItemModel()Returns a new object of class 'Item Model'.- Returns:
- a new object of class 'Item Model'.
-
createModelItem
ModelItem createModelItem()Returns a new object of class 'Model Item'.- Returns:
- a new object of class 'Model Item'.
-
createModelGroupItem
ModelGroupItem createModelGroupItem()Returns a new object of class 'Model Group Item'.- Returns:
- a new object of class 'Model Group Item'.
-
createModelNormalItem
ModelNormalItem createModelNormalItem()Returns a new object of class 'Model Normal Item'.- Returns:
- a new object of class 'Model Normal Item'.
-
createModelBinding
ModelBinding createModelBinding()Returns a new object of class 'Model Binding'.- Returns:
- a new object of class 'Model Binding'.
-
createModelProperty
ModelProperty createModelProperty()Returns a new object of class 'Model Property'.- Returns:
- a new object of class 'Model Property'.
-
getItemsPackage
ItemsPackage getItemsPackage()Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-