org.ow2.bonita.facade.runtime
Interface ActivityBody

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AutomaticBody, RouteBody, SubflowBody, TaskInstance

public interface ActivityBody
extends java.io.Serializable

Runtime (recorded) data concerning activities is divided in a common part and a body.
This interface concerns the body of the activity.
It provides three common methods for the four interfaces dedicated for body of activity
(getting ActivityBodyUUID, started and ended date).


Method Summary
 ActivityBody copy()
           
 java.util.Date getEndedDate()
          Returns the date recorded after the activity is finished.
 java.util.Date getStartedDate()
          Returns the date recorded after the activity is started.
 ActivityBodyUUID getUUID()
          Return the UUID of the ActivityBody.
 

Method Detail

getUUID

ActivityBodyUUID getUUID()
Return the UUID of the ActivityBody.
For instance, if the body of the activity is a TaskInstance this UUID is a TaskUUID.

Returns:
The UUID of the ActivityBody.

copy

ActivityBody copy()

getStartedDate

java.util.Date getStartedDate()
Returns the date recorded after the activity is started.

Returns:
The date recorded after the activity is started.

getEndedDate

java.util.Date getEndedDate()
Returns the date recorded after the activity is finished.

Returns:
The date recorded after the activity is finished.


Copyright © 2008 OW2 Consortium. All Rights Reserved.