public class GenericAdd extends IdContainerModification
This class is used to add a target specified by id or value to a container specified by
id or value. This can be used for the following tasks:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
ADD, PAYMENT_GROUP_UPDATE, REMOVE, SHIPPING_GROUP_UPDATE, STATUS_FAILED, STATUS_PENDING, STATUS_SUCCESS, TARGET_ITEM, TARGET_ORDER, TARGET_PAYMENT_GROUP, TARGET_RELATIONSHIP, TARGET_SHIPPING_GROUP, UPDATE
Constructor and Description |
---|
GenericAdd() |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getContainerValue()
This is the container within which an object of getTargetType should
be added.
|
int |
getModificationType()
This is a read-only property in this implementation.
|
java.io.Serializable |
getTargetValue()
This is the object that should be added to the container.
|
void |
setContainerValue(java.io.Serializable pContainerValue) |
void |
setModificationType(int pModificationType)
This method sets the modification type.
|
void |
setTargetValue(java.io.Serializable pTargetValue) |
java.lang.String |
toString()
This method returns a readable string representing the contents of this message.
|
getContainerId, getContainerType, setContainerId, setContainerType
getTargetId, getTargetType, setTargetId, setTargetType
getModificationId, getModificationStatus, getModificationStatusText, setModificationId, setModificationStatus, setModificationStatusText
public void setModificationType(int pModificationType)
Modification
setModificationType
in class Modification
public int getModificationType()
getModificationType
in class Modification
Modification.ADD
public void setContainerValue(java.io.Serializable pContainerValue)
public java.io.Serializable getContainerValue()
public void setTargetValue(java.io.Serializable pTargetValue)
public java.io.Serializable getTargetValue()
IdTargetModification.getTargetId()
public java.lang.String toString()
toString
in class java.lang.Object