Enum ValueClass

java.lang.Object
java.lang.Enum<ValueClass>
com.smartgwt.client.types.ValueClass
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<ValueClass>, Constable

public enum ValueClass extends Enum<ValueClass> implements ValueEnum
  • Enum Constant Details

    • GENERAL

      public static final ValueClass GENERAL
      Any kind of data. Usually this is textual, but not necessarily always so. An example would be a "2-4 sentence summary".

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "general".

    • CATEGORICAL

      public static final ValueClass CATEGORICAL
      A fixed list of categories or nominal values.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "categorical".

    • ORDINAL

      public static final ValueClass ORDINAL
      An extension of CATEGORICAL, where the categories are also strictly ordered.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "ordinal".

    • INTERVAL

      public static final ValueClass INTERVAL
      Strictly numerical data.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "interval".

    • RATIO

      public static final ValueClass RATIO
      An extension of INTERVAL, where 0 means the absence of something, and ratios between values are meaningful.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "ratio".

  • Method Details

    • values

      public static ValueClass[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ValueClass valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum