Class BlukiiDataItem<T>

java.lang.Object
com.blukii.sdk.config.BlukiiDataItem<T>
Type Parameters:
T - Type of Dataset

public final class BlukiiDataItem<T> extends Object
This class represents one configuration set of a blukii.

You can get a BlukiiDataItem via a BlukiiData object or via a read or write method of Blukii.

See Also:
  • Method Details

    • getCloudValue

      public T getCloudValue()
      Gets the cloud value of this item.
      Returns:
      the cloud value
    • getDeviceValue

      public T getDeviceValue()
      Gets the device value of this item.
      Returns:
      the device value
    • isModified

      public boolean isModified()
      Checks if this item is modified
      Returns:
      true if it is modified, otherwise false
    • isCloudSupported

      public boolean isCloudSupported()
      Checks if cloud is supported for this item.
      Returns:
      true if cloud is supported, otherwise false
    • getValueType

      public Class<T> getValueType()
      Gets the device value type class of this item.
      Returns:
      the device value type class