Package com.smartgwt.client.types

# 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

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `CATEGORICAL`
  A fixed list of categories or nominal values.
  `GENERAL`
  Any kind of data.
  `INTERVAL`
  Strictly numerical data.
  `ORDINAL`
  An extension of CATEGORICAL, where the categories are also strictly ordered.
  `RATIO`
  An extension of INTERVAL, where 0 means the absence of something, and ratios between values are meaningful.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getValue()`
  `static ValueClass`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ValueClass[]`
  `values()`
  Returns an array containing the constants of this enum type, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 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`