org.apache.uima.cas_data

## Interface FeatureValue

- All Superinterfaces:
    Serializable
  All Known Subinterfaces:
    PrimitiveValue, ReferenceValue

      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get()` Gets the feature value as a Java object.

- - ### Method Detail

    - #### get

          Object get()

      Gets the feature value as a Java object.
      Returns:
        the feature value.

Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.