atg.commerce.order.edit
Class ReconciledItem

java.lang.Object
  extended by atg.commerce.order.edit.ReconciledItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AddItem, DeleteItem, UpdateItem

public class ReconciledItem
extends java.lang.Object
implements java.io.Serializable

This class represents an object that was reconciled.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  java.lang.Object mCloneContainer
           
protected  java.lang.Object mCloneItem
           
protected  java.lang.Object mKey
           
protected  int mOrdinalPosition
           
protected  java.lang.Object mOriginalContainer
           
protected  java.lang.Object mOriginalItem
           
protected  java.lang.String mPropertyName
           
 
Constructor Summary
ReconciledItem(java.lang.Object pOriginalItem, java.lang.Object pCloneItem, java.lang.Object pOriginalContainter, java.lang.Object pCloneContainer, java.lang.String pPropertyName, java.lang.String pKey, int pOrdinalPosition)
           
 
Method Summary
 java.lang.Object getCloneContainer()
          Returns the clone container that contains the clone item
 java.lang.Object getCloneItem()
          Returns the clone item that was created from the original item
 java.lang.Object getKey()
          Returns the key of the updated item, which can be used for updates to a mapped objects.
 int getOrdinalPosition()
          Returns the ordinal position of the updated object, which can be used for updates to objects in a List, etc.
 java.lang.Object getOriginalContainer()
          Returns the clone container that contains the clone item
 java.lang.Object getOriginalItem()
          Returns the original item from which the clone was created
 java.lang.String getPropertyName()
          Returns the property name that contained the updated object
 void setCloneContainer(java.lang.Object pCloneContainer)
           
 void setCloneItem(java.lang.Object pCloneItem)
           
 void setKey(java.lang.Object pKey)
           
 void setOrdinalPosition(int pOrdinalPosition)
           
 void setOriginalContainer(java.lang.Object pOriginalContainer)
           
 void setOriginalItem(java.lang.Object pOriginalItem)
           
 void setPropertyName(java.lang.String pPropertyName)
           
 java.lang.String toString()
           
 
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


mOriginalItem

protected java.lang.Object mOriginalItem

mCloneItem

protected java.lang.Object mCloneItem

mOriginalContainer

protected java.lang.Object mOriginalContainer

mCloneContainer

protected java.lang.Object mCloneContainer

mOrdinalPosition

protected int mOrdinalPosition

mKey

protected java.lang.Object mKey

mPropertyName

protected java.lang.String mPropertyName
Constructor Detail

ReconciledItem

public ReconciledItem(java.lang.Object pOriginalItem,
                      java.lang.Object pCloneItem,
                      java.lang.Object pOriginalContainter,
                      java.lang.Object pCloneContainer,
                      java.lang.String pPropertyName,
                      java.lang.String pKey,
                      int pOrdinalPosition)
Method Detail

getOriginalItem

public java.lang.Object getOriginalItem()
Returns the original item from which the clone was created

Returns:
Object

setOriginalItem

public void setOriginalItem(java.lang.Object pOriginalItem)

getCloneContainer

public java.lang.Object getCloneContainer()
Returns the clone container that contains the clone item

Returns:
Object

setCloneContainer

public void setCloneContainer(java.lang.Object pCloneContainer)

getCloneItem

public java.lang.Object getCloneItem()
Returns the clone item that was created from the original item

Returns:
Object

setCloneItem

public void setCloneItem(java.lang.Object pCloneItem)

getOriginalContainer

public java.lang.Object getOriginalContainer()
Returns the clone container that contains the clone item

Returns:
Object

setOriginalContainer

public void setOriginalContainer(java.lang.Object pOriginalContainer)

getOrdinalPosition

public int getOrdinalPosition()
Returns the ordinal position of the updated object, which can be used for updates to objects in a List, etc.

Returns:
the ordinal position

setOrdinalPosition

public void setOrdinalPosition(int pOrdinalPosition)

getKey

public java.lang.Object getKey()
Returns the key of the updated item, which can be used for updates to a mapped objects.

Returns:
the key

setKey

public void setKey(java.lang.Object pKey)

getPropertyName

public java.lang.String getPropertyName()
Returns the property name that contained the updated object

Returns:
String

setPropertyName

public void setPropertyName(java.lang.String pPropertyName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object