org.apache.uima.cas

## Class AbstractCas_ImplBase

- java.lang.Object
- - org.apache.uima.cas.AbstractCas_ImplBase

- All Implemented Interfaces:
    AbstractCas
  Direct Known Subclasses:
    CASImpl, JCasImpl

      public abstract class AbstractCas_ImplBase
      extends Object
      implements AbstractCas

  Base class from which CAS implementations should extend.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractCas_ImplBase()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `release()` Default implementation that returns this CAS to its CasManager by calling `CasOwner.releaseCas(AbstractCas)`.
    `void` | `setOwner(CasOwner aCasOwner)` Provides this CAS with a handle to the CASOwner that owns it.

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

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

- - ### Constructor Detail

    - #### AbstractCas_ImplBase

          public AbstractCas_ImplBase()

  - ### Method Detail

    - #### release

          public void release()

      Default implementation that returns this CAS to its CasManager by calling `CasOwner.releaseCas(AbstractCas)`.
      Specified by:
        `release` in interface `AbstractCas`

    - #### setOwner

          public void setOwner(CasOwner aCasOwner)

      Provides this CAS with a handle to the CASOwner that owns it. This is called by the framework when a CAS instance is created. This handle is used to implement the release() method by returning the CAS to its CasOwner.
      Parameters:
        `aCasOwner` - -

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