org.apache.ode.bpel.evt

## Class ProcessInstanceEvent

- java.lang.Object
- - org.apache.ode.bpel.evt.BpelEvent
  - - org.apache.ode.bpel.evt.ProcessEvent
    - - org.apache.ode.bpel.evt.ProcessInstanceEvent

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    ProcessCompletionEvent, ProcessInstanceStartedEvent, ProcessInstanceStateChangeEvent, ProcessMessageExchangeEvent, ProcessTerminationEvent, ScopeEvent

      public abstract class ProcessInstanceEvent
      extends ProcessEvent

  Base class for process instances events.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.ode.bpel.evt.BpelEvent

      `BpelEvent.TYPE`

  - ### Field Summary

    - ### Fields inherited from class org.apache.ode.bpel.evt.BpelEvent

      `eventContext`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProcessInstanceEvent()`
    `ProcessInstanceEvent(java.lang.Long processInstanceId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Long` | `getProcessInstanceId()` Get the process instance identifier of the process instnace that generated this event.
    `BpelEvent.TYPE` | `getType()`
    `void` | `setProcessInstanceId(java.lang.Long pid)`

    - ### Methods inherited from class org.apache.ode.bpel.evt.ProcessEvent

      `getProcessId, getProcessName, setProcessId, setProcessName`

    - ### Methods inherited from class org.apache.ode.bpel.evt.BpelEvent

      `eventName, getLineNo, getTimestamp, setLineNo, setTimestamp, toString`

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

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

- - ### Constructor Detail

    - #### ProcessInstanceEvent

          public ProcessInstanceEvent()

    - #### ProcessInstanceEvent

          public ProcessInstanceEvent(java.lang.Long processInstanceId)

  - ### Method Detail

    - #### getProcessInstanceId

          public java.lang.Long getProcessInstanceId()

      Get the process instance identifier of the process instnace that generated this event.
      Returns:
        process instance identiifier

    - #### setProcessInstanceId

          public void setProcessInstanceId(java.lang.Long pid)

    - #### getType

          public BpelEvent.TYPE getType()

      Specified by:
        `getType` in class `BpelEvent`