com.smartgwt.client.types

## Enum ValueClass

- java.lang.Object
- - java.lang.Enum<ValueClass>
  - - com.smartgwt.client.types.ValueClass

- All Implemented Interfaces:
    ValueEnum, java.io.Serializable, java.lang.Comparable<ValueClass>

      public enum ValueClass
      extends java.lang.Enum<ValueClass>
      implements ValueEnum

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and 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

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getValue()`
    `static ValueClass` | `valueOf(java.lang.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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

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

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

- - ### Enum Constant Detail

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

    - #### values

          public static ValueClass[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (ValueClass c : ValueClass.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static ValueClass valueOf(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public java.lang.String getValue()

      Specified by:
        `getValue` in interface `ValueEnum`