|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.model.ExecutionObject
This class provides general information about an object that is executed by the workflow engine.
Field Summary | |
---|---|
static java.lang.String |
ABORTED
Constant identifying an aborted state. |
static java.lang.String |
BYPASSED
Constant identifying a bypassed state. |
static java.lang.String |
COMPLETED
Constant identifying a completed state. |
static short |
DEFAULT_PRIORITY
|
static java.lang.String |
NOTSTARTED
Constant identifying a not-started state. |
static java.lang.String |
RUNNING
Constant identifying a running state. |
static java.lang.String |
SUSPENDED
Constant identifying a suspended state. |
static java.lang.String |
TERMINATED
Constant identifying a terminated state. |
Constructor Summary | |
---|---|
ExecutionObject()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compares this object with the specified object for order. |
java.lang.String |
getDescription()
Returns a description of the object. |
long |
getId()
Returns the engine unique ID of the object. |
java.util.Date |
getLastModified()
Returns the last modified time stamp of the object. |
java.lang.String |
getName()
Returns the name of the object. |
short |
getPriority()
Returns the priority of the object. |
java.lang.String |
getResult()
Returns the final result of the object. |
java.lang.String |
getResultDetail()
Returns a more detailed description of the object's final result. |
java.lang.String |
getState()
Returns the state of the object. |
java.util.Date |
getTimeCompleted()
Returns the date/time the object completed. |
java.util.Date |
getTimeStarted()
Returns the date/time the object started. |
boolean |
isFinished()
Returns whether the object's execution has permanently stopped. |
void |
setDescription(java.lang.String description)
Changes the object's description. |
void |
setId(long id)
Changes the object's ID. |
void |
setLastModified(java.util.Date lastModified)
Changes the object's last modified time stamp. |
void |
setName(java.lang.String name)
Changes the object's name. |
void |
setPriority(short priority)
Changes the object's priority. |
void |
setResult(java.lang.String result)
Changes the object's result. |
void |
setResultDetail(java.lang.String detail)
Changes the details of the object's result. |
void |
setState(java.lang.String state)
Changes the object's state. |
void |
setTimeCompleted(java.util.Date timeCompleted)
Changes the object's completion time. |
void |
setTimeStarted(java.util.Date timeStarted)
Changes the object's start time. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RUNNING
public static final java.lang.String NOTSTARTED
public static final java.lang.String TERMINATED
public static final java.lang.String ABORTED
public static final java.lang.String SUSPENDED
public static final java.lang.String COMPLETED
public static final java.lang.String BYPASSED
public static final short DEFAULT_PRIORITY
Constructor Detail |
public ExecutionObject()
Method Detail |
public long getId()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getState()
public java.util.Date getTimeStarted()
public java.util.Date getTimeCompleted()
public java.util.Date getLastModified()
public java.lang.String getResult()
public java.lang.String getResultDetail()
public short getPriority()
public void setId(long id)
id
- ID of the object.public void setPriority(short priority)
priority
- Priority of the object.public void setName(java.lang.String name)
name
- String name of the object.public void setDescription(java.lang.String description)
description
- String description of the object.public void setState(java.lang.String state)
state
- String representing the state of the object.public boolean isFinished()
public void setTimeStarted(java.util.Date timeStarted)
timeStarted
- Date representing the object's start time.public void setTimeCompleted(java.util.Date timeCompleted)
timeCompleted
- Date representing the object's completion time.public void setResult(java.lang.String result)
result
- String representing the result of the object.public void setResultDetail(java.lang.String detail)
detail
- String representing the details of the object's result.public void setLastModified(java.util.Date lastModified)
lastModified
- Date representing the last modified time stamp.public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- the Object to be compared.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |