|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.fulfillment.Modification atg.commerce.fulfillment.IdTargetModification atg.commerce.fulfillment.GenericUpdate
public class GenericUpdate
This class holds the information that describes a property on an object and its current and new value. This can be used to do an update modification on any object. This object presumes that the target objects are beans.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.commerce.fulfillment.Modification |
---|
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 Summary | |
---|---|
GenericUpdate()
|
Method Summary | |
---|---|
int |
getModificationType()
This method returns the type of modification that is to be performed. |
java.io.Serializable |
getNewValue()
This is the new value of the property returned by getPropertyName |
java.io.Serializable |
getOriginalValue()
This is the original value of the property returned by getPropertyName |
java.lang.String |
getPropertyName()
This is the name of the property that should be changed. |
void |
setModificationType(int pModificationType)
This is a read-only property in this implementation. |
void |
setNewValue(java.io.Serializable pNewValue)
|
void |
setOriginalValue(java.io.Serializable pOriginalValue)
|
void |
setPropertyName(java.lang.String pPropertyName)
|
java.lang.String |
toString()
This method returns a readable string representing the contents of this message. |
Methods inherited from class atg.commerce.fulfillment.IdTargetModification |
---|
getTargetId, getTargetType, setTargetId, setTargetType |
Methods inherited from class atg.commerce.fulfillment.Modification |
---|
getModificationId, getModificationStatus, getModificationStatusText, setModificationId, setModificationStatus, setModificationStatusText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericUpdate()
Method Detail |
---|
public void setModificationType(int pModificationType)
setModificationType
in class Modification
Modification.UPDATE
public int getModificationType()
Modification
getModificationType
in class Modification
public void setPropertyName(java.lang.String pPropertyName)
public java.lang.String getPropertyName()
public void setOriginalValue(java.io.Serializable pOriginalValue)
public java.io.Serializable getOriginalValue()
getPropertyName()
public void setNewValue(java.io.Serializable pNewValue)
public java.io.Serializable getNewValue()
getPropertyName()
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 |