org.broadleafcommerce.core.catalog.domain
Interface CategoryProduct

All Superinterfaces:
java.io.Serializable

public interface CategoryProduct
extends java.io.Serializable

Implementations of this interface are used to hold data about the many-to-many relationship between the Category table and the Product table. This entity is only used for executing a named query.

You should implement this class if you want to make significant changes to the relationship between Category and Product. If you just want to add additional fields then you should extend CategoryProductImpl.

Author:
btaylor
See Also:
CategoryProductImpl},{@link Category}, {@link Product}

Method Summary
 Category getCategory()
          Gets the category.
 java.lang.Integer getDisplayOrder()
          Gets the display order.
 Product getProduct()
          Gets the product.
 void setCategory(Category category)
          Sets the category.
 void setDisplayOrder(java.lang.Integer displayOrder)
          Sets the display order.
 void setProduct(Product product)
          Sets the product.
 

Method Detail

getCategory

Category getCategory()
Gets the category.

Returns:
the category

setCategory

void setCategory(Category category)
Sets the category.

Parameters:
category - the new category

getProduct

Product getProduct()
Gets the product.

Returns:
the product

setProduct

void setProduct(Product product)
Sets the product.

Parameters:
product - the new product

getDisplayOrder

java.lang.Integer getDisplayOrder()
Gets the display order.

Returns:
the display order

setDisplayOrder

void setDisplayOrder(java.lang.Integer displayOrder)
Sets the display order.

Parameters:
displayOrder - the new display order


Copyright © 2011. All Rights Reserved.