Class ArtnetLightAsset

java.lang.Object
org.openremote.model.asset.Asset<org.openremote.model.asset.impl.LightAsset>
org.openremote.model.asset.impl.LightAsset
org.openremote.agent.protocol.artnet.ArtnetLightAsset
All Implemented Interfaces:
org.openremote.model.asset.AssetInfo, org.openremote.model.IdentifiableEntity<org.openremote.model.asset.impl.LightAsset>

@Entity public class ArtnetLightAsset extends org.openremote.model.asset.impl.LightAsset
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openremote.model.asset.Asset

    org.openremote.model.asset.Asset.AssetDeserializer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.openremote.model.asset.AssetDescriptor<ArtnetLightAsset>
     
    static final org.openremote.model.value.AttributeDescriptor<Integer>
     
    static final org.openremote.model.value.AttributeDescriptor<Integer>
     
    static final org.openremote.model.value.AttributeDescriptor<Integer>
     
    static final org.openremote.model.value.AttributeDescriptor<String[]>
     
    static final org.openremote.model.value.AttributeDescriptor<Integer>
     

    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
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
    void
    setGroupId(int groupId)
     
    void
    setLEDCount(int count)
     
    void
    setLightId(int lightId)
     
    void
     
    void
    setRequiredValues(String[] requiredValues)
     
    void
    setUniverse(int universe)
     

    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, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, postLoadCallback, 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
  • Field Details

    • LED_COUNT

      public static final org.openremote.model.value.AttributeDescriptor<Integer> LED_COUNT
    • LIGHT_ID

      public static final org.openremote.model.value.AttributeDescriptor<Integer> LIGHT_ID
    • GROUP_ID

      public static final org.openremote.model.value.AttributeDescriptor<Integer> GROUP_ID
    • UNIVERSE

      public static final org.openremote.model.value.AttributeDescriptor<Integer> UNIVERSE
    • REQUIRED_VALUES

      public static final org.openremote.model.value.AttributeDescriptor<String[]> REQUIRED_VALUES
    • DESCRIPTOR

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

    • ArtnetLightAsset

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

      protected ArtnetLightAsset(String name)
  • Method Details

    • getLightId

      public Optional<Integer> getLightId()
    • setLightId

      public void setLightId(int lightId)
    • getGroupId

      public Optional<Integer> getGroupId()
    • setGroupId

      public void setGroupId(int groupId)
    • getLEDCount

      public Optional<Integer> getLEDCount()
    • setLEDCount

      public void setLEDCount(int count)
    • getUniverse

      public Optional<Integer> getUniverse()
    • setUniverse

      public void setUniverse(int universe)
    • getRequiredValues

      public Optional<String[]> getRequiredValues()
    • setRequiredValues

      public void setRequiredValues(String[] requiredValues)
    • setReceivedValues

      public void setReceivedValues(Map<String,Integer> receivedValues)
    • getValues

      public Byte[] getValues()