|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A shipping method is a mechanism by which product is delivered. It stores a standard set of attributes and allows for complex shipping cost calculation.
Primary Key = theory.smart.ebusiness.shipping.ShippingMethodPk
key
[ShippingMethod] <*>------> [String] (Primary Key)
carrier
[ShippingMethod] <*>------> [String]
method
[ShippingMethod] <*>------> [String]
averageShippingTime
[ShippingMethod] <*>------> [int]
price
[ShippingMethod] <*>------> [theory.smart.axiom.units.Price]
weightLimit
[ShippingMethod] <*>------> [theory.smart.axiom.units.Quantity]
restrictions
[ShippingMethod] <*>------> [String]
description
[ShippingMethod] <*>------> [String]
poBoxAllowed
[ShippingMethod] <*>------> [boolean]
signatureRequired
[ShippingMethod] <*>------> [boolean]
saturdayDelivery
[ShippingMethod] <*>------> [boolean]
internationalDelivery
[ShippingMethod] <*>------> [boolean]
sizeLimit
[ShippingMethod] <*>------> [theory.smart.axiom.units.Quantity]
packagingType
[ShippingMethod] <*>------> [String]
percentage
[ShippingMethod] <*>------> [double]
costCalculationMechanism
[ShippingMethod] <*>------> [String]
ShippingMethodPk,
ShippingMethodHome,
ShippingMethodImpl,
ShippingMethodValue| Fields inherited from interface theory.smart.ebusiness.shipping.ShippingMethodConstants |
FLATRATE,
PERCENTAGE,
PERITEM,
POLICY |
| Method Summary | |
int |
getAverageShippingTime()
Get the value of averageShippingTime |
java.lang.String |
getCarrier()
Get the value of carrier |
java.lang.String |
getCostCalculationMechanism()
Get the value of costCalculationMechanism |
java.lang.String |
getDescription()
Get the value of description |
boolean |
getInternationalDelivery()
Get the value of internationalDelivery |
java.lang.String |
getKey()
|
java.lang.String |
getMethod()
Get the value of method |
java.lang.String |
getPackagingType()
Get the value of packagingType |
double |
getPercentage()
Get the value of percentage |
boolean |
getPoBoxAllowed()
Get the value of poBoxAllowed |
Price |
getPrice()
Get the value of price |
java.lang.String |
getRestrictions()
Get the value of restrictions |
boolean |
getSaturdayDelivery()
Get the value of saturdayDelivery |
Price |
getShippingCost(PackingList list)
Get the cost of shipping an entire order. |
Price |
getShippingCost(ShippingCostCalculationPolicy policy,
PackingList list)
Get the cost of shipping an entire order using an alternative policy. |
ShippingCostCalculationPolicy |
getShippingCostCalculationPolicy()
|
java.lang.String |
getShippingCostCalculationPolicyName()
|
ShippingMethodValue |
getShippingMethodByValue()
Get all of ShippingMethod's attributes. |
boolean |
getSignatureRequired()
Get the value of signatureRequired |
Quantity |
getSizeLimit()
Get the value of sizeLimit |
Quantity |
getWeightLimit()
Get the value of weightLimit |
void |
setAverageShippingTime(int averageShippingTime)
Set the value of averageShippingTime |
void |
setCarrier(java.lang.String carrier)
Set the value of carrier |
void |
setCostCalculationMechanism(java.lang.String costCalculationMechanism)
Set the value of costCalculationMechanism |
void |
setDescription(java.lang.String description)
Set the value of description |
void |
setInternationalDelivery(boolean internationalDelivery)
Set the value of internationalDelivery |
void |
setMethod(java.lang.String method)
Set the value of method |
void |
setPackagingType(java.lang.String packagingType)
Set the value of packagingType |
void |
setPercentage(double percentage)
Set the value of percentage |
void |
setPoBoxAllowed(boolean poBoxAllowed)
Set the value of poBoxAllowed |
void |
setPrice(Price price)
Set the value of price |
void |
setRestrictions(java.lang.String restrictions)
Set the value of restrictions |
void |
setSaturdayDelivery(boolean saturdayDelivery)
Set the value of saturdayDelivery |
void |
setShippingCostCalculationPolicy(ShippingCostCalculationPolicy shippingCostCalculationPolicy)
|
void |
setShippingMethodByValue(ShippingMethodValue value)
Set all of ShippingMethod's attributes to the passed in value. |
void |
setSignatureRequired(boolean signatureRequired)
Set the value of signatureRequired |
void |
setSizeLimit(Quantity sizeLimit)
Set the value of sizeLimit |
void |
setWeightLimit(Quantity weightLimit)
Set the value of weightLimit |
| Methods inherited from interface theory.smart.foundation.ConfigurableEntity |
setSuccessorAtClassLevel,
setSuccessorAtInstanceLevel |
| Methods inherited from interface theory.smart.foundation.Configurable |
addProperty,
getProperty,
removeProperty |
| Methods inherited from interface theory.smart.foundation.BusinessPolicyManager |
addBusinessPolicy,
getBusinessPolicy,
removeBusinessPolicy |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
| Method Detail |
public ShippingMethodValue getShippingMethodByValue()
throws java.rmi.RemoteException
public void setShippingMethodByValue(ShippingMethodValue value)
throws java.rmi.RemoteException
ShippingMethodValue - the ShippingMethod value object
public java.lang.String getKey()
throws java.rmi.RemoteException
public java.lang.String getCarrier()
throws java.rmi.RemoteException
public void setCarrier(java.lang.String carrier)
throws java.rmi.RemoteException
carriers - carrier to be added
public java.lang.String getMethod()
throws java.rmi.RemoteException
public void setMethod(java.lang.String method)
throws java.rmi.RemoteException
methods - method to be added
public int getAverageShippingTime()
throws java.rmi.RemoteException
public void setAverageShippingTime(int averageShippingTime)
throws java.rmi.RemoteException
averageShippingTimes - averageShippingTime to be added
public Price getPrice()
throws java.rmi.RemoteException
public void setPrice(Price price)
throws java.rmi.RemoteException
prices - price to be added
public Quantity getWeightLimit()
throws java.rmi.RemoteException
public void setWeightLimit(Quantity weightLimit)
throws java.rmi.RemoteException
weightLimits - weightLimit to be added
public java.lang.String getRestrictions()
throws java.rmi.RemoteException
public void setRestrictions(java.lang.String restrictions)
throws java.rmi.RemoteException
restrictionses - restrictions to be added
public java.lang.String getDescription()
throws java.rmi.RemoteException
public void setDescription(java.lang.String description)
throws java.rmi.RemoteException
descriptions - description to be added
public boolean getPoBoxAllowed()
throws java.rmi.RemoteException
public void setPoBoxAllowed(boolean poBoxAllowed)
throws java.rmi.RemoteException
poBoxAlloweds - poBoxAllowed to be added
public boolean getSignatureRequired()
throws java.rmi.RemoteException
public void setSignatureRequired(boolean signatureRequired)
throws java.rmi.RemoteException
signatureRequireds - signatureRequired to be added
public boolean getSaturdayDelivery()
throws java.rmi.RemoteException
public void setSaturdayDelivery(boolean saturdayDelivery)
throws java.rmi.RemoteException
saturdayDeliveries - saturdayDelivery to be added
public boolean getInternationalDelivery()
throws java.rmi.RemoteException
public void setInternationalDelivery(boolean internationalDelivery)
throws java.rmi.RemoteException
internationalDeliveries - internationalDelivery to be added
public Quantity getSizeLimit()
throws java.rmi.RemoteException
public void setSizeLimit(Quantity sizeLimit)
throws java.rmi.RemoteException
sizeLimits - sizeLimit to be added
public java.lang.String getPackagingType()
throws java.rmi.RemoteException
public void setPackagingType(java.lang.String packagingType)
throws java.rmi.RemoteException
packagingTypes - packagingType to be added
public double getPercentage()
throws java.rmi.RemoteException
public void setPercentage(double percentage)
throws java.rmi.RemoteException
percentages - percentage to be added
public java.lang.String getCostCalculationMechanism()
throws java.rmi.RemoteException
public void setCostCalculationMechanism(java.lang.String costCalculationMechanism)
throws java.rmi.RemoteException
costCalculationMechanisms - costCalculationMechanism to be added
public Price getShippingCost(PackingList list)
throws java.rmi.RemoteException
public Price getShippingCost(ShippingCostCalculationPolicy policy,
PackingList list)
throws java.rmi.RemoteException
public java.lang.String getShippingCostCalculationPolicyName()
throws java.rmi.RemoteException
public void setShippingCostCalculationPolicy(ShippingCostCalculationPolicy shippingCostCalculationPolicy)
throws java.rmi.RemoteException
public ShippingCostCalculationPolicy getShippingCostCalculationPolicy()
throws java.rmi.RemoteException
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||