Package org.openhab.core.model.items
Interface ModelItem
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ModelItemImpl
public interface ModelItem
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Model Item'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<String> getArgs()Returns the value of the 'Args' attribute list.org.eclipse.emf.common.util.EList<ModelBinding> Returns the value of the 'Bindings' containment reference list.org.eclipse.emf.common.util.EList<String> Returns the value of the 'Groups' attribute list.getIcon()Returns the value of the 'Icon' attribute.getLabel()Returns the value of the 'Label' attribute.getName()Returns the value of the 'Name' attribute.org.eclipse.emf.common.util.EList<String> getTags()Returns the value of the 'Tags' attribute list.getType()Returns the value of the 'Type' attribute.voidSets the value of the 'Icon' attribute.voidSets the value of the 'Label' attribute.voidSets the value of the 'Name' attribute.voidSets the value of the 'Type' attribute.Methods 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
-
Method Details
-
getType
String getType()Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
-
setType
Sets the value of the 'Type' attribute.- Parameters:
value- the new value of the 'Type' attribute.- See Also:
-
getArgs
org.eclipse.emf.common.util.EList<String> getArgs()Returns the value of the 'Args' attribute list. The list contents are of typeString.- Returns:
- the value of the 'Args' attribute list.
- See Also:
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
-
getLabel
String getLabel()Returns the value of the 'Label' attribute.- Returns:
- the value of the 'Label' attribute.
- See Also:
-
setLabel
Sets the value of the 'Label' attribute.- Parameters:
value- the new value of the 'Label' attribute.- See Also:
-
getIcon
String getIcon()Returns the value of the 'Icon' attribute.- Returns:
- the value of the 'Icon' attribute.
- See Also:
-
setIcon
Sets the value of the 'Icon' attribute.- Parameters:
value- the new value of the 'Icon' attribute.- See Also:
-
getGroups
org.eclipse.emf.common.util.EList<String> getGroups()Returns the value of the 'Groups' attribute list. The list contents are of typeString.- Returns:
- the value of the 'Groups' attribute list.
- See Also:
-
getTags
org.eclipse.emf.common.util.EList<String> getTags()Returns the value of the 'Tags' attribute list. The list contents are of typeString.- Returns:
- the value of the 'Tags' attribute list.
- See Also:
-
getBindings
org.eclipse.emf.common.util.EList<ModelBinding> getBindings()Returns the value of the 'Bindings' containment reference list. The list contents are of typeModelBinding.- Returns:
- the value of the 'Bindings' containment reference list.
- See Also:
-