com.softslate.commerce.businessobjects.shipping
Class ShippingMethodBean

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

public class ShippingMethodBean
extends BaseBusinessObject
implements ShippingMethod, java.io.Serializable

Object representing a shipping method within the system. ShippingMethodBean is the default implementation of the ShippingMethod interface for the application.

The database stores shipping methods in the sscShippingMethod table, and this interface can be used to represent a single row of that table. The Hibernate configuration file ShippingMethodBean.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 base
           
private  java.lang.String code
           
private  boolean isActive
           
private  java.lang.Integer methodOrder
           
private  java.lang.String methodType
           
private  java.lang.Double minimum
           
private  java.lang.String name
           
private  java.lang.Integer numberDaysToShip
           
private static long serialVersionUID
           
private  int shippingMethodID
           
private  java.util.Collection shippingRates
           
 
Constructor Summary
ShippingMethodBean()
           
 
Method Summary
 java.lang.Double getBase()
           
 java.lang.String getCode()
           
 boolean getIsActive()
           
 java.lang.Integer getMethodOrder()
           
 java.lang.String getMethodType()
           
 java.lang.Double getMinimum()
           
 java.lang.String getName()
           
 java.lang.Integer getNumberDaysToShip()
           
 int getShippingMethodID()
           
 java.util.Collection getShippingRates()
           
 void setBase(java.lang.Double base)
           
 void setCode(java.lang.String code)
           
 void setIsActive(boolean isActive)
           
 void setMethodOrder(java.lang.Integer methodOrder)
           
 void setMethodType(java.lang.String methodType)
           
 void setMinimum(java.lang.Double minimum)
           
 void setName(java.lang.String name)
           
 void setNumberDaysToShip(java.lang.Integer numberDaysToShip)
           
 void setShippingMethodID(int shippingMethodID)
           
 void setShippingRates(java.util.Collection shippingRates)
           
 
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

shippingMethodID

private int shippingMethodID

code

private java.lang.String code

name

private java.lang.String name

minimum

private java.lang.Double minimum

base

private java.lang.Double base

methodType

private java.lang.String methodType

isActive

private boolean isActive

numberDaysToShip

private java.lang.Integer numberDaysToShip

methodOrder

private java.lang.Integer methodOrder

shippingRates

private java.util.Collection shippingRates
Constructor Detail

ShippingMethodBean

public ShippingMethodBean()
Method Detail

getShippingRates

public java.util.Collection getShippingRates()
Specified by:
getShippingRates in interface ShippingMethod

setShippingRates

public void setShippingRates(java.util.Collection shippingRates)
Specified by:
setShippingRates in interface ShippingMethod

getShippingMethodID

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

setShippingMethodID

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

getBase

public java.lang.Double getBase()
Specified by:
getBase in interface ShippingMethod

setBase

public void setBase(java.lang.Double base)
Specified by:
setBase in interface ShippingMethod

getCode

public java.lang.String getCode()
Specified by:
getCode in interface ShippingMethod

setCode

public void setCode(java.lang.String code)
Specified by:
setCode in interface ShippingMethod

getIsActive

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

setIsActive

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

getMethodType

public java.lang.String getMethodType()
Specified by:
getMethodType in interface ShippingMethod

setMethodType

public void setMethodType(java.lang.String methodType)
Specified by:
setMethodType in interface ShippingMethod

getMinimum

public java.lang.Double getMinimum()
Specified by:
getMinimum in interface ShippingMethod

setMinimum

public void setMinimum(java.lang.Double minimum)
Specified by:
setMinimum in interface ShippingMethod

getName

public java.lang.String getName()
Specified by:
getName in interface ShippingMethod

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ShippingMethod

getNumberDaysToShip

public java.lang.Integer getNumberDaysToShip()
Specified by:
getNumberDaysToShip in interface ShippingMethod

setNumberDaysToShip

public void setNumberDaysToShip(java.lang.Integer numberDaysToShip)
Specified by:
setNumberDaysToShip in interface ShippingMethod

getMethodOrder

public java.lang.Integer getMethodOrder()
Specified by:
getMethodOrder in interface ShippingMethod

setMethodOrder

public void setMethodOrder(java.lang.Integer methodOrder)
Specified by:
setMethodOrder in interface ShippingMethod


Copyright © SoftSlate, LLC 2003–2005