org.ow2.orchestra.facade.runtime.impl
Class ActivityInstanceImpl

java.lang.Object
  extended by org.ow2.orchestra.facade.runtime.impl.RuntimeRecordImpl
      extended by org.ow2.orchestra.facade.runtime.impl.ActivityInstanceImpl
All Implemented Interfaces:
java.io.Serializable, Record, ActivityInstance, RuntimeRecord
Direct Known Subclasses:
ActivityWithChildrenInstanceImpl, ActivityWithSingleChildInstanceImpl, AssignActivityInstanceImpl, CompensateActivityInstanceImpl, CompensateScopeActivityInstanceImpl, EmptyActivityInstanceImpl, ExitActivityInstanceImpl, InvokeActivityInstanceImpl, ReceiveActivityInstanceImpl, ReplyActivityInstanceImpl, RethrowActivityInstanceImpl, ThrowActivityInstanceImpl, WaitActivityInstanceImpl

public abstract class ActivityInstanceImpl
extends RuntimeRecordImpl
implements ActivityInstance

Author:
Gael Lalire, S. Ali Tokmen
See Also:
Serialized Form

Field Summary
protected  ActivityDefinitionUUID definitionUUID
           
protected  BpelFaultException lastException
           
protected  ActivityInstanceUUID uuid
           
 
Fields inherited from class org.ow2.orchestra.facade.runtime.impl.RuntimeRecordImpl
activityState, endedDate, instanceUUID, processUUID, startedDate
 
Constructor Summary
ActivityInstanceImpl(ActivityInstance record)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ActivityDefinitionUUID getDefinitionUUID()
          Get the UUID of the activity definition
 BpelFaultException getLastException()
          Get the last exception thrown by this activity, null if the activity has never thrown any exceptions
 ActivityInstanceUUID getUUID()
          Get the uuid of the activity instance
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.orchestra.facade.runtime.impl.RuntimeRecordImpl
end, getEndedDate, getProcessDefinitionUUID, getProcessInstanceUUID, getStartedDate, getState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.ActivityInstance
getType
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.RuntimeRecord
getEndedDate, getProcessDefinitionUUID, getProcessInstanceUUID, getStartedDate, getState
 

Field Detail

uuid

protected ActivityInstanceUUID uuid

definitionUUID

protected ActivityDefinitionUUID definitionUUID

lastException

protected BpelFaultException lastException
Constructor Detail

ActivityInstanceImpl

public ActivityInstanceImpl(ActivityInstance record)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getUUID

public ActivityInstanceUUID getUUID()
Description copied from interface: ActivityInstance
Get the uuid of the activity instance

Specified by:
getUUID in interface ActivityInstance
Returns:
the UUID of the activity instance.

getDefinitionUUID

public ActivityDefinitionUUID getDefinitionUUID()
Description copied from interface: ActivityInstance
Get the UUID of the activity definition

Specified by:
getDefinitionUUID in interface ActivityInstance

getLastException

public BpelFaultException getLastException()
Description copied from interface: ActivityInstance
Get the last exception thrown by this activity, null if the activity has never thrown any exceptions

Specified by:
getLastException in interface ActivityInstance

hashCode

public final int hashCode()
Overrides:
hashCode in class RuntimeRecordImpl

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class RuntimeRecordImpl


Copyright © 2009 OW2 Consortium. All Rights Reserved.