Interface ModelThing
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,ModelPropertyContainer
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ModelBridge
- All Known Implementing Classes:
ModelBridgeImpl
,ModelThingImpl
A representation of the model object 'Model Thing'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Bridge UID' attribute.org.eclipse.emf.common.util.EList<ModelChannel>
Returns the value of the 'Channels' containment reference list.Returns the value of the 'Location' attribute.Returns the value of the 'Thing Id' attribute.Returns the value of the 'Thing Type Id' attribute.void
setBridgeUID
(String value) Sets the value of the 'Bridge UID
' attribute.void
setLocation
(String value) Sets the value of the 'Location
' attribute.void
setThingId
(String value) Sets the value of the 'Thing Id
' attribute.void
setThingTypeId
(String value) Sets the value of the 'Thing Type Id
' 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.openhab.core.model.thing.thing.ModelPropertyContainer
getId, getLabel, getProperties, setId, setLabel
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getThingTypeId
String getThingTypeId()Returns the value of the 'Thing Type Id' attribute.- Returns:
- the value of the 'Thing Type Id' attribute.
- See Also:
-
setThingTypeId
Sets the value of the 'Thing Type Id
' attribute.- Parameters:
value
- the new value of the 'Thing Type Id' attribute.- See Also:
-
getThingId
String getThingId()Returns the value of the 'Thing Id' attribute.- Returns:
- the value of the 'Thing Id' attribute.
- See Also:
-
setThingId
Sets the value of the 'Thing Id
' attribute.- Parameters:
value
- the new value of the 'Thing Id' attribute.- See Also:
-
getBridgeUID
String getBridgeUID()Returns the value of the 'Bridge UID' attribute.- Returns:
- the value of the 'Bridge UID' attribute.
- See Also:
-
setBridgeUID
Sets the value of the 'Bridge UID
' attribute.- Parameters:
value
- the new value of the 'Bridge UID' attribute.- See Also:
-
getLocation
String getLocation()Returns the value of the 'Location' attribute.- Returns:
- the value of the 'Location' attribute.
- See Also:
-
setLocation
Sets the value of the 'Location
' attribute.- Parameters:
value
- the new value of the 'Location' attribute.- See Also:
-
getChannels
org.eclipse.emf.common.util.EList<ModelChannel> getChannels()Returns the value of the 'Channels' containment reference list. The list contents are of typeModelChannel
.- Returns:
- the value of the 'Channels' containment reference list.
- See Also:
-