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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSku()intintgetSkuID()voidsetDiscount(Discount discount) voidsetDiscountID(int discountID) voidvoidsetSkuDiscountID(int skuDiscountID) voidsetSkuID(int skuID) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSkuDiscountIDin interfaceSKUDiscount
-
setSkuDiscountID
public void setSkuDiscountID(int skuDiscountID) - Specified by:
setSkuDiscountIDin interfaceSKUDiscount
-
getDiscountID
public int getDiscountID()- Specified by:
getDiscountIDin interfaceSKUDiscount
-
setDiscountID
public void setDiscountID(int discountID) - Specified by:
setDiscountIDin interfaceSKUDiscount
-
getSkuID
public int getSkuID()- Specified by:
getSkuIDin interfaceSKUDiscount
-
setSkuID
public void setSkuID(int skuID) - Specified by:
setSkuIDin interfaceSKUDiscount
-
getDiscount
- Specified by:
getDiscountin interfaceSKUDiscount
-
setDiscount
- Specified by:
setDiscountin interfaceSKUDiscount
-
getSku
- Specified by:
getSkuin interfaceSKUDiscount
-
setSku
- Specified by:
setSkuin interfaceSKUDiscount
-