com.smartgwt.client.data

## Class SimpleType.SimpleTypeValueExtractor

- java.lang.Object
- - com.smartgwt.client.data.SimpleType.SimpleTypeValueExtractor

- Enclosing class:
    SimpleType

      public abstract static class SimpleType.SimpleTypeValueExtractor
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleType.SimpleTypeValueExtractor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract java.lang.Object` | `getAtomicValue(java.lang.Object value)` Method to extract an atomic value (such as a string or number) from some arbitrary live data value.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleType.SimpleTypeValueExtractor

          public SimpleType.SimpleTypeValueExtractor()

  - ### Method Detail

    - #### getAtomicValue

          public abstract java.lang.Object getAtomicValue(java.lang.Object value)

      Method to extract an atomic value (such as a string or number) from some arbitrary live data value. This method will be called for every field value of the specified type in order to convert from the raw data value to an atomic type to be used for standard DataBinding features such as sorting and editing.
      Parameters:
        `value` - Raw data value to convert. Typically this would be a field value for some record.
      Returns:
        Atomic value. This should match the underlying atomic type specified by the `#inheritsFrom` attribute.