Class TradfriLightAsset

java.lang.Object
org.openremote.model.asset.Asset<org.openremote.model.asset.impl.LightAsset>
org.openremote.model.asset.impl.LightAsset
org.openremote.agent.protocol.tradfri.TradfriLightAsset
All Implemented Interfaces:
TradfriAsset, org.openremote.model.IdentifiableEntity<org.openremote.model.asset.impl.LightAsset>

@Entity public class TradfriLightAsset extends org.openremote.model.asset.impl.LightAsset 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<TradfriLightAsset>
     

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

    BRIGHTNESS, COLOUR_RGB, COLOUR_TEMPERATURE, 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)
     
    static Integer
    convertBrightness(Integer value, boolean toPercentage)
     
    void
     

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

    getBrightness, getColourRGB, getOnOff, getTemperature, setBrightness, setColourRGB, setOnOff, setTemperature

    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<TradfriLightAsset> DESCRIPTOR
  • Constructor Details

    • TradfriLightAsset

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

      public TradfriLightAsset(String name)
  • Method Details