org.broadleafcommerce.core.catalog.domain
Interface CategoryProductXref

All Superinterfaces:
Serializable
All Known Implementing Classes:
CategoryProductXrefImpl

public interface CategoryProductXref
extends 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 CategoryProductXrefImpl.

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

Method Summary
 Category getCategory()
          Gets the category.
 Long getDisplayOrder()
          Gets the display order.
 Product getProduct()
          Gets the product.
 void setCategory(Category category)
          Sets the category.
 void setDisplayOrder(Long 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

Long getDisplayOrder()
Gets the display order.

Returns:
the display order

setDisplayOrder

void setDisplayOrder(Long displayOrder)
Sets the display order.

Parameters:
displayOrder - the new display order


Copyright © 2013. All Rights Reserved.