com.softslate.commerce.businessobjects.shipping
Class ShippingRateBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.shipping.ShippingRateBean
All Implemented Interfaces:
BusinessObject, ShippingRate, java.io.Serializable

public class ShippingRateBean
extends BaseBusinessObject
implements ShippingRate, java.io.Serializable

Object representing a shipping rate within the system. ShippingRateBean is the default implementation of the ShippingRate interface for the application.

The database stores shipping rates in the sscShippingRate table, and this interface can be used to represent a single row of that table. The Hibernate configuration file ShippingRateBean.hbm.xml maps that table's columns to the properties in this object.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
private  java.lang.Double amount
           
private  java.lang.Double ceiling
           
private  java.lang.Double floor
           
private  boolean isActive
           
private static long serialVersionUID
           
private  ShippingMethod shippingMethod
           
private  int shippingMethodID
           
private  int shippingRateID
           
 
Constructor Summary
ShippingRateBean()
           
 
Method Summary
 java.lang.Double getAmount()
           
 java.lang.Double getCeiling()
           
 java.lang.Double getFloor()
           
 boolean getIsActive()
           
 ShippingMethod getShippingMethod()
           
 int getShippingMethodID()
           
 int getShippingRateID()
           
 void setAmount(java.lang.Double amount)
           
 void setCeiling(java.lang.Double ceiling)
           
 void setFloor(java.lang.Double floor)
           
 void setIsActive(boolean isActive)
           
 void setShippingMethod(ShippingMethod shippingMethod)
           
 void setShippingMethodID(int shippingMethodID)
           
 void setShippingRateID(int shippingRateID)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

shippingRateID

private int shippingRateID

shippingMethodID

private int shippingMethodID

floor

private java.lang.Double floor

ceiling

private java.lang.Double ceiling

amount

private java.lang.Double amount

isActive

private boolean isActive

shippingMethod

private ShippingMethod shippingMethod
Constructor Detail

ShippingRateBean

public ShippingRateBean()
Method Detail

getShippingMethod

public ShippingMethod getShippingMethod()
Specified by:
getShippingMethod in interface ShippingRate

setShippingMethod

public void setShippingMethod(ShippingMethod shippingMethod)
Specified by:
setShippingMethod in interface ShippingRate

getShippingRateID

public int getShippingRateID()
Specified by:
getShippingRateID in interface ShippingRate

setShippingRateID

public void setShippingRateID(int shippingRateID)
Specified by:
setShippingRateID in interface ShippingRate

getAmount

public java.lang.Double getAmount()
Specified by:
getAmount in interface ShippingRate

setAmount

public void setAmount(java.lang.Double amount)
Specified by:
setAmount in interface ShippingRate

getCeiling

public java.lang.Double getCeiling()
Specified by:
getCeiling in interface ShippingRate

setCeiling

public void setCeiling(java.lang.Double ceiling)
Specified by:
setCeiling in interface ShippingRate

getFloor

public java.lang.Double getFloor()
Specified by:
getFloor in interface ShippingRate

setFloor

public void setFloor(java.lang.Double floor)
Specified by:
setFloor in interface ShippingRate

getIsActive

public boolean getIsActive()
Specified by:
getIsActive in interface ShippingRate

setIsActive

public void setIsActive(boolean isActive)
Specified by:
setIsActive in interface ShippingRate

getShippingMethodID

public int getShippingMethodID()
Specified by:
getShippingMethodID in interface ShippingRate

setShippingMethodID

public void setShippingMethodID(int shippingMethodID)
Specified by:
setShippingMethodID in interface ShippingRate


Copyright ? SoftSlate, LLC 2003?2005