org.jbpm.pvm.internal.history.model
Class HistoryTaskImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.history.model.HistoryTaskImpl
All Implemented Interfaces:
java.io.Serializable, HistoryTask

public class HistoryTaskImpl
extends java.lang.Object
implements java.io.Serializable, HistoryTask

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String assignee
           
protected  java.util.Date createTime
           
protected  long dbid
           
protected  int dbversion
           
protected  java.util.Set<HistoryDetailImpl> details
          only here to get hibernate cascade
protected  java.util.Date duedate
           
protected  long duration
           
protected  java.util.Date endTime
           
protected  java.lang.String executionId
           
protected  java.util.Set<HistoryVariableImpl> historyVariables
          only here to get hibernate cascade
protected  int nextDetailIndex
           
protected  java.lang.String outcome
           
protected  int priority
           
protected  java.lang.String state
           
protected  java.util.Set<HistoryTaskImpl> subTasks
           
 
Fields inherited from interface org.jbpm.api.history.HistoryTask
STATE_COMPLETED, STATE_OBSOLETE
 
Constructor Summary
HistoryTaskImpl()
           
HistoryTaskImpl(TaskImpl task)
           
 
Method Summary
 void addDetail(HistoryDetailImpl detail)
           
 void addSubTask(HistoryTaskImpl historyTask)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getAssignee()
           
 java.util.Date getCreateTime()
           
 long getDuration()
           
 java.util.Date getEndTime()
           
 java.lang.String getExecutionId()
           
 java.lang.String getId()
           
 java.lang.String getOutcome()
           
 java.lang.String getState()
           
 void setAssignee(java.lang.String assignee)
           
 void setDuration(long duration)
           
 void setEndTime(java.util.Date endTime)
           
 void setExecutionId(java.lang.String executionId)
           
 void setOutcome(java.lang.String outcome)
           
 void setState(java.lang.String state)
           
 void updated(TaskImpl task)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbid

protected long dbid

dbversion

protected int dbversion

executionId

protected java.lang.String executionId

assignee

protected java.lang.String assignee

state

protected java.lang.String state

outcome

protected java.lang.String outcome

priority

protected int priority

duedate

protected java.util.Date duedate

createTime

protected java.util.Date createTime

endTime

protected java.util.Date endTime

duration

protected long duration

nextDetailIndex

protected int nextDetailIndex

subTasks

protected java.util.Set<HistoryTaskImpl> subTasks

historyVariables

protected java.util.Set<HistoryVariableImpl> historyVariables
only here to get hibernate cascade


details

protected java.util.Set<HistoryDetailImpl> details
only here to get hibernate cascade

Constructor Detail

HistoryTaskImpl

public HistoryTaskImpl()

HistoryTaskImpl

public HistoryTaskImpl(TaskImpl task)
Method Detail

updated

public void updated(TaskImpl task)

addDetail

public void addDetail(HistoryDetailImpl detail)

addSubTask

public void addSubTask(HistoryTaskImpl historyTask)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getId

public java.lang.String getId()
Specified by:
getId in interface HistoryTask

setEndTime

public void setEndTime(java.util.Date endTime)

getState

public java.lang.String getState()
Specified by:
getState in interface HistoryTask

getAssignee

public java.lang.String getAssignee()
Specified by:
getAssignee in interface HistoryTask

getOutcome

public java.lang.String getOutcome()
Specified by:
getOutcome in interface HistoryTask

setOutcome

public void setOutcome(java.lang.String outcome)

setAssignee

public void setAssignee(java.lang.String assignee)

getCreateTime

public java.util.Date getCreateTime()
Specified by:
getCreateTime in interface HistoryTask

getEndTime

public java.util.Date getEndTime()
Specified by:
getEndTime in interface HistoryTask

getDuration

public long getDuration()
Specified by:
getDuration in interface HistoryTask

setDuration

public void setDuration(long duration)

getExecutionId

public java.lang.String getExecutionId()
Specified by:
getExecutionId in interface HistoryTask

setState

public void setState(java.lang.String state)

setExecutionId

public void setExecutionId(java.lang.String executionId)


Copyright © 2010 JBoss Community. All Rights Reserved.