com.softslate.commerce.businessobjects.product
Class DiscountRangeBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.DiscountRangeBean
- All Implemented Interfaces:
- BusinessObject, DiscountRange, java.io.Serializable
public class DiscountRangeBean
- extends BaseBusinessObject
- implements DiscountRange, java.io.Serializable
Object representing a discount range within the system.
DiscountRangeBean is the default implementation of the
DiscountRange interface for the application.
The database stores discount ranges in the sscDiscountRange
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
DiscountRangeBean.hbm.xml maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
discountRangeID
private int discountRangeID
discountID
private int discountID
discount
private Discount discount
rewardType
private java.lang.String rewardType
reward
private java.lang.Double reward
floor
private java.lang.Double floor
ceiling
private java.lang.Double ceiling
isActive
private boolean isActive
DiscountRangeBean
public DiscountRangeBean()
getCeiling
public java.lang.Double getCeiling()
- Specified by:
getCeiling in interface DiscountRange
setCeiling
public void setCeiling(java.lang.Double ceiling)
- Specified by:
setCeiling in interface DiscountRange
getDiscount
public Discount getDiscount()
- Specified by:
getDiscount in interface DiscountRange
setDiscount
public void setDiscount(Discount discount)
- Specified by:
setDiscount in interface DiscountRange
getDiscountID
public int getDiscountID()
- Specified by:
getDiscountID in interface DiscountRange
setDiscountID
public void setDiscountID(int discountID)
- Specified by:
setDiscountID in interface DiscountRange
getDiscountRangeID
public int getDiscountRangeID()
- Specified by:
getDiscountRangeID in interface DiscountRange
setDiscountRangeID
public void setDiscountRangeID(int discountRangeID)
- Specified by:
setDiscountRangeID in interface DiscountRange
getFloor
public java.lang.Double getFloor()
- Specified by:
getFloor in interface DiscountRange
setFloor
public void setFloor(java.lang.Double floor)
- Specified by:
setFloor in interface DiscountRange
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive in interface DiscountRange
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive in interface DiscountRange
getReward
public java.lang.Double getReward()
- Specified by:
getReward in interface DiscountRange
setReward
public void setReward(java.lang.Double reward)
- Specified by:
setReward in interface DiscountRange
getRewardType
public java.lang.String getRewardType()
- Specified by:
getRewardType in interface DiscountRange
setRewardType
public void setRewardType(java.lang.String rewardType)
- Specified by:
setRewardType in interface DiscountRange
Copyright © SoftSlate, LLC 20032010