|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl
@Entity public class CategoryProductXrefImpl
The Class CategoryProductXrefImpl is the default implmentation of 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.
This implementation uses a Hibernate implementation of JPA configured through annotations.
The Entity references the following tables:
BLC_CATEGORY_PRODUCT_XREF,
Category}, {@link ProductImpl},
Serialized Form| Field Summary | |
|---|---|
protected Category |
category
|
protected BigDecimal |
displayOrder
The display order. |
protected Long |
id
|
protected Product |
product
The product. |
| Constructor Summary | |
|---|---|
CategoryProductXrefImpl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected Category category
protected Product product
protected BigDecimal displayOrder
| Constructor Detail |
|---|
public CategoryProductXrefImpl()
| Method Detail |
|---|
public BigDecimal getDisplayOrder()
CategoryProductXref
getDisplayOrder in interface CategoryProductXrefpublic void setDisplayOrder(BigDecimal displayOrder)
CategoryProductXref
setDisplayOrder in interface CategoryProductXrefdisplayOrder - the new display orderpublic Category getCategory()
CategoryProductXref
getCategory in interface CategoryProductXrefpublic void setCategory(Category category)
CategoryProductXref
setCategory in interface CategoryProductXrefcategory - the new categorypublic Product getProduct()
CategoryProductXref
getProduct in interface CategoryProductXrefpublic void setProduct(Product product)
CategoryProductXref
setProduct in interface CategoryProductXrefproduct - the new productpublic Long getId()
getId in interface CategoryProductXrefpublic void setId(Long id)
setId in interface CategoryProductXrefpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||