org.broadleafcommerce.core.catalog.domain
Class CategoryProductXrefImpl

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl
All Implemented Interfaces:
java.io.Serializable, CategoryProductXref

@Entity
public class CategoryProductXrefImpl
extends java.lang.Object
implements CategoryProductXref

The Class CategoryProductXrefImpl is the default implmentation of Category. This entity is only used for executing a named query. If you want to add fields specific to your implementation of BroadLeafCommerce you should extend this class and add your fields. If you need to make significant changes to the class then you should implement your own version of Category.

This implementation uses a Hibernate implementation of JPA configured through annotations. The Entity references the following tables: BLC_CATEGORY_PRODUCT_XREF,

Author:
btaylor
See Also:
Category}, {@link ProductImpl}, Serialized Form

Nested Class Summary
static class CategoryProductXrefImpl.CategoryProductXrefPk
           
 
Field Summary
protected  java.lang.Long displayOrder
          The display order.
 
Constructor Summary
CategoryProductXrefImpl()
           
 
Method Summary
 Category getCategory()
          Gets the category.
 CategoryProductXrefImpl.CategoryProductXrefPk getCategoryProductXref()
           
 java.lang.Long getDisplayOrder()
          Gets the display order.
 Product getProduct()
          Gets the product.
 void setCategory(Category category)
          Sets the category.
 void setCategoryProductXref(CategoryProductXrefImpl.CategoryProductXrefPk categoryProductXref)
           
 void setDisplayOrder(java.lang.Long displayOrder)
          Sets the display order.
 void setProduct(Product product)
          Sets the product.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayOrder

protected java.lang.Long displayOrder
The display order.

Constructor Detail

CategoryProductXrefImpl

public CategoryProductXrefImpl()
Method Detail

getCategoryProductXref

public CategoryProductXrefImpl.CategoryProductXrefPk getCategoryProductXref()

setCategoryProductXref

public void setCategoryProductXref(CategoryProductXrefImpl.CategoryProductXrefPk categoryProductXref)

getDisplayOrder

public java.lang.Long getDisplayOrder()
Description copied from interface: CategoryProductXref
Gets the display order.

Specified by:
getDisplayOrder in interface CategoryProductXref
Returns:
the display order

setDisplayOrder

public void setDisplayOrder(java.lang.Long displayOrder)
Description copied from interface: CategoryProductXref
Sets the display order.

Specified by:
setDisplayOrder in interface CategoryProductXref
Parameters:
displayOrder - the new display order

getCategory

public Category getCategory()
Description copied from interface: CategoryProductXref
Gets the category.

Specified by:
getCategory in interface CategoryProductXref
Returns:
See Also:
CategoryProductXrefImpl.CategoryProductXrefPk.getCategory()

setCategory

public void setCategory(Category category)
Description copied from interface: CategoryProductXref
Sets the category.

Specified by:
setCategory in interface CategoryProductXref
Parameters:
category -
See Also:
CategoryProductXrefImpl.CategoryProductXrefPk.setCategory(org.broadleafcommerce.core.catalog.domain.Category)

getProduct

public Product getProduct()
Description copied from interface: CategoryProductXref
Gets the product.

Specified by:
getProduct in interface CategoryProductXref
Returns:
See Also:
CategoryProductXrefImpl.CategoryProductXrefPk.getProduct()

setProduct

public void setProduct(Product product)
Description copied from interface: CategoryProductXref
Sets the product.

Specified by:
setProduct in interface CategoryProductXref
Parameters:
product -
See Also:
CategoryProductXrefImpl.CategoryProductXrefPk.setProduct(org.broadleafcommerce.core.catalog.domain.Product)


Copyright © 2012. All Rights Reserved.