org.ow2.orchestra.facade.runtime
Interface ActivityInstance

All Superinterfaces:
Record, RuntimeRecord, java.io.Serializable
All Known Subinterfaces:
ActivityWithChildrenInstance, ActivityWithSingleChildInstance, AssignActivityInstance, EmptyActivityInstance, FlowActivityInstance, ForeachActivityInstance, IfActivityInstance, InvokeActivityInstance, PickActivityInstance, ProcessActivityInstance, ReceiveActivityInstance, RepeatUntilActivityInstance, ReplyActivityInstance, ScopeActivityInstance, SequenceActivityInstance, WaitActivityInstance, WhileActivityInstance

public interface ActivityInstance
extends RuntimeRecord

Author:
Gael Lalire

Method Summary
 ActivityType getType()
          Get the type of the activity instance.
 ActivityInstanceUUID getUUID()
          Get the uuid of the activity instance
 
Methods inherited from interface org.ow2.orchestra.facade.runtime.RuntimeRecord
getEndedDate, getProcessDefinitionUUID, getProcessInstanceUUID, getStartedDate, getState
 

Method Detail

getUUID

ActivityInstanceUUID getUUID()
Get the uuid of the activity instance

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

getType

ActivityType getType()
Get the type of the activity instance. Types are defined in ActivityType.class.

Returns:
the type of the activity (corresponding to ActivityType.class)


Copyright © 2009 OW2 Consortium. All Rights Reserved.