|
|||||||||
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.ShippingGroupImpl atg.commerce.order.HardgoodShippingGroup
public class HardgoodShippingGroup
This class is an implementation of a HargoodShippingGroup. It represents all the information which designates a shipment of a hardgood by a traditional carrier.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.commerce.order.ShippingGroupImpl |
---|
sResourceBundle |
Constructor Summary | |
---|---|
HardgoodShippingGroup()
|
Method Summary | |
---|---|
boolean |
arePropertiesEmpty()
This method is used to check the emptiness of the current shipping group instance. |
void |
copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer)
This method is used to copy the information from the source shipping group to self destination. |
boolean |
doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer)
Do i match with the ShippingGroupPropertyContainer that is passed in? |
java.util.List<java.lang.String> |
getPropertyContainerPropertyNames()
This method returns the list of properties. |
Address |
getShippingAddress()
Returns the shippingAddress |
java.lang.String |
getTrackingNumber()
Returns the trackingNumber |
java.util.List<java.lang.String> |
initializePropertyContainerPropertyNames()
This method initializes the properties which are used to find a match, copy information from source shipping group to self and find emptiness of the shipping group. |
void |
setShippingAddress(Address pShippingAddress)
Sets the shippingAddress |
void |
setTrackingNumber(java.lang.String pTrackingNumber)
Sets the trackingNumber |
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.commerce.order.CommerceIdentifier |
---|
getId |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public HardgoodShippingGroup()
Method Detail |
---|
public java.lang.String getTrackingNumber()
public void setTrackingNumber(java.lang.String pTrackingNumber)
public Address getShippingAddress()
getShippingAddress
in interface ShippingAddressContainer
public void setShippingAddress(Address pShippingAddress)
setShippingAddress
in interface ShippingAddressContainer
public java.util.List<java.lang.String> getPropertyContainerPropertyNames()
getPropertyContainerPropertyNames
in interface ShippingGroupPropertyContainer
initializePropertyContainerPropertyNames()
public java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
If you want to include any additional properties, you need to extend this method to add any additional properties.
initializePropertyContainerPropertyNames
in interface ShippingGroupPropertyContainer
public void copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer) throws CommerceException
This method uses propertyContainerPropertyNames
property list to copy from
source shipping group to itself. Only the propertyContainerPropertyNames
properties are
copied.
copyProperties
in interface ShippingGroupPropertyContainer
pSrcShippingGroupPropertyContainer
- -- The information to be copied from
CommerceException
ShippingGroupImpl.copyProperties(ShippingGroup, java.util.Collection)
public boolean arePropertiesEmpty() throws CommerceException
propertyContainerPropertyNames
property list.
If any of the properties are not empty this returns false, true otherwise.
arePropertiesEmpty
in interface ShippingGroupPropertyContainer
CommerceException
ShippingGroupImpl.arePropertiesEmpty(java.util.Collection)
public boolean doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer) throws CommerceException
ShippingGroupPropertyContainer
that is passed in?
This method uses propertyContainerPropertyNames
property list to find whether
the shipping group matches with the current shipping group instance. If all the properties of shipping group
parameter and current instance match, then the both instances are considered as match.
doPropertiesMatch
in interface ShippingGroupPropertyContainer
pShippingGroupPropertyContainer
- -- The object to be matched against
CommerceException
ShippingGroupImpl.doPropertiesMatch(ShippingGroup, List)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |