org.obe.spi.model
Interface WorkItem

All Superinterfaces:
AttributedEntity

public interface WorkItem
extends AttributedEntity

Holds the persistent state of a work item. This interface uses only standard Java data types; it does not need to know about WAPI data types - conversions are handled externally to the persistence service. No parameter validation need be performed by implementations.

Author:
Adrian Price, Anthony Eden
See Also:
WorkItemAttributes

Field Summary
static java.lang.String[] attributes
          Attributes for WorkItem.
static java.beans.PropertyDescriptor[] propertyDescriptors
          Property descriptors for WorkItem.
 
Fields inherited from interface org.obe.spi.model.AttributedEntity
ACTIVITY_INSTANCE_TYPE, PROCESS_INSTANCE_TYPE, WORKITEM_TYPE
 
Method Summary
 java.lang.String getActivityDefinitionId()
           
 ActivityInstance getActivityInstance()
          Returns the parent activity instance for this work item.
 java.lang.String getActivityInstanceId()
           
 java.util.Date getCompletedDate()
           
 java.util.Date getDueDate()
           
 java.lang.String getName()
           
 java.lang.String getParticipant()
           
 java.lang.String getPerformer()
           
 int getPriority()
           
 java.util.Date getStartedDate()
           
 int getState()
           
 java.util.Date getTargetDate()
           
 int getToolIndex()
           
 java.lang.String getWorkItemId()
           
 void setCompletedDate(java.util.Date completedDate)
           
 void setDueDate(java.util.Date dueDate)
           
 void setName(java.lang.String name)
           
 void setParticipant(java.lang.String participant)
           
 void setPerformer(java.lang.String performer)
           
 void setPriority(int priority)
           
 void setStartedDate(java.util.Date startedDate)
           
 void setState(int state)
           
 void setTargetDate(java.util.Date targetDate)
           
 void setToolIndex(int index)
           
 
Methods inherited from interface org.obe.spi.model.AttributedEntity
getAttributeInstance, getAttributeInstances, getEntityId, getProcessDefinitionId, getProcessInstanceId
 

Field Detail

propertyDescriptors

public static final java.beans.PropertyDescriptor[] propertyDescriptors
Property descriptors for WorkItem. N.B. DO NOT WRITE TO THIS ARRAY!!!


attributes

public static final java.lang.String[] attributes
Attributes for WorkItem. N.B. DO NOT WRITE TO THIS ARRAY!!!

Method Detail

getActivityInstanceId

public java.lang.String getActivityInstanceId()

getActivityDefinitionId

public java.lang.String getActivityDefinitionId()

getWorkItemId

public java.lang.String getWorkItemId()

getToolIndex

public int getToolIndex()

setToolIndex

public void setToolIndex(int index)

getState

public int getState()

setState

public void setState(int state)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

getStartedDate

public java.util.Date getStartedDate()

setStartedDate

public void setStartedDate(java.util.Date startedDate)

getCompletedDate

public java.util.Date getCompletedDate()

setCompletedDate

public void setCompletedDate(java.util.Date completedDate)

getTargetDate

public java.util.Date getTargetDate()

setTargetDate

public void setTargetDate(java.util.Date targetDate)

getDueDate

public java.util.Date getDueDate()

setDueDate

public void setDueDate(java.util.Date dueDate)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getParticipant

public java.lang.String getParticipant()

setParticipant

public void setParticipant(java.lang.String participant)

getPerformer

public java.lang.String getPerformer()

setPerformer

public void setPerformer(java.lang.String performer)

getActivityInstance

public ActivityInstance getActivityInstance()
Returns the parent activity instance for this work item.

Returns:
The parent ActivityInstance


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