|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.EntityImpl com.beasys.commerce.ebusiness.shipping.ShippingMethodImpl
@Deprecated public class 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 = com.beasys.commerce.ebusiness.shipping.ShippingMethodPk
ShippingMethod
,
ShippingMethodHome
,
ShippingMethodValue
,
Serialized FormField Summary | |
---|---|
int |
averageShippingTime
Deprecated The average delivery time. |
String |
carrier
Deprecated The service provider used for delivery. |
String |
costCalculationMechanism
Deprecated Used to specify one of the pre-programmed shipping cost calculation mechanisms. |
String |
description
Deprecated An textual description of this shipping mechanism. |
String |
identifier
Deprecated A key that uniquely identifies this shipping method. |
boolean |
internationalDelivery
Deprecated True if this mechanism will deliver internationally. |
String |
method
Deprecated The mechanism by which the item will be shipped. |
String |
packagingType
Deprecated Containment: By Value Multiplicity: 1:1 |
double |
percentage
Deprecated Used when the shipping cost is a percentage of the total value of the order. |
boolean |
poBoxAllowed
Deprecated True if this mechanism will allow delivery to a post office box. |
Money |
price
Deprecated The base shipping cost. |
String |
restrictions
Deprecated A description of any restrictions that apply to this shipping mechanism. |
boolean |
saturdayDelivery
Deprecated True if ths shipping mechanism will deliver on a Saturday. |
boolean |
signatureRequired
Deprecated True if the customer is required to acknowled delivery with a signature. |
double |
sizeLimit
Deprecated The maximum deliverable quantity. |
double |
weightLimit
Deprecated The maximum weight limit for this shipping mechanism. |
Fields inherited from class com.beasys.commerce.foundation.EntityImpl |
---|
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP |
Constructor Summary | |
---|---|
ShippingMethodImpl()
Deprecated |
Method Summary | |
---|---|
protected void |
bscInitializeAttributes(ShippingMethodPk shippingMethodPk)
Deprecated |
void |
ejbActivate()
Deprecated ejbActivate method. |
ShippingMethodPk |
ejbCreate(ShippingMethodPk shippingMethodPk)
Deprecated |
Enumeration |
ejbFindAll()
Deprecated ejbFindAll method. |
ShippingMethodPk |
ejbFindByPrimaryKey(ShippingMethodPk pk)
Deprecated |
void |
ejbLoad()
Deprecated ejbLoad method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate(ShippingMethodPk shippingMethodPk)
Deprecated |
void |
ejbRemove()
Deprecated ejbRemove method. |
void |
ejbStore()
Deprecated ejbStore method. |
int |
getAverageShippingTime()
Deprecated Get the value of averageShippingTime |
String |
getCarrier()
Deprecated Get the value of carrier |
String |
getCostCalculationMechanism()
Deprecated Get the value of costCalculationMechanism |
String |
getDescription()
Deprecated Get the value of description |
String |
getIdentifier()
Deprecated |
boolean |
getInternationalDelivery()
Deprecated Get the value of internationalDelivery |
String |
getMethod()
Deprecated Get the value of method |
String |
getPackagingType()
Deprecated Get the value of packagingType |
double |
getPercentage()
Deprecated Get the value of percentage |
boolean |
getPoBoxAllowed()
Deprecated Get the value of poBoxAllowed |
Money |
getPrice()
Deprecated Get the value of price |
String |
getRestrictions()
Deprecated Get the value of restrictions |
boolean |
getSaturdayDelivery()
Deprecated Get the value of saturdayDelivery |
ShippingMethodValue |
getShippingMethodByValue()
Deprecated Get all of ShippingMethod's attributes. |
boolean |
getSignatureRequired()
Deprecated Get the value of signatureRequired |
double |
getSizeLimit()
Deprecated Get the value of sizeLimit |
double |
getWeightLimit()
Deprecated Get the value of weightLimit |
void |
setAverageShippingTime(int averageShippingTime)
Deprecated Set the value of averageShippingTime |
void |
setCarrier(String carrier)
Deprecated Set the value of carrier |
void |
setCostCalculationMechanism(String costCalculationMechanism)
Deprecated Set the value of costCalculationMechanism |
void |
setDescription(String description)
Deprecated Set the value of description |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Deprecated setEntityContext method. |
void |
setIdentifier(String value)
Deprecated |
void |
setInternationalDelivery(boolean internationalDelivery)
Deprecated Set the value of internationalDelivery |
void |
setMethod(String method)
Deprecated Set the value of method |
void |
setPackagingType(String packagingType)
Deprecated Set the value of packagingType |
void |
setPercentage(double percentage)
Deprecated Set the value of percentage |
void |
setPoBoxAllowed(boolean poBoxAllowed)
Deprecated Set the value of poBoxAllowed |
void |
setPrice(Money price)
Deprecated Set the value of price |
void |
setRestrictions(String restrictions)
Deprecated Set the value of restrictions |
void |
setSaturdayDelivery(boolean saturdayDelivery)
Deprecated Set the value of saturdayDelivery |
void |
setShippingMethodByValue(ShippingMethodValue value)
Deprecated Set all of ShippingMethod's attributes to the passed in value. |
void |
setSignatureRequired(boolean signatureRequired)
Deprecated Set the value of signatureRequired |
void |
setSizeLimit(double sizeLimit)
Deprecated Set the value of sizeLimit |
void |
setWeightLimit(double weightLimit)
Deprecated Set the value of weightLimit |
void |
unsetEntityContext()
Deprecated unsetEntityContext method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String identifier
public double sizeLimit
public String description
public boolean signatureRequired
public double weightLimit
public double percentage
public boolean poBoxAllowed
public String restrictions
public int averageShippingTime
public String carrier
public boolean saturdayDelivery
public Money price
public String packagingType
public String costCalculationMechanism
public String method
public boolean internationalDelivery
Constructor Detail |
---|
public ShippingMethodImpl()
Method Detail |
---|
public ShippingMethodValue getShippingMethodByValue()
public void setShippingMethodByValue(ShippingMethodValue value)
ShippingMethodValue
- the ShippingMethod value objectpublic ShippingMethodPk ejbCreate(ShippingMethodPk shippingMethodPk) throws javax.ejb.CreateException
javax.ejb.CreateException
protected void bscInitializeAttributes(ShippingMethodPk shippingMethodPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbPostCreate(ShippingMethodPk shippingMethodPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbLoad() throws javax.ejb.EJBException
EntityImpl
ejbLoad
in interface javax.ejb.EntityBean
ejbLoad
in class EntityImpl
javax.ejb.EJBException
public void ejbStore() throws javax.ejb.EJBException
EntityImpl
ejbStore
in interface javax.ejb.EntityBean
ejbStore
in class EntityImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.RemoveException
EntityImpl
ejbRemove
in interface javax.ejb.EntityBean
ejbRemove
in class EntityImpl
javax.ejb.RemoveException
public void ejbActivate() throws javax.ejb.EJBException
EntityImpl
ejbActivate
in interface javax.ejb.EntityBean
ejbActivate
in class EntityImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
EntityImpl
ejbPassivate
in interface javax.ejb.EntityBean
ejbPassivate
in class EntityImpl
javax.ejb.EJBException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
EntityImpl
setEntityContext
in interface javax.ejb.EntityBean
setEntityContext
in class EntityImpl
javax.ejb.EJBException
public void unsetEntityContext() throws javax.ejb.EJBException
EntityImpl
unsetEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
in class EntityImpl
javax.ejb.EJBException
public ShippingMethodPk ejbFindByPrimaryKey(ShippingMethodPk pk) throws javax.ejb.FinderException
javax.ejb.FinderException
public double getSizeLimit()
public void setSizeLimit(double sizeLimit)
sizeLimit
- sizeLimit to be addedpublic String getDescription()
public void setDescription(String description)
description
- description to be addedpublic boolean getSignatureRequired()
public void setSignatureRequired(boolean signatureRequired)
signatureRequired
- signatureRequired to be addedpublic double getWeightLimit()
public void setWeightLimit(double weightLimit)
weightLimit
- weightLimit to be addedpublic double getPercentage()
public void setPercentage(double percentage)
percentage
- percentage to be addedpublic String getIdentifier()
public void setIdentifier(String value)
public boolean getPoBoxAllowed()
public void setPoBoxAllowed(boolean poBoxAllowed)
poBoxAllowed
- poBoxAllowed to be addedpublic String getRestrictions()
public void setRestrictions(String restrictions)
restrictions
- restrictions to be addedpublic int getAverageShippingTime()
public void setAverageShippingTime(int averageShippingTime)
averageShippingTime
- averageShippingTime to be addedpublic String getCarrier()
public void setCarrier(String carrier)
carrier
- carrier to be addedpublic boolean getSaturdayDelivery()
public void setSaturdayDelivery(boolean saturdayDelivery)
saturdayDelivery
- saturdayDelivery to be addedpublic Money getPrice()
public void setPrice(Money price)
price
- price to be addedpublic String getPackagingType()
public void setPackagingType(String packagingType)
packagingType
- packagingType to be addedpublic String getCostCalculationMechanism()
public void setCostCalculationMechanism(String costCalculationMechanism)
costCalculationMechanism
- costCalculationMechanism to be addedpublic String getMethod()
public void setMethod(String method)
method
- method to be addedpublic boolean getInternationalDelivery()
public void setInternationalDelivery(boolean internationalDelivery)
internationalDelivery
- internationalDelivery to be addedpublic Enumeration ejbFindAll() throws javax.ejb.FinderException
EntityImpl
ejbFindAll
in class EntityImpl
javax.ejb.FinderException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |