| 
 | bea Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--theory.smart.foundation.EntityImpl
        |
        +--theory.smart.ebusiness.shipping.ShippingMethodImpl
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
 
ShippingMethod, 
ShippingMethodHome, 
ShippingMethodValue, Serialized Form| Field Summary | |
|  int | averageShippingTimeaverageShippingTime [ShippingMethod] <*>------> [ int] | 
|  java.lang.String | carriercarrier [ShippingMethod] <*>------> [ String] | 
|  java.lang.String | costCalculationMechanismcostCalculationMechanism [ShippingMethod] <*>------> [ String] | 
|  java.lang.String | descriptiondescription [ShippingMethod] <*>------> [ String] | 
|  boolean | internationalDeliveryinternationalDelivery [ShippingMethod] <*>------> [ boolean] | 
|  java.lang.String | keykey [ShippingMethod] <*>------> [ String] (Primary Key) | 
|  java.lang.String | methodmethod [ShippingMethod] <*>------> [ String] | 
|  java.lang.String | packagingTypepackagingType [ShippingMethod] <*>------> [ String] | 
|  double | percentagepercentage [ShippingMethod] <*>------> [ double] | 
|  boolean | poBoxAllowedpoBoxAllowed [ShippingMethod] <*>------> [ boolean] | 
|  Price | priceprice [ShippingMethod] <*>------> [ theory.smart.axiom.units.Price] | 
|  java.lang.String | restrictionsrestrictions [ShippingMethod] <*>------> [ String] | 
|  boolean | saturdayDeliverysaturdayDelivery [ShippingMethod] <*>------> [ boolean] | 
|  ShippingCostCalculationPolicy | shippingCostCalculationPolicy | 
|  boolean | signatureRequiredsignatureRequired [ShippingMethod] <*>------> [ boolean] | 
|  Quantity | sizeLimitsizeLimit [ShippingMethod] <*>------> [ theory.smart.axiom.units.Quantity] | 
|  Quantity | weightLimitweightLimit [ShippingMethod] <*>------> [ theory.smart.axiom.units.Quantity] | 
| Fields inherited from class theory.smart.foundation.EntityImpl | 
| ctx,  
isDirty,  
isLoaded | 
| Fields inherited from interface theory.smart.ebusiness.shipping.ShippingMethodConstants | 
| FLATRATE,  
PERCENTAGE,  
PERITEM,  
POLICY | 
| Constructor Summary | |
| ShippingMethodImpl() | |
| Method Summary | |
|  void | ejbActivate()ejbActivate method. | 
|  ShippingMethodPk | ejbCreate(ShippingMethodPk shippingMethodPk) | 
| protected  void | ejbCreateInitVars(ShippingMethodPk shippingMethodPk) | 
|  java.util.Enumeration | ejbFindAll() | 
|  ShippingMethodPk | ejbFindByPrimaryKey(ShippingMethodPk pk) | 
|  void | ejbLoad()ejbLoad method. | 
|  void | ejbPassivate()ejbPassivate method. | 
|  void | ejbPostCreate(ShippingMethodPk shippingMethodPk) | 
|  void | ejbRemove()ejbRemove method. | 
|  void | ejbStore()ejbStore method. | 
|  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() | 
|  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 | setEntityContext(EntityContext ctx)setEntityContext method. | 
|  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 policy) | 
|  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 | 
|  void | unsetEntityContext()unsetEntityContext method. | 
| Methods inherited from class theory.smart.foundation.EntityImpl | 
| ejbCreate, 
ejbCreateInitVars, 
ejbPostCreate, 
getEntityContext, 
isModified | 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
| Field Detail | 
public ShippingCostCalculationPolicy shippingCostCalculationPolicy
public java.lang.String key
                  key
 [ShippingMethod] <*>------> [String] (Primary Key)
 public java.lang.String carrier
                  carrier
 [ShippingMethod] <*>------> [String]
 public java.lang.String method
                  method
 [ShippingMethod] <*>------> [String]
 public int averageShippingTime
                  averageShippingTime
 [ShippingMethod] <*>------> [int]
 public Price price
                  price
 [ShippingMethod] <*>------> [theory.smart.axiom.units.Price]
 public Quantity weightLimit
                  weightLimit
 [ShippingMethod] <*>------> [theory.smart.axiom.units.Quantity]
 public java.lang.String restrictions
                  restrictions
 [ShippingMethod] <*>------> [String]
 public java.lang.String description
                  description
 [ShippingMethod] <*>------> [String]
 public boolean poBoxAllowed
                  poBoxAllowed
 [ShippingMethod] <*>------> [boolean]
 public boolean signatureRequired
                  signatureRequired
 [ShippingMethod] <*>------> [boolean]
 public boolean saturdayDelivery
                  saturdayDelivery
 [ShippingMethod] <*>------> [boolean]
 public boolean internationalDelivery
                  internationalDelivery
 [ShippingMethod] <*>------> [boolean]
 public Quantity sizeLimit
                  sizeLimit
 [ShippingMethod] <*>------> [theory.smart.axiom.units.Quantity]
 public java.lang.String packagingType
                  packagingType
 [ShippingMethod] <*>------> [String]
 public double percentage
                  percentage
 [ShippingMethod] <*>------> [double]
 public java.lang.String costCalculationMechanism
                  costCalculationMechanism
 [ShippingMethod] <*>------> [String]
 | Constructor Detail | 
public ShippingMethodImpl()
                   throws CreateException
| Method Detail | 
public ShippingMethodValue getShippingMethodByValue()
                                             throws java.rmi.RemoteException
public void setShippingMethodByValue(ShippingMethodValue value)
                              throws java.rmi.RemoteException
ShippingMethodValue - the ShippingMethod value object
public ShippingMethodPk ejbCreate(ShippingMethodPk shippingMethodPk)
                           throws CreateException,
                                  java.rmi.RemoteException
protected void ejbCreateInitVars(ShippingMethodPk shippingMethodPk)
                          throws CreateException,
                                 java.rmi.RemoteException
public void ejbPostCreate(ShippingMethodPk shippingMethodPk)
                   throws CreateException,
                          java.rmi.RemoteException
public void ejbLoad()
             throws java.rmi.RemoteException
public void ejbStore()
              throws java.rmi.RemoteException
public void ejbRemove()
               throws java.rmi.RemoteException,
                      RemoveException
public void ejbActivate()
                 throws java.rmi.RemoteException
public void ejbPassivate()
                  throws java.rmi.RemoteException
public void setEntityContext(EntityContext ctx)
                      throws java.rmi.RemoteException
public void unsetEntityContext()
                        throws java.rmi.RemoteException
public ShippingMethodPk ejbFindByPrimaryKey(ShippingMethodPk pk)
                                     throws FinderException,
                                            java.rmi.RemoteException
public java.util.Enumeration ejbFindAll()
                                 throws FinderException,
                                        java.rmi.RemoteException
public java.lang.String getCarrier()
                            throws java.rmi.RemoteException
public void setCarrier(java.lang.String carrier)
                throws java.rmi.RemoteException
carrier - carrier to be added
public java.lang.String getMethod()
                           throws java.rmi.RemoteException
public void setMethod(java.lang.String method)
               throws java.rmi.RemoteException
method - method to be added
public int getAverageShippingTime()
                           throws java.rmi.RemoteException
public void setAverageShippingTime(int averageShippingTime)
                            throws java.rmi.RemoteException
averageShippingTime - averageShippingTime to be added
public Price getPrice()
               throws java.rmi.RemoteException
public void setPrice(Price price)
              throws java.rmi.RemoteException
price - price to be added
public Quantity getWeightLimit()
                        throws java.rmi.RemoteException
public void setWeightLimit(Quantity weightLimit)
                    throws java.rmi.RemoteException
weightLimit - weightLimit to be added
public java.lang.String getRestrictions()
                                 throws java.rmi.RemoteException
public void setRestrictions(java.lang.String restrictions)
                     throws java.rmi.RemoteException
restrictions - restrictions to be added
public java.lang.String getDescription()
                                throws java.rmi.RemoteException
public void setDescription(java.lang.String description)
                    throws java.rmi.RemoteException
description - description to be added
public boolean getPoBoxAllowed()
                        throws java.rmi.RemoteException
public void setPoBoxAllowed(boolean poBoxAllowed)
                     throws java.rmi.RemoteException
poBoxAllowed - poBoxAllowed to be added
public boolean getSignatureRequired()
                             throws java.rmi.RemoteException
public void setSignatureRequired(boolean signatureRequired)
                          throws java.rmi.RemoteException
signatureRequired - signatureRequired to be added
public boolean getSaturdayDelivery()
                            throws java.rmi.RemoteException
public void setSaturdayDelivery(boolean saturdayDelivery)
                         throws java.rmi.RemoteException
saturdayDelivery - saturdayDelivery to be added
public boolean getInternationalDelivery()
                                 throws java.rmi.RemoteException
public void setInternationalDelivery(boolean internationalDelivery)
                              throws java.rmi.RemoteException
internationalDelivery - internationalDelivery to be added
public Quantity getSizeLimit()
                      throws java.rmi.RemoteException
public void setSizeLimit(Quantity sizeLimit)
                  throws java.rmi.RemoteException
sizeLimit - sizeLimit to be added
public java.lang.String getPackagingType()
                                  throws java.rmi.RemoteException
public void setPackagingType(java.lang.String packagingType)
                      throws java.rmi.RemoteException
packagingType - packagingType to be added
public java.lang.String getKey()
                        throws java.rmi.RemoteException
public double getPercentage()
                     throws java.rmi.RemoteException
public void setPercentage(double percentage)
                   throws java.rmi.RemoteException
percentage - percentage to be added
public java.lang.String getCostCalculationMechanism()
                                             throws java.rmi.RemoteException
public void setCostCalculationMechanism(java.lang.String costCalculationMechanism)
                                 throws java.rmi.RemoteException
costCalculationMechanism - 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 ShippingCostCalculationPolicy getShippingCostCalculationPolicy()
                                                               throws java.rmi.RemoteException
public void setShippingCostCalculationPolicy(ShippingCostCalculationPolicy policy)
                                      throws java.rmi.RemoteException
| 
 | bea Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||