org.apache.uima.cas_data.impl

## Class ReferenceValueImpl

- java.lang.Object
- - org.apache.uima.cas_data.impl.ReferenceValueImpl

- All Implemented Interfaces:
    Serializable, FeatureValue, ReferenceValue

      public class ReferenceValueImpl
      extends Object
      implements ReferenceValue

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReferenceValueImpl(String aTargetId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get()` Gets the feature value as a Java object.
    `String` | `getTargetId()` Gets the ID of the target FeatureStructure.
    `void` | `setTargetId(String aId)` Sets the ID of the target FeatureStructure.
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ReferenceValueImpl

          public ReferenceValueImpl(String aTargetId)

  - ### Method Detail

    - #### getTargetId

          public String getTargetId()

      Description copied from interface: `ReferenceValue`
      Gets the ID of the target FeatureStructure.
      Specified by:
        `getTargetId` in interface `ReferenceValue`
      Returns:
        The ID of the target FeatureStructure

    - #### setTargetId

          public void setTargetId(String aId)

      Description copied from interface: `ReferenceValue`
      Sets the ID of the target FeatureStructure.
      Specified by:
        `setTargetId` in interface `ReferenceValue`
      Parameters:
        `aId` - The ID of the target FeatureStructure

    - #### get

          public Object get()

      Description copied from interface: `FeatureValue`
      Gets the feature value as a Java object.
      Specified by:
        `get` in interface `FeatureValue`
      Returns:
        the feature value.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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