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

    Fields
    Modifier and Type
    Field
    Description
    static final org.openremote.model.asset.AssetDescriptor<TradfriPlugAsset>
     

    Fields inherited from class org.openremote.model.asset.impl.PlugAsset

    ON_OFF

    Fields inherited from class org.openremote.model.asset.Asset

    accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, version

    Fields inherited from interface org.openremote.agent.protocol.tradfri.TradfriAsset

    DEVICE_ID
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    For use by hydrators (i.e.
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addEventHandlers(Device device, Consumer<org.openremote.model.attribute.AttributeEvent> attributeEventConsumer)
     
    void
     

    Methods inherited from class org.openremote.model.asset.impl.PlugAsset

    getOnOff

    Methods 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, toStringAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.openremote.agent.protocol.tradfri.TradfriAsset

    getAttributes, getDeviceId, getId, setDeviceId
  • Field Details

    • DESCRIPTOR

      public static final org.openremote.model.asset.AssetDescriptor<TradfriPlugAsset> DESCRIPTOR
  • Constructor Details

    • TradfriPlugAsset

      protected TradfriPlugAsset()
      For use by hydrators (i.e. JPA/Jackson)
    • TradfriPlugAsset

      public TradfriPlugAsset(String name)
  • Method Details