@Entity public class CategoryProductXrefImpl extends java.lang.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 java.lang.Long |
displayOrder
The display order.
|
| Constructor and Description |
|---|
CategoryProductXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Category |
getCategory()
Gets the category.
|
CategoryProductXrefPK |
getCategoryProductXref() |
java.lang.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(java.lang.Long displayOrder)
Sets the display order.
|
void |
setProduct(Product product)
Sets the product.
|
public CategoryProductXrefPK getCategoryProductXref()
public void setCategoryProductXref(CategoryProductXrefPK categoryProductXref)
public java.lang.Long getDisplayOrder()
CategoryProductXrefgetDisplayOrder in interface CategoryProductXrefpublic void setDisplayOrder(java.lang.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)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018. All Rights Reserved.