@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 Category |
category |
protected BigDecimal |
displayOrder
The display order.
|
protected Long |
id |
protected Product |
product
The product.
|
| Constructor and Description |
|---|
CategoryProductXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Category |
getCategory()
Gets the category.
|
BigDecimal |
getDisplayOrder()
Gets the display order.
|
Long |
getId() |
Product |
getProduct()
Gets the product.
|
int |
hashCode() |
void |
setCategory(Category category)
Sets the category.
|
void |
setDisplayOrder(BigDecimal displayOrder)
Sets the display order.
|
void |
setId(Long id) |
void |
setProduct(Product product)
Sets the product.
|
protected Long id
protected Category category
protected Product product
protected BigDecimal displayOrder
public BigDecimal getDisplayOrder()
CategoryProductXrefgetDisplayOrder in interface CategoryProductXrefpublic void setDisplayOrder(BigDecimal displayOrder)
CategoryProductXrefsetDisplayOrder in interface CategoryProductXrefdisplayOrder - the new display orderpublic Category getCategory()
CategoryProductXrefgetCategory in interface CategoryProductXrefpublic void setCategory(Category category)
CategoryProductXrefsetCategory in interface CategoryProductXrefcategory - the new categorypublic Product getProduct()
CategoryProductXrefgetProduct in interface CategoryProductXrefpublic void setProduct(Product product)
CategoryProductXrefsetProduct in interface CategoryProductXrefproduct - the new productpublic Long getId()
getId in interface CategoryProductXrefpublic void setId(Long id)
setId in interface CategoryProductXrefCopyright © 2015. All Rights Reserved.