Class ProductAttributeBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ProductAttributeBean
- All Implemented Interfaces:
BusinessObject
,ProductAttribute
,Serializable
public class ProductAttributeBean
extends BaseBusinessObject
implements ProductAttribute, Serializable
Object representing an attribute under a product in the system.
ProductAttributeBean
is the default implementation of the
ProductAttribute
interface for the application.
The database stores product attributes in the
sscProductAttribute
table, and this interface can be used to
represent a single row of that table. The Hibernate configuration file
ProductAttributeBean.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
int
int
int
void
setAttribute
(Attribute attribute) void
setAttributeID
(int attributeID) void
setProduct
(Product product) void
setProductAttributeID
(int productAttributeID) void
setProductAttributeOrder
(int productAttributeOrder) void
setProductID
(int productID) 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 -
productAttributeID
private int productAttributeID -
productID
private int productID -
attributeID
private int attributeID -
productAttributeOrder
private int productAttributeOrder -
product
-
attribute
-
-
Constructor Details
-
ProductAttributeBean
public ProductAttributeBean()
-
-
Method Details
-
getProductAttributeID
public int getProductAttributeID()- Specified by:
getProductAttributeID
in interfaceProductAttribute
-
setProductAttributeID
public void setProductAttributeID(int productAttributeID) - Specified by:
setProductAttributeID
in interfaceProductAttribute
-
getProductID
public int getProductID()- Specified by:
getProductID
in interfaceProductAttribute
-
setProductID
public void setProductID(int productID) - Specified by:
setProductID
in interfaceProductAttribute
-
getAttributeID
public int getAttributeID()- Specified by:
getAttributeID
in interfaceProductAttribute
-
setAttributeID
public void setAttributeID(int attributeID) - Specified by:
setAttributeID
in interfaceProductAttribute
-
getProductAttributeOrder
public int getProductAttributeOrder()- Specified by:
getProductAttributeOrder
in interfaceProductAttribute
-
setProductAttributeOrder
public void setProductAttributeOrder(int productAttributeOrder) - Specified by:
setProductAttributeOrder
in interfaceProductAttribute
-
getProduct
- Specified by:
getProduct
in interfaceProductAttribute
-
setProduct
- Specified by:
setProduct
in interfaceProductAttribute
-
getAttribute
- Specified by:
getAttribute
in interfaceProductAttribute
-
setAttribute
- Specified by:
setAttribute
in interfaceProductAttribute
-