com.softslate.commerce.businessobjects.product
Class ProductCategoryBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.product.ProductCategoryBean
All Implemented Interfaces:
BusinessObject, ProductCategory, java.io.Serializable

public class ProductCategoryBean
extends BaseBusinessObject
implements ProductCategory, java.io.Serializable

Object representing a product within a category in the system. ProductCategoryBean is the default implementation of the ProductCategory interface for the application.

The database stores product categories in the sscProductCategory table, and this interface can be used to represent a single row of that table. The Hibernate configuration file ProductCategoryBean.hbm.xml maps that table's columns to the properties in this object.

Author:
David Tobey
See Also:
Serialized Form

Field Summary
private  Category category
           
private  int categoryID
           
(package private) static org.apache.commons.logging.Log log
           
private  Product product
           
private  int productCategoryID
           
private  int productCategoryOrder
           
private  int productID
           
private static long serialVersionUID
           
 
Constructor Summary
ProductCategoryBean()
           
 
Method Summary
 Category getCategory()
           
 int getCategoryID()
           
 Product getProduct()
           
 int getProductCategoryID()
           
 int getProductCategoryOrder()
           
 int getProductID()
           
 void setCategory(Category category)
           
 void setCategoryID(int categoryID)
           
 void setProduct(Product product)
           
 void setProductCategoryID(int productCategoryID)
           
 void setProductCategoryOrder(int productCategoryOrder)
           
 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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

productCategoryID

private int productCategoryID

productID

private int productID

categoryID

private int categoryID

productCategoryOrder

private int productCategoryOrder

product

private Product product

category

private Category category
Constructor Detail

ProductCategoryBean

public ProductCategoryBean()
Method Detail

getProductCategoryID

public int getProductCategoryID()
Specified by:
getProductCategoryID in interface ProductCategory

setProductCategoryID

public void setProductCategoryID(int productCategoryID)
Specified by:
setProductCategoryID in interface ProductCategory

getProductID

public int getProductID()
Specified by:
getProductID in interface ProductCategory

setProductID

public void setProductID(int productID)
Specified by:
setProductID in interface ProductCategory

getCategoryID

public int getCategoryID()
Specified by:
getCategoryID in interface ProductCategory

setCategoryID

public void setCategoryID(int categoryID)
Specified by:
setCategoryID in interface ProductCategory

getProductCategoryOrder

public int getProductCategoryOrder()
Specified by:
getProductCategoryOrder in interface ProductCategory

setProductCategoryOrder

public void setProductCategoryOrder(int productCategoryOrder)
Specified by:
setProductCategoryOrder in interface ProductCategory

getProduct

public Product getProduct()
Specified by:
getProduct in interface ProductCategory

setProduct

public void setProduct(Product product)
Specified by:
setProduct in interface ProductCategory

getCategory

public Category getCategory()
Specified by:
getCategory in interface ProductCategory

setCategory

public void setCategory(Category category)
Specified by:
setCategory in interface ProductCategory


Copyright ? SoftSlate, LLC 2003?2005