org.apache.uima.cas

## Interface SofaID

- Deprecated.
  As of v2.0, this is no longer needed. CAS views can now be obtained directly using String identifiers, through the method `CAS.getView(String)`.

      @Deprecated
      public interface SofaID

  Interface that contains the handle to a Sofa FS in the CAS. The SofaID is obtained from the UimaContext by calling `UimaContext.mapToSofaID()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getComponentSofaName()` Deprecated. Get the component Sofa name that was used to obtain this SofaID by calling {
    `String` | `getSofaID()` Deprecated. Get the Sofa ID.
    `void` | `setComponentSofaName(String aSofaName)` Deprecated. Set the component Sofa name that was used to obtain this SofaID by calling `UimaContext.mapToSofaID()`.
    `void` | `setSofaID(String aSofaID)` Deprecated. Set the Sofa ID of a Sofa FS in the CAS.

- - ### Method Detail

    - #### setSofaID

          void setSofaID(String aSofaID)

      Deprecated.
      Set the Sofa ID of a Sofa FS in the CAS.
      Parameters:
        `aSofaID` - -

    - #### getSofaID

          String getSofaID()

      Deprecated.
      Get the Sofa ID.
      Returns:
        Sofa ID

    - #### setComponentSofaName

          void setComponentSofaName(String aSofaName)

      Deprecated.
      Set the component Sofa name that was used to obtain this SofaID by calling `UimaContext.mapToSofaID()`.
      Parameters:
        `aSofaName` - -

    - #### getComponentSofaName

          String getComponentSofaName()

      Deprecated.
      Get the component Sofa name that was used to obtain this SofaID by calling {
      Returns:
        Component Sofa Name
      See Also:
        `UimaContext.mapToSofaID()}.`

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