|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.workflow.model.PackagedApprovalItem
com.ibm.itim.workflow.model.PackagedApprovalDecisionItem
public class PackagedApprovalDecisionItem
This class extends the PackagedApprovalItem class to add information about the decision for a particular item. This class represents items that either need or already have had a decision made, where as the parent class represents read-only of informational items.
It is composed of a String
decision code, which has values
that depend on the workflow activity definition. If the decision is still
pending, the value will be null.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.itim.workflow.model.PackagedApprovalItem |
---|
PackagedApprovalItem.ItemType |
Constructor Summary | |
---|---|
PackagedApprovalDecisionItem(PackagedApprovalItem.ItemType t,
java.lang.String id)
Constructs a PackagedApprovalDecisionItem with the specified
type and String identifier. |
|
PackagedApprovalDecisionItem(PackagedApprovalItem.ItemType t,
java.lang.String id,
java.util.List<PackagedApprovalItem> c)
Constructs a PackagedApprovalDecisionItem with the specified
type and String identifier and no decision. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares the values in the item. |
java.lang.String |
getDecisionCode()
Returns the String decision for this item. |
int |
hashCode()
Returns the hash code for this object. |
void |
setDecisionCode(java.lang.String decision)
Sets the String decision for this item. |
java.lang.String |
toString()
Returns a String containing the values of the object. |
Methods inherited from class com.ibm.itim.workflow.model.PackagedApprovalItem |
---|
getChildren, getItemId, getItemType, setChildren, setItemType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PackagedApprovalDecisionItem(PackagedApprovalItem.ItemType t, java.lang.String id)
PackagedApprovalDecisionItem
with the specified
type and String identifier. The item will initially contain an
empty list of children and no decision.
t
- the ItemType
for the new approval itemid
- the String
identifier for the itempublic PackagedApprovalDecisionItem(PackagedApprovalItem.ItemType t, java.lang.String id, java.util.List<PackagedApprovalItem> c)
PackagedApprovalDecisionItem
with the specified
type and String identifier and no decision.
t
- the ItemType
for the new approval itemid
- the String
identifier for the itemc
- the List
of child PackagedApprovalItem
,
which should not be nullMethod Detail |
---|
public java.lang.String getDecisionCode()
String
decision for this item.
Decision code may be the value corresponding to
ActivityResult.APPROVED
or ActivityResult.REJECTED
.
String
decision, null
if no decision
has been set for this itemActivityResult
public void setDecisionCode(java.lang.String decision)
String
decision for this item. Values
depend on the activity definition being executed. The value
null
is used to represent decisions that have not
been made.
Decision code may be the value corresponding to
ActivityResult.APPROVED
or ActivityResult.REJECTED
.
decision
- String
decisionActivityResult
public int hashCode()
hashCode
in class PackagedApprovalItem
public boolean equals(java.lang.Object o)
equals
in class PackagedApprovalItem
o
- the PackagedApprovalItem
to compare to this one
public java.lang.String toString()
toString
in class PackagedApprovalItem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |