Class ValueDescriptor

java.lang.Object
com.motivewave.platform.sdk.common.desc.ValueDescriptor

public class ValueDescriptor extends Object
Identifies and describes values that are generated by a study.
Author:
Tony
  • Constructor Details

    • ValueDescriptor

      public ValueDescriptor(Object key, String label, String[] labelValues)
      Constructor
      Parameters:
      key -
      label -
      labelValues -
    • ValueDescriptor

      public ValueDescriptor(Object key, Enums.ValueType type, String label, String[] labelValues)
      Constructor
      Parameters:
      key -
      type -
      label -
      labelValues -
    • ValueDescriptor

      public ValueDescriptor(Object key, Object[] choices, String label, String[] labelValues)
  • Method Details

    • getKey

      public Object getKey()
      Returns:
      the key that may be used to retrieve a value in the data series.
    • getKeyAsString

      public String getKeyAsString()
    • getLabel

      public String getLabel()
    • getLabel

      public String getLabel(Settings settings)
    • getLabelValues

      public List<String> getLabelValues()
      These values are used to generate the label displayed in the cursor data window. Each of the strings in this list must map to a valid setting.
    • getType

      public Enums.ValueType getType()
    • getChoices

      public List<Object> getChoices()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object