|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.CommerceIdentifierImpl atg.commerce.order.HandlingInstructionImpl
public class HandlingInstructionImpl
An implementation of a class which represents a Handling object. This class implements all the methods to manipulate a Handling object.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
HandlingInstructionImpl()
|
Method Summary | |
---|---|
void |
addChangedProperty(java.lang.String pPropertyName)
Adds a changedProperty |
void |
clearChangedProperties()
Clears the changedProperties List |
java.util.Set |
getChangedProperties()
Returns the changedProperties |
java.lang.String |
getCommerceItemId()
Returns the commerceItemId |
java.lang.String |
getHandlingInstructionClassType()
Returns the handlingInstructionClassType |
java.lang.String |
getHandlingMethod()
Returns property handlingMethod |
java.lang.Object |
getPropertyValue(java.lang.String pPropertyName)
Returns a property value |
long |
getQuantity()
Returns the quantity |
MutableRepositoryItem |
getRepositoryItem()
Returns the repositoryItem |
boolean |
getSaveAllProperties()
Returns the saveAllProperties |
java.lang.String |
getShippingGroupId()
Returns the shippingGroupId |
boolean |
isChanged()
Returns the isChanged flag |
void |
setChanged(boolean pChanged)
Marks this object as changed |
void |
setCommerceItemId(java.lang.String pCommerceItemId)
Sets the commerceItemId |
void |
setHandlingInstructionClassType(java.lang.String pHandlingInstructionClassType)
Sets the handlingInstructionClassType |
void |
setHandlingMethod(java.lang.String pHandlingMethod)
Sets property handlingMethod |
void |
setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
Sets a property value |
void |
setQuantity(long pQuantity)
Sets the quantity |
void |
setRepositoryItem(MutableRepositoryItem pRepositoryItem)
Sets the repositoryItem |
void |
setSaveAllProperties(boolean pSaveAllProperties)
Sets the saveAllProperties |
void |
setShippingGroupId(java.lang.String pShippingGroupId)
Sets the shippingGroupId |
void |
update(java.util.Observable o,
java.lang.Object arg)
This method is called whenever a property in a contained object changes and the containing object needs to be notified. |
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface atg.commerce.order.CommerceIdentifier |
---|
getId |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public HandlingInstructionImpl()
Method Detail |
---|
public java.lang.String getHandlingInstructionClassType()
getHandlingInstructionClassType
in interface HandlingInstruction
public void setHandlingInstructionClassType(java.lang.String pHandlingInstructionClassType)
setHandlingInstructionClassType
in interface HandlingInstruction
public java.lang.String getHandlingMethod()
getHandlingMethod
in interface HandlingInstruction
public void setHandlingMethod(java.lang.String pHandlingMethod)
setHandlingMethod
in interface HandlingInstruction
pHandlingMethod
- the value to set for property handlingMethodpublic java.lang.String getCommerceItemId()
getCommerceItemId
in interface HandlingInstruction
public void setCommerceItemId(java.lang.String pCommerceItemId)
setCommerceItemId
in interface HandlingInstruction
public java.lang.String getShippingGroupId()
getShippingGroupId
in interface HandlingInstruction
public void setShippingGroupId(java.lang.String pShippingGroupId)
setShippingGroupId
in interface HandlingInstruction
public long getQuantity()
getQuantity
in interface HandlingInstruction
public void setQuantity(long pQuantity)
setQuantity
in interface HandlingInstruction
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
o
- the object which changedarg
- the name of the property which changedpublic boolean getSaveAllProperties()
getSaveAllProperties
in interface ChangedProperties
public void setSaveAllProperties(boolean pSaveAllProperties)
setSaveAllProperties
in interface ChangedProperties
public boolean isChanged()
isChanged
in interface ChangedProperties
public void setChanged(boolean pChanged)
setChanged
in interface ChangedProperties
public java.util.Set getChangedProperties()
getChangedProperties
in interface ChangedProperties
public void addChangedProperty(java.lang.String pPropertyName)
addChangedProperty
in interface ChangedProperties
public void clearChangedProperties()
clearChangedProperties
in interface ChangedProperties
public MutableRepositoryItem getRepositoryItem()
getRepositoryItem
in interface ChangedProperties
public void setRepositoryItem(MutableRepositoryItem pRepositoryItem)
setRepositoryItem
in interface ChangedProperties
public java.lang.Object getPropertyValue(java.lang.String pPropertyName)
getPropertyValue
in interface ChangedProperties
public void setPropertyValue(java.lang.String pPropertyName, java.lang.Object pPropertyValue)
setPropertyValue
in interface ChangedProperties
pPropertyValue
- the value to set for the given property value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |