org.obe.spi.model
Interface ProcessInstance
- All Superinterfaces:
- AttributedEntity
- public interface ProcessInstance
- extends AttributedEntity
Holds the persistent state of a workflow process instance. 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
- See Also:
ProcessInstanceAttributes
getState
public int getState()
setState
public void setState(int state)
getPriority
public int getPriority()
setPriority
public void setPriority(int priority)
getCreatedDate
public java.util.Date getCreatedDate()
setCreatedDate
public void setCreatedDate(java.util.Date createdDate)
getActivityTargetDate
public java.util.Date getActivityTargetDate()
setActivityTargetDate
public void setActivityTargetDate(java.util.Date targetDate)
getActivityDueDate
public java.util.Date getActivityDueDate()
setActivityDueDate
public void setActivityDueDate(java.util.Date dueDate)
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)
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)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getParticipants
public java.lang.String[] getParticipants()
setParticipants
public void setParticipants(java.lang.String[] participants)
getActivityInstances
public java.util.Collection getActivityInstances()
- Returns a collection of activity instances.
- Returns:
- An immutable collection of activity instances.
getParentActivityInstance
public ActivityInstance getParentActivityInstance()
- Returns the activity instance that started this process as a subflow.
- Returns:
- The parent activity instance, or
null
if this
process instance does not have a parent.
getParentActivityInstanceId
public java.lang.String getParentActivityInstanceId()
OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.