atg.commerce.fulfillment
Class GenericUpdate

java.lang.Object
  extended by atg.commerce.fulfillment.Modification
      extended by atg.commerce.fulfillment.IdTargetModification
          extended by atg.commerce.fulfillment.GenericUpdate
All Implemented Interfaces:
java.io.Serializable

public class GenericUpdate
extends IdTargetModification

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.

See Also:
Serialized Form

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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

GenericUpdate

public GenericUpdate()
Method Detail

setModificationType

public void setModificationType(int pModificationType)
This is a read-only property in this implementation. The type of all GenericUpdate messages is UPDATE

Overrides:
setModificationType in class Modification
See Also:
Modification.UPDATE

getModificationType

public int getModificationType()
Description copied from class: Modification
This method returns the type of modification that is to be performed.

Overrides:
getModificationType in class Modification

setPropertyName

public void setPropertyName(java.lang.String pPropertyName)

getPropertyName

public java.lang.String getPropertyName()
This is the name of the property that should be changed.


setOriginalValue

public void setOriginalValue(java.io.Serializable pOriginalValue)

getOriginalValue

public java.io.Serializable getOriginalValue()
This is the original value of the property returned by getPropertyName

See Also:
getPropertyName()

setNewValue

public void setNewValue(java.io.Serializable pNewValue)

getNewValue

public java.io.Serializable getNewValue()
This is the new value of the property returned by getPropertyName

See Also:
getPropertyName()

toString

public java.lang.String toString()
This method returns a readable string representing the contents of this message.

Overrides:
toString in class java.lang.Object