com.tietoenator.trip.jxp.session

## Class TdbSessionObject

- java.lang.Object
- - com.tietoenator.trip.jxp.session.TdbSessionObject

- Direct Known Subclasses:
    TdbControlCacheManager, TdbGraphNotification, TdbGraphPath, TdbGraphPathEdge, TdbGraphPathVertex, TdbMessageProvider, TdbSearchSet

      public class TdbSessionObject
      extends java.lang.Object

  Base class for all objects that depend on a TdbSession to do anything, i.e. anything but strict utility classes

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancel()` Cancel xml transaction
    `TdbSession` | `getSession()` Retrieve the session object
    `boolean` | `isCancelable()` Retrieve cancelable state
    `void` | `setCancelable(boolean cancelable)` Set cancelable state

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

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

- - ### Method Detail

    - #### getSession

          public TdbSession getSession()

      Retrieve the session object
      Returns:
        The active session

    - #### isCancelable

          public boolean isCancelable()

      Retrieve cancelable state
      Returns:
        true if object is cancelable

    - #### setCancelable

          public void setCancelable(boolean cancelable)
                             throws TdbException

      Set cancelable state
      Parameters:
        `cancelable` - true if object is cancelable
      Throws:
        `TdbException`

    - #### cancel

          public void cancel()
                      throws TdbException

      Cancel xml transaction
      Throws:
        `TdbException`