public class CloneEditState
extends java.lang.Object
implements java.io.Serializable
Objects of this type are created to maintain state information about an order edit operation.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
protected boolean |
mAlreadyReconciled |
protected Order |
mCloneOrder |
protected Order |
mOriginalOrder |
protected boolean |
mReconciling |
protected java.util.Map |
mStateData |
protected boolean |
mUnreconcilable |
Constructor and Description |
---|
CloneEditState() |
Modifier and Type | Method and Description |
---|---|
void |
addStateData(java.lang.Object pStateDataKey,
java.lang.Object pStateDataObject)
Adds the extra data object keyed by the given object
|
Order |
getCloneOrder() |
Order |
getOriginalOrder() |
java.lang.Object |
getStateData(java.lang.Object pStateDataKey)
Returns the extra data object keyed by the given object
|
protected java.util.Map |
getStateDataMap()
Returns the extra data map.
|
void |
initState(Order pOriginalOrder,
Order pCloneOrder)
initializes the CloneEditState for the reconciliation process
|
boolean |
isAlreadyReconciled()
Returns true if the update state has been reconciled.
|
boolean |
isReconciling()
Returns true when the order is in the process of being reconciled.
|
boolean |
isUnreconcilable() |
void |
removeStateData(java.lang.Object pStateDataKey)
Removes the extra data object keyed by the given object
|
protected void |
setAlreadyReconciled(boolean pAlreadyReconciled) |
void |
setCloneOrder(Order pCloneOrder)
Sets the clone order
|
void |
setOriginalOrder(Order pOriginalOrder)
Sets the original order
|
protected void |
setReconciling(boolean pReconciling) |
protected void |
setStateDataMap(java.util.Map pStateData) |
void |
setUnreconcilable(boolean pUnreconcilable) |
public static final java.lang.String CLASS_VERSION
protected Order mOriginalOrder
protected Order mCloneOrder
protected java.util.Map mStateData
protected boolean mUnreconcilable
protected boolean mAlreadyReconciled
protected boolean mReconciling
protected java.util.Map getStateDataMap()
protected void setStateDataMap(java.util.Map pStateData)
public java.lang.Object getStateData(java.lang.Object pStateDataKey)
pStateDataKey
- public void addStateData(java.lang.Object pStateDataKey, java.lang.Object pStateDataObject)
pStateDataKey
- pStateDataObject
- public void removeStateData(java.lang.Object pStateDataKey)
pStateDataKey
- public Order getOriginalOrder()
public void setOriginalOrder(Order pOriginalOrder)
pOriginalOrder
- public Order getCloneOrder()
public void setCloneOrder(Order pCloneOrder)
pCloneOrder
- public boolean isUnreconcilable()
public void setUnreconcilable(boolean pUnreconcilable)
public boolean isAlreadyReconciled()
protected void setAlreadyReconciled(boolean pAlreadyReconciled)
public boolean isReconciling()
protected void setReconciling(boolean pReconciling)