spoof
 All Data Structures Namespaces Files Functions Variables Pages
Entity Class Reference
Inheritance diagram for Entity:
Collaboration diagram for Entity:

Public Member Functions

 processEvent ($function, $result)
- Public Member Functions inherited from Entity
 setEngine (IEngine $workflow)
- Public Member Functions inherited from IEntity
 getState ()
 setState ($state, $time)

Protected Attributes

 $entityID
- Protected Attributes inherited from Entity
 $workflow
 $datacontrol

Detailed Description

State workflow entity abstract class


Member Function Documentation

processEvent (   $function,
  $result 
)

Processes given event consisting of function and its result

This implements the IEntity interface requirement for processing an event in the state based workflow. Based on the current state of the object, and function/result combination, gets next state defined in workflow definition and sets the object state. This event is also logged in the workflow logger container.

Parameters:
string$functionfunction executed
string$resultresult of the executed function

Implements IEntity.

Here is the call graph for this function:


Field Documentation

$entityID
protected

The documentation for this class was generated from the following file: