Package org.apache.uima.cas

# Interface SofaID

All Known Implementing Classes:
  `SofaID_impl`

@Deprecated public 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)`.
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

  Modifier and Type
  Method
  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 Details

  - ### 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()}.`