Class SKUDiscountBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.SKUDiscountBean
- All Implemented Interfaces:
BusinessObject
,SKUDiscount
,Serializable
Object representing a sku discount in the system.
SKUDiscountBean
is the default implementation of the
SKUDiscount
interface for the application.
The database stores sku discounts in the sscSKUDiscount
table,
and this interface can be used to represent a single row of that table. The
Hibernate configuration file SKUDiscountBean.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getSku()
int
int
getSkuID()
void
setDiscount
(Discount discount) void
setDiscountID
(int discountID) void
void
setSkuDiscountID
(int skuDiscountID) void
setSkuID
(int skuID) 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 Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
skuDiscountID
private int skuDiscountID -
discountID
private int discountID -
skuID
private int skuID -
discount
-
sku
-
-
Constructor Details
-
SKUDiscountBean
public SKUDiscountBean()
-
-
Method Details
-
getSkuDiscountID
public int getSkuDiscountID()- Specified by:
getSkuDiscountID
in interfaceSKUDiscount
-
setSkuDiscountID
public void setSkuDiscountID(int skuDiscountID) - Specified by:
setSkuDiscountID
in interfaceSKUDiscount
-
getDiscountID
public int getDiscountID()- Specified by:
getDiscountID
in interfaceSKUDiscount
-
setDiscountID
public void setDiscountID(int discountID) - Specified by:
setDiscountID
in interfaceSKUDiscount
-
getSkuID
public int getSkuID()- Specified by:
getSkuID
in interfaceSKUDiscount
-
setSkuID
public void setSkuID(int skuID) - Specified by:
setSkuID
in interfaceSKUDiscount
-
getDiscount
- Specified by:
getDiscount
in interfaceSKUDiscount
-
setDiscount
- Specified by:
setDiscount
in interfaceSKUDiscount
-
getSku
- Specified by:
getSku
in interfaceSKUDiscount
-
setSku
- Specified by:
setSku
in interfaceSKUDiscount
-