java.lang.Object
org.rockhopper.smarthome.wes.jwes.model.data.type.Field<V,W>
Direct Known Subclasses:
WesRelaysCard, WesRelaysCards

public class Field<V,W> extends Object
  • Field Details

    • PRIORITY_IMMEDIATE

      public static final Byte PRIORITY_IMMEDIATE
    • PRIORITY_REALTIME

      public static final Byte PRIORITY_REALTIME
    • PRIORITY_HIGH

      public static final Byte PRIORITY_HIGH
    • PRIORITY_MEDIUM

      public static final Byte PRIORITY_MEDIUM
    • PRIORITY_LOW

      public static final Byte PRIORITY_LOW
    • PRIORITY_DISCOVERY

      public static final Byte PRIORITY_DISCOVERY
    • PRIORITY_SKIPPED

      public static final Byte PRIORITY_SKIPPED
  • Constructor Details

    • Field

      public Field(Byte priority)
      Implicit type is String
      Parameters:
      priority - Field's priority
    • Field

      public Field(Class<V> type, Byte priority)
      Constructor
      Parameters:
      type - Type of Field
      priority - Priority given to that Field
    • Field

      public Field(Class<V> type, Class<W> subType, Byte priority)
      Parameters:
      type - Type of Field
      subType - Sub-Type of the Field
      priority - Priority given to that Field
  • Method Details

    • getValue

      public V getValue()
    • setValue

      public void setValue(V value)
    • getType

      public Class<V> getType()
    • getSubType

      public Class<W> getSubType()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getPriority

      public Byte getPriority()
    • setPriority

      public void setPriority(Byte priority)