org.obe.client.api.base
Class WMWorkItemImpl

java.lang.Object
  extended byorg.obe.client.api.base.AbstractTask
      extended byorg.obe.client.api.base.WMWorkItemImpl
All Implemented Interfaces:
OBEWorkItem, java.io.Serializable, WMWorkItem

public class WMWorkItemImpl
extends AbstractTask
implements OBEWorkItem

Author:
Anthony Eden, Adrian Price
See Also:
Serialized Form

Constructor Summary
WMWorkItemImpl()
           
WMWorkItemImpl(java.lang.String id, java.lang.String name, java.lang.String activityInstanceId, java.lang.String activityDefinitionId, java.lang.String processInstanceId, java.lang.String processDefinitionId, int priority, java.util.Date startedDate, java.util.Date targetDate, java.util.Date dueDate, java.util.Date completedDate, int toolIndex, WMWorkItemState state, WMParticipant participant, java.lang.String performer)
           
 
Method Summary
 java.lang.String getActivityInstanceId()
           
 WMParticipant getParticipant()
           
 java.lang.String getPerformer()
           
 WMWorkItemState getState()
           
 int getToolIndex()
           
 void setActivityInstanceId(java.lang.String activityInstanceId)
           
 void setParticipant(WMParticipant participant)
           
 void setPerformer(java.lang.String performer)
           
 void setState(java.lang.String state)
           
 void setState(WMWorkItemState state)
           
 void setToolIndex(int toolIndex)
           
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.base.AbstractTask
getActivityDefinitionId, getCompletedDate, getDueDate, getId, getName, getPriority, getProcessDefinitionId, getProcessInstanceId, getStartedDate, getTargetDate, getTemporalStatus, setActivityDefinitionId, setCompletedDate, setDueDate, setId, setName, setPriority, setPriority, setProcessDefinitionId, setProcessInstanceId, setStartedDate, setTargetDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.obe.client.api.model.OBEWorkItem
getCompletedDate, getDueDate, getProcessDefinitionId, getStartedDate, getTargetDate, getTemporalStatus
 
Methods inherited from interface org.wfmc.wapi.WMWorkItem
getActivityDefinitionId, getId, getName, getPriority, getProcessInstanceId
 

Constructor Detail

WMWorkItemImpl

public WMWorkItemImpl()

WMWorkItemImpl

public WMWorkItemImpl(java.lang.String id,
                      java.lang.String name,
                      java.lang.String activityInstanceId,
                      java.lang.String activityDefinitionId,
                      java.lang.String processInstanceId,
                      java.lang.String processDefinitionId,
                      int priority,
                      java.util.Date startedDate,
                      java.util.Date targetDate,
                      java.util.Date dueDate,
                      java.util.Date completedDate,
                      int toolIndex,
                      WMWorkItemState state,
                      WMParticipant participant,
                      java.lang.String performer)
Method Detail

getState

public final WMWorkItemState getState()
Specified by:
getState in interface WMWorkItem

getParticipant

public final WMParticipant getParticipant()
Specified by:
getParticipant in interface WMWorkItem

getActivityInstanceId

public final java.lang.String getActivityInstanceId()
Specified by:
getActivityInstanceId in interface WMWorkItem

getPerformer

public final java.lang.String getPerformer()
Specified by:
getPerformer in interface OBEWorkItem
See Also:
WorkItemAttributes.PERFORMER

getToolIndex

public final int getToolIndex()
Specified by:
getToolIndex in interface OBEWorkItem
See Also:
WorkItemAttributes.TOOL_INDEX

setActivityInstanceId

public final void setActivityInstanceId(java.lang.String activityInstanceId)

setParticipant

public final void setParticipant(WMParticipant participant)

setPerformer

public final void setPerformer(java.lang.String performer)

setState

public final void setState(java.lang.String state)
Specified by:
setState in class AbstractTask

setState

public final void setState(WMWorkItemState state)

setToolIndex

public final void setToolIndex(int toolIndex)

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.