org.apache.ode.bpel.evt
Class ProcessInstanceEvent

java.lang.Object
  extended by org.apache.ode.bpel.evt.BpelEvent
      extended by org.apache.ode.bpel.evt.ProcessEvent
          extended by 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
ProcessInstanceEvent()
           
ProcessInstanceEvent(java.lang.Long processInstanceId)
           
 
Method Summary
 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