public class ConfirmBOD extends AbstractBusinessObjectDocument implements BusinessObjectDocument
ConfirmBOD is a BusinessObjectDocument. This
BusinessObjectDocument definition contains an ApplicationArea
and a DataArea like all others. However the DataArea contains
a noun com.ibm.commerce.giftregistry.service.valueobjects.BOD. The BOD
noun contains some or all of the requested nouns and a ProcessingOutcomeMessage.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
ConfirmBOD()
Default constructor
|
ConfirmBOD(ActivityToken aToken,
DataArea dataArea)
Construct the object by specifying a token and dataArea
|
ConfirmBOD(ConfirmBOD cBOD)
Constructor to create this ConfirmBOD from another.
|
| Modifier and Type | Method and Description |
|---|---|
Confirmation |
getConfirmation()
Get the success or failure status of the original request.
|
void |
setAppendBOD(BOD bod)
Sets the BOD object that holds the NounOutcomeValue and ProcessingOutcomeMessage
|
void |
setAppendOurcomeValueObject(BaseVO baseVO)
Creates a BOD object and inserts the given value object inside of it.
|
void |
setBOD(BOD[] bods)
Sets the BOD object that holds the NounOutcomeValue and ProcessingOutcomeMessage
|
void |
setConfirmation(Confirmation pConfirmation)
Sets the success or failure status of the original request.
|
void |
setOutcomeValueObjects(java.util.List baseVOList)
Given a list of valueObjects, a BOD is created for each which consists of
one value object each.
|
getAction, getApplicationArea, getDataArea, getValue, setActivityToken, setDataArea, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAction, getApplicationArea, getDataArea, getValue, setActivityToken, setDataAreapublic static final java.lang.String COPYRIGHT
public ConfirmBOD()
public ConfirmBOD(ConfirmBOD cBOD)
the - confirmation BOD whose content will be copied to the create BOD.public ConfirmBOD(ActivityToken aToken, DataArea dataArea)
aToken - the activity token used by this BOD.dataArea - the data area that will be used by this BODpublic Confirmation getConfirmation()
public void setConfirmation(Confirmation pConfirmation)
confirmation - the confirmation used by this BODpublic void setBOD(BOD[] bods)
a - list of BOD instances contained in this object.public void setAppendBOD(BOD bod)
BOD - the object to be appened.public void setAppendOurcomeValueObject(BaseVO baseVO)
BaseVO - the value object that will be used to construct the BOD, which will then be appended.public void setOutcomeValueObjects(java.util.List baseVOList)
the - list of value objects that will be converted into outcome value, which
will be appended.