@Entity public class CategoryProductXrefImpl extends Object implements CategoryProductXref
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.
Category}, {@link ProductImpl},
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Long |
displayOrder
The display order.
|
| Constructor and Description |
|---|
CategoryProductXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Category |
getCategory()
Gets the category.
|
CategoryProductXrefPK |
getCategoryProductXref() |
Long |
getDisplayOrder()
Gets the display order.
|
Product |
getProduct()
Gets the product.
|
int |
hashCode() |
void |
setCategory(Category category)
Sets the category.
|
void |
setCategoryProductXref(CategoryProductXrefPK categoryProductXref) |
void |
setDisplayOrder(Long displayOrder)
Sets the display order.
|
void |
setProduct(Product product)
Sets the product.
|
protected Long displayOrder
public CategoryProductXrefPK getCategoryProductXref()
public void setCategoryProductXref(CategoryProductXrefPK categoryProductXref)
public Long getDisplayOrder()
CategoryProductXrefgetDisplayOrder in interface CategoryProductXrefpublic void setDisplayOrder(Long displayOrder)
CategoryProductXrefsetDisplayOrder in interface CategoryProductXrefdisplayOrder - the new display orderpublic Category getCategory()
CategoryProductXrefgetCategory in interface CategoryProductXreforg.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl.CategoryProductXrefPK#getCategory()public void setCategory(Category category)
CategoryProductXrefsetCategory in interface CategoryProductXrefcategory - org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl.CategoryProductXrefPK#setCategory(org.broadleafcommerce.core.catalog.domain.Category)public Product getProduct()
CategoryProductXrefgetProduct in interface CategoryProductXreforg.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl.CategoryProductXrefPK#getProduct()public void setProduct(Product product)
CategoryProductXrefsetProduct in interface CategoryProductXrefproduct - org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl.CategoryProductXrefPK#setProduct(org.broadleafcommerce.core.catalog.domain.Product)Copyright © 2014. All Rights Reserved.