org.apache.ode.bpel.compiler.bom

## Class CompensationHandler

- java.lang.Object
- - org.apache.ode.bpel.compiler.bom.BpelObject
  - - org.apache.ode.bpel.compiler.bom.CompensationHandler

- All Implemented Interfaces:
    SourceLocation

      public class CompensationHandler
      extends BpelObject

  Representation of a BPEL compensation handler.

- - ### Field Summary

    - ### Fields inherited from class org.apache.ode.bpel.compiler.bom.BpelObject

      `ATTR_LINENO`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompensationHandler(org.w3c.dom.Element el)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Activity` | `getActivity()` Get the compensating activity.

    - ### Methods inherited from class org.apache.ode.bpel.compiler.bom.BpelObject

      `createBpelObject, getAttribute, getAttribute, getAttribute, getAttribute, getChildren, getChildren, getChildren, getColumnNo, getElement, getExtensibilityElement, getExtensibilityElements, getFirstChild, getFirstChild, getFirstExtensibilityElementElement, getLineNo, getNamespaceContext, getPath, getTextValue, getType, getURI, is11, is20Draft, isAttributeSet, rewriteTargetNS, setURI, toString`

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

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

- - ### Constructor Detail

    - #### CompensationHandler

          public CompensationHandler(org.w3c.dom.Element el)

  - ### Method Detail

    - #### getActivity

          public Activity getActivity()

      Get the compensating activity. This is the activity that gets activated if the compensation handler is activated.
      Returns:
        compensating activity.