Package org.openhab.core.model.items
Interface ModelItem
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ModelGroupItem
,ModelNormalItem
- All Known Implementing Classes:
ModelGroupItemImpl
,ModelItemImpl
,ModelNormalItemImpl
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<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.void
Sets the value of the 'Icon
' attribute.void
Sets the value of the 'Label
' attribute.void
Sets the value of the 'Name
' attribute.void
Sets 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, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
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:
-
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:
-