| |
|
| java.lang.Object xflow.common.WorkItem
WorkItem | public class WorkItem implements Serializable(Code) | | This class represents a work item that gets routed to a process.
|
WorkItem | public WorkItem()(Code) | | Constructor
|
WorkItem | public WorkItem(WorkItemId wid)(Code) | | Constructor
Parameters: wid - a work item ID |
getPayload | public Object getPayload()(Code) | | Gets the payload of this work item.
the payload |
getPayloadType | public String getPayloadType()(Code) | | Gets the payload type of this work item.
the payload type - JAVA_OBJECT or XML |
getProperties | public HashMap getProperties()(Code) | | Gets a work item's property hash map
the property hash map |
getProperty | public Object getProperty(String key)(Code) | | Gets a work item's property
Parameters: key - the property name the property value |
getWorkflowId | public WorkflowId getWorkflowId()(Code) | | Gets the workflow instance ID
the workflow instance ID |
setId | public void setId(WorkItemId id)(Code) | | Sets the work item ID
Parameters: id - the work item ID |
setPayload | public void setPayload(Object pload)(Code) | | Sets the payload of this work item.
Parameters: pload - the payload |
setPayloadType | public void setPayloadType(String pt)(Code) | | Sets the payload type of this work item.
Parameters: pt - the payload type - JAVA_OBJECT or XML |
setProperties | public void setProperties(HashMap m)(Code) | | Sets a work item's property hash map
Parameters: m - the property hash map |
setProperty | public void setProperty(String key, Object value)(Code) | | Sets a property on a work item
Parameters: key - the property name Parameters: value - the property value - must be serializable |
setWorkflowId | public void setWorkflowId(WorkflowId wfId)(Code) | | Sets the workflow instance ID
Parameters: wfId - the workflow instance ID |
toString | public String toString()(Code) | | Gets the string representation of this object
the string representation |
|
|
|