com.softslate.commerce.businessobjects.order
Class OrderShippingRuleBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.order.OrderShippingRuleBean
All Implemented Interfaces:
BusinessObject, OrderShippingRule, java.io.Serializable

public class OrderShippingRuleBean
extends BaseBusinessObject
implements OrderShippingRule, java.io.Serializable

Object representing a order shipping rule within the system. OrderShippingRuleBean is the default implementation of the OrderShippingRule interface for the application.

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

Author:
Jason McWilliams
See Also:
Serialized Form

Field Summary
private  java.lang.Double ceiling
           
private  java.lang.String code
           
private  java.lang.String countries
           
private  java.lang.Double discount
           
private  java.lang.String discountType
           
private  java.lang.String extra1
           
private  java.lang.String extra2
           
private  java.lang.String extra3
           
private  java.lang.Double floor
           
private  java.lang.String limitMethods
           
private  java.lang.String limitType
           
private  java.lang.String name
           
private  Order order
           
private  int orderID
           
private  OrderItem orderItem
           
private  java.lang.Integer orderItemID
           
private  int orderShippingRuleID
           
private  java.lang.String pkgDescription
           
private  java.lang.String pkgExtra1
           
private  java.lang.String pkgExtra2
           
private  java.lang.String pkgExtra3
           
private  java.lang.String pkgExtra4
           
private  java.lang.String pkgExtra5
           
private  java.lang.Double pkgHeight
           
private  java.lang.Double pkgLength
           
private  java.lang.Double pkgWeight
           
private  java.lang.Double pkgWidth
           
private  java.lang.String ruleType
           
private static long serialVersionUID
           
private  ShippingRule shippingRule
           
private  java.lang.Integer shippingRuleID
           
private  java.lang.String states
           
private  java.lang.Double subtotal
           
private  java.lang.Double total
           
 
Constructor Summary
OrderShippingRuleBean()
           
 
Method Summary
 java.lang.Double getCeiling()
           
 java.lang.String getCode()
           
 java.lang.String getCountries()
           
 java.lang.Double getDiscount()
           
 java.lang.String getDiscountType()
           
 java.lang.String getExtra1()
           
 java.lang.String getExtra2()
           
 java.lang.String getExtra3()
           
 java.lang.Double getFloor()
           
 java.lang.String getLimitMethods()
           
 java.lang.String getLimitType()
           
 java.lang.String getName()
           
 Order getOrder()
           
 int getOrderID()
           
 OrderItem getOrderItem()
           
 java.lang.Integer getOrderItemID()
           
 int getOrderShippingRuleID()
           
 java.lang.String getPkgDescription()
           
 java.lang.String getPkgExtra1()
           
 java.lang.String getPkgExtra2()
           
 java.lang.String getPkgExtra3()
           
 java.lang.String getPkgExtra4()
           
 java.lang.String getPkgExtra5()
           
 java.lang.Double getPkgHeight()
           
 java.lang.Double getPkgLength()
           
 java.lang.Double getPkgWeight()
           
 java.lang.Double getPkgWidth()
           
 java.lang.String getRuleType()
           
 ShippingRule getShippingRule()
           
 java.lang.Integer getShippingRuleID()
           
 java.lang.String getStates()
           
 java.lang.Double getSubtotal()
           
 java.lang.Double getTotal()
           
 void setCeiling(java.lang.Double ceiling)
           
 void setCode(java.lang.String code)
           
 void setCountries(java.lang.String countries)
           
 void setDiscount(java.lang.Double discount)
           
 void setDiscountType(java.lang.String discountType)
           
 void setExtra1(java.lang.String extra1)
           
 void setExtra2(java.lang.String extra2)
           
 void setExtra3(java.lang.String extra3)
           
 void setFloor(java.lang.Double floor)
           
 void setLimitMethods(java.lang.String limitMethods)
           
 void setLimitType(java.lang.String limitType)
           
 void setName(java.lang.String name)
           
 void setOrder(Order order)
           
 void setOrderID(int orderID)
           
 void setOrderItem(OrderItem orderItem)
           
 void setOrderItemID(java.lang.Integer orderItemID)
           
 void setOrderShippingRuleID(int orderShippingRuleID)
           
 void setPkgDescription(java.lang.String pkgDescription)
           
 void setPkgExtra1(java.lang.String pkgExtra1)
           
 void setPkgExtra2(java.lang.String pkgExtra2)
           
 void setPkgExtra3(java.lang.String pkgExtra3)
           
 void setPkgExtra4(java.lang.String pkgExtra4)
           
 void setPkgExtra5(java.lang.String pkgExtra5)
           
 void setPkgHeight(java.lang.Double pkgHeight)
           
 void setPkgLength(java.lang.Double pkgLength)
           
 void setPkgWeight(java.lang.Double pkgWeight)
           
 void setPkgWidth(java.lang.Double pkgWidth)
           
 void setRuleType(java.lang.String ruleType)
           
 void setShippingRule(ShippingRule shippingRule)
           
 void setShippingRuleID(java.lang.Integer shippingRuleID)
           
 void setStates(java.lang.String states)
           
 void setSubtotal(java.lang.Double subtotal)
           
 void setTotal(java.lang.Double total)
           
 
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

orderShippingRuleID

private int orderShippingRuleID

orderID

private int orderID

orderItemID

private java.lang.Integer orderItemID

total

private java.lang.Double total

shippingRuleID

private java.lang.Integer shippingRuleID

code

private java.lang.String code

name

private java.lang.String name

ruleType

private java.lang.String ruleType

floor

private java.lang.Double floor

ceiling

private java.lang.Double ceiling

discountType

private java.lang.String discountType

discount

private java.lang.Double discount

pkgDescription

private java.lang.String pkgDescription

pkgWeight

private java.lang.Double pkgWeight

pkgLength

private java.lang.Double pkgLength

pkgHeight

private java.lang.Double pkgHeight

pkgWidth

private java.lang.Double pkgWidth

limitMethods

private java.lang.String limitMethods

limitType

private java.lang.String limitType

extra1

private java.lang.String extra1

extra2

private java.lang.String extra2

extra3

private java.lang.String extra3

pkgExtra1

private java.lang.String pkgExtra1

pkgExtra2

private java.lang.String pkgExtra2

pkgExtra3

private java.lang.String pkgExtra3

pkgExtra4

private java.lang.String pkgExtra4

pkgExtra5

private java.lang.String pkgExtra5

subtotal

private java.lang.Double subtotal

order

private Order order

orderItem

private OrderItem orderItem

shippingRule

private ShippingRule shippingRule

countries

private java.lang.String countries

states

private java.lang.String states
Constructor Detail

OrderShippingRuleBean

public OrderShippingRuleBean()
Method Detail

getOrderShippingRuleID

public int getOrderShippingRuleID()
Specified by:
getOrderShippingRuleID in interface OrderShippingRule

setOrderShippingRuleID

public void setOrderShippingRuleID(int orderShippingRuleID)
Specified by:
setOrderShippingRuleID in interface OrderShippingRule

getOrderID

public int getOrderID()
Specified by:
getOrderID in interface OrderShippingRule

setOrderID

public void setOrderID(int orderID)
Specified by:
setOrderID in interface OrderShippingRule

getOrderItemID

public java.lang.Integer getOrderItemID()
Specified by:
getOrderItemID in interface OrderShippingRule

setOrderItemID

public void setOrderItemID(java.lang.Integer orderItemID)
Specified by:
setOrderItemID in interface OrderShippingRule

getTotal

public java.lang.Double getTotal()
Specified by:
getTotal in interface OrderShippingRule

setTotal

public void setTotal(java.lang.Double total)
Specified by:
setTotal in interface OrderShippingRule

getShippingRuleID

public java.lang.Integer getShippingRuleID()
Specified by:
getShippingRuleID in interface OrderShippingRule

setShippingRuleID

public void setShippingRuleID(java.lang.Integer shippingRuleID)
Specified by:
setShippingRuleID in interface OrderShippingRule

getCode

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

setCode

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

getName

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

setName

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

getRuleType

public java.lang.String getRuleType()
Specified by:
getRuleType in interface OrderShippingRule

setRuleType

public void setRuleType(java.lang.String ruleType)
Specified by:
setRuleType in interface OrderShippingRule

getFloor

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

setFloor

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

getCeiling

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

setCeiling

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

getDiscountType

public java.lang.String getDiscountType()
Specified by:
getDiscountType in interface OrderShippingRule

setDiscountType

public void setDiscountType(java.lang.String discountType)
Specified by:
setDiscountType in interface OrderShippingRule

getDiscount

public java.lang.Double getDiscount()
Specified by:
getDiscount in interface OrderShippingRule

setDiscount

public void setDiscount(java.lang.Double discount)
Specified by:
setDiscount in interface OrderShippingRule

getPkgDescription

public java.lang.String getPkgDescription()
Specified by:
getPkgDescription in interface OrderShippingRule

setPkgDescription

public void setPkgDescription(java.lang.String pkgDescription)
Specified by:
setPkgDescription in interface OrderShippingRule

getPkgWeight

public java.lang.Double getPkgWeight()
Specified by:
getPkgWeight in interface OrderShippingRule

setPkgWeight

public void setPkgWeight(java.lang.Double pkgWeight)
Specified by:
setPkgWeight in interface OrderShippingRule

getPkgLength

public java.lang.Double getPkgLength()
Specified by:
getPkgLength in interface OrderShippingRule

setPkgLength

public void setPkgLength(java.lang.Double pkgLength)
Specified by:
setPkgLength in interface OrderShippingRule

getPkgHeight

public java.lang.Double getPkgHeight()
Specified by:
getPkgHeight in interface OrderShippingRule

setPkgHeight

public void setPkgHeight(java.lang.Double pkgHeight)
Specified by:
setPkgHeight in interface OrderShippingRule

getPkgWidth

public java.lang.Double getPkgWidth()
Specified by:
getPkgWidth in interface OrderShippingRule

setPkgWidth

public void setPkgWidth(java.lang.Double pkgWidth)
Specified by:
setPkgWidth in interface OrderShippingRule

getLimitMethods

public java.lang.String getLimitMethods()
Specified by:
getLimitMethods in interface OrderShippingRule

setLimitMethods

public void setLimitMethods(java.lang.String limitMethods)
Specified by:
setLimitMethods in interface OrderShippingRule

getLimitType

public java.lang.String getLimitType()
Specified by:
getLimitType in interface OrderShippingRule

setLimitType

public void setLimitType(java.lang.String limitType)
Specified by:
setLimitType in interface OrderShippingRule

getExtra1

public java.lang.String getExtra1()
Specified by:
getExtra1 in interface OrderShippingRule

setExtra1

public void setExtra1(java.lang.String extra1)
Specified by:
setExtra1 in interface OrderShippingRule

getExtra2

public java.lang.String getExtra2()
Specified by:
getExtra2 in interface OrderShippingRule

setExtra2

public void setExtra2(java.lang.String extra2)
Specified by:
setExtra2 in interface OrderShippingRule

getExtra3

public java.lang.String getExtra3()
Specified by:
getExtra3 in interface OrderShippingRule

setExtra3

public void setExtra3(java.lang.String extra3)
Specified by:
setExtra3 in interface OrderShippingRule

getPkgExtra1

public java.lang.String getPkgExtra1()
Specified by:
getPkgExtra1 in interface OrderShippingRule

setPkgExtra1

public void setPkgExtra1(java.lang.String pkgExtra1)
Specified by:
setPkgExtra1 in interface OrderShippingRule

getPkgExtra2

public java.lang.String getPkgExtra2()
Specified by:
getPkgExtra2 in interface OrderShippingRule

setPkgExtra2

public void setPkgExtra2(java.lang.String pkgExtra2)
Specified by:
setPkgExtra2 in interface OrderShippingRule

getPkgExtra3

public java.lang.String getPkgExtra3()
Specified by:
getPkgExtra3 in interface OrderShippingRule

setPkgExtra3

public void setPkgExtra3(java.lang.String pkgExtra3)
Specified by:
setPkgExtra3 in interface OrderShippingRule

getPkgExtra4

public java.lang.String getPkgExtra4()
Specified by:
getPkgExtra4 in interface OrderShippingRule

setPkgExtra4

public void setPkgExtra4(java.lang.String pkgExtra4)
Specified by:
setPkgExtra4 in interface OrderShippingRule

getPkgExtra5

public java.lang.String getPkgExtra5()
Specified by:
getPkgExtra5 in interface OrderShippingRule

setPkgExtra5

public void setPkgExtra5(java.lang.String pkgExtra5)
Specified by:
setPkgExtra5 in interface OrderShippingRule

getSubtotal

public java.lang.Double getSubtotal()
Specified by:
getSubtotal in interface OrderShippingRule

setSubtotal

public void setSubtotal(java.lang.Double subtotal)
Specified by:
setSubtotal in interface OrderShippingRule

getShippingRule

public ShippingRule getShippingRule()
Specified by:
getShippingRule in interface OrderShippingRule

setShippingRule

public void setShippingRule(ShippingRule shippingRule)
Specified by:
setShippingRule in interface OrderShippingRule

getOrder

public Order getOrder()
Specified by:
getOrder in interface OrderShippingRule

setOrder

public void setOrder(Order order)
Specified by:
setOrder in interface OrderShippingRule

getOrderItem

public OrderItem getOrderItem()
Specified by:
getOrderItem in interface OrderShippingRule

setOrderItem

public void setOrderItem(OrderItem orderItem)
Specified by:
setOrderItem in interface OrderShippingRule

getCountries

public java.lang.String getCountries()
Specified by:
getCountries in interface OrderShippingRule

setCountries

public void setCountries(java.lang.String countries)
Specified by:
setCountries in interface OrderShippingRule

getStates

public java.lang.String getStates()
Specified by:
getStates in interface OrderShippingRule

setStates

public void setStates(java.lang.String states)
Specified by:
setStates in interface OrderShippingRule


Copyright ? SoftSlate, LLC 2003?2005