com.elasticpath.domain.catalog
Interface ProductCategory

All Superinterfaces:
java.lang.Comparable, EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
ProductCategoryImpl

public interface ProductCategory
extends ValueObject, java.lang.Comparable

ProductCategory represents an association between a Category and a Product.


Method Summary
 Category getCategory()
          Get the category.
 int getFeaturedProductOrder()
          Get the featured product order.
 void setCategory(Category category)
          Set the category.
 void setFeaturedProductOrder(int featuredProductOrder)
          Set the featured product order.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getCategory

Category getCategory()
Get the category.

Returns:
the category

getFeaturedProductOrder

int getFeaturedProductOrder()
Get the featured product order.

Returns:
the featured product order

setCategory

void setCategory(Category category)
Set the category.

Parameters:
category - the category to set

setFeaturedProductOrder

void setFeaturedProductOrder(int featuredProductOrder)
Set the featured product order.

Parameters:
featuredProductOrder - the featured product order to set