@Entity public class CrossSaleProductImpl extends Object implements RelatedProduct
| Modifier and Type | Field and Description |
|---|---|
protected Category |
category |
protected Long |
id |
protected Product |
product |
protected String |
promotionMessage |
protected Product |
relatedSaleProduct |
protected BigDecimal |
sequence |
protected static long |
serialVersionUID |
| Constructor and Description |
|---|
CrossSaleProductImpl() |
| Modifier and Type | Method and Description |
|---|---|
Category |
getCategory() |
Long |
getId() |
Product |
getProduct() |
String |
getPromotionMessage() |
Product |
getRelatedProduct() |
BigDecimal |
getSequence() |
void |
setCategory(Category category) |
void |
setId(Long id) |
void |
setProduct(Product product) |
void |
setPromotionMessage(String promotionMessage) |
void |
setRelatedProduct(Product relatedSaleProduct) |
void |
setSequence(BigDecimal sequence) |
protected static final long serialVersionUID
protected Long id
protected String promotionMessage
protected BigDecimal sequence
protected Product product
protected Category category
protected Product relatedSaleProduct
public Long getId()
getId in interface RelatedProductpublic void setId(Long id)
setId in interface RelatedProductpublic String getPromotionMessage()
getPromotionMessage in interface PromotableProductgetPromotionMessage in interface RelatedProductpublic void setPromotionMessage(String promotionMessage)
setPromotionMessage in interface RelatedProductpublic BigDecimal getSequence()
getSequence in interface RelatedProductpublic void setSequence(BigDecimal sequence)
setSequence in interface RelatedProductpublic Product getProduct()
getProduct in interface RelatedProductpublic void setProduct(Product product)
setProduct in interface RelatedProductpublic Category getCategory()
getCategory in interface RelatedProductpublic void setCategory(Category category)
setCategory in interface RelatedProductpublic Product getRelatedProduct()
getRelatedProduct in interface PromotableProductgetRelatedProduct in interface RelatedProductpublic void setRelatedProduct(Product relatedSaleProduct)
setRelatedProduct in interface RelatedProductCopyright © 2015. All Rights Reserved.