Package org.apache.uima.cas_data

# Interface FeatureValue

All Superinterfaces:
  `Serializable`

All Known Subinterfaces:
  `PrimitiveValue`, `ReferenceValue`

All Known Implementing Classes:
  `PrimitiveValueImpl`, `ReferenceValueImpl`

public interface FeatureValue extends Serializable
The base interface for the value of a feature. Feature values will be implement one of three subinterfaces:

- `PrimitiveValue` (string, integer, float)
- `ReferenceValue` (reference, via ID, to another feature structure)

Note that arrays are represented as FeatureStructures, not primitive values. Therefore features with array values will be of type `ReferenceValue`, where the reference will resolve to an instance of `PrimitiveArrayFS` or `ReferenceArrayFS`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `get()`
  Gets the feature value as a Java object.

- ## Method Details

  - ### get

    Object get()
    Gets the feature value as a Java object.
    Returns:
      the feature value.