Class TradfriPlugAsset
java.lang.Object
org.openremote.model.asset.Asset<org.openremote.model.asset.impl.PlugAsset>
org.openremote.model.asset.impl.PlugAsset
org.openremote.agent.protocol.tradfri.TradfriPlugAsset
- All Implemented Interfaces:
TradfriAsset,org.openremote.model.IdentifiableEntity<org.openremote.model.asset.impl.PlugAsset>
@Entity
public class TradfriPlugAsset
extends org.openremote.model.asset.impl.PlugAsset
implements TradfriAsset
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.asset.Asset
org.openremote.model.asset.Asset.AssetSave -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.openremote.model.asset.AssetDescriptor<TradfriPlugAsset>Fields inherited from class org.openremote.model.asset.impl.PlugAsset
ON_OFFFields inherited from class org.openremote.model.asset.Asset
accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, versionFields inherited from interface org.openremote.agent.protocol.tradfri.TradfriAsset
DEVICE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventHandlers(Device device, Consumer<org.openremote.model.attribute.AttributeEvent> attributeEventConsumer) voidinitialiseAttributes(Device device) Methods inherited from class org.openremote.model.asset.impl.PlugAsset
getOnOffMethods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, getAttribute, getAttribute, getAttribute, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openremote.agent.protocol.tradfri.TradfriAsset
getAttributes, getDeviceId, getId, setDeviceId
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
TradfriPlugAsset
protected TradfriPlugAsset()For use by hydrators (i.e. JPA/Jackson) -
TradfriPlugAsset
-
-
Method Details
-
addEventHandlers
public void addEventHandlers(Device device, Consumer<org.openremote.model.attribute.AttributeEvent> attributeEventConsumer) - Specified by:
addEventHandlersin interfaceTradfriAsset
-
initialiseAttributes
- Specified by:
initialiseAttributesin interfaceTradfriAsset
-