Interface ModelBridge
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,ModelPropertyContainer,ModelThing,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ModelBridgeImpl
A representation of the model object 'Model Bridge'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<ModelThing> Returns the value of the 'Things' containment reference list.booleanisBridge()Returns the value of the 'Bridge' attribute.booleanReturns the value of the 'Things Header' attribute.voidsetBridge(boolean value) Sets the value of the 'Bridge' attribute.voidsetThingsHeader(boolean value) Sets the value of the 'Things Header' 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.openhab.core.model.thing.thing.ModelPropertyContainer
getId, getLabel, getProperties, setId, setLabelMethods inherited from interface org.openhab.core.model.thing.thing.ModelThing
getBridgeUID, getChannels, getLocation, getThingId, getThingTypeId, isChannelsHeader, setBridgeUID, setChannelsHeader, setLocation, setThingId, setThingTypeIdMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isBridge
boolean isBridge()Returns the value of the 'Bridge' attribute.- Returns:
- the value of the 'Bridge' attribute.
- See Also:
-
setBridge
void setBridge(boolean value) Sets the value of the 'Bridge' attribute.- Parameters:
value- the new value of the 'Bridge' attribute.- See Also:
-
isThingsHeader
boolean isThingsHeader()Returns the value of the 'Things Header' attribute.- Returns:
- the value of the 'Things Header' attribute.
- See Also:
-
setThingsHeader
void setThingsHeader(boolean value) Sets the value of the 'Things Header' attribute.- Parameters:
value- the new value of the 'Things Header' attribute.- See Also:
-
getThings
org.eclipse.emf.common.util.EList<ModelThing> getThings()Returns the value of the 'Things' containment reference list. The list contents are of typeModelThing.- Returns:
- the value of the 'Things' containment reference list.
- See Also:
-