org.broadleafcommerce.core.catalog.domain
Class CrossSaleProductImpl

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.CrossSaleProductImpl
All Implemented Interfaces:
Serializable, PromotableProduct, RelatedProduct

@Entity
public class CrossSaleProductImpl
extends Object
implements RelatedProduct

See Also:
Serialized Form

Field Summary
protected  Category category
           
protected  Long id
           
protected  Product product
           
protected  String promotionMessage
           
protected  Product relatedSaleProduct
           
protected  Long sequence
           
protected static long serialVersionUID
           
 
Constructor Summary
CrossSaleProductImpl()
           
 
Method Summary
 Category getCategory()
           
 Long getId()
           
 Product getProduct()
           
 String getPromotionMessage()
           
 Product getRelatedProduct()
           
 Long getSequence()
           
 void setCategory(Category category)
           
 void setId(Long id)
           
 void setProduct(Product product)
           
 void setPromotionMessage(String promotionMessage)
           
 void setRelatedProduct(Product relatedSaleProduct)
           
 void setSequence(Long sequence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

id

protected Long id

promotionMessage

protected String promotionMessage

sequence

protected Long sequence

product

protected Product product

category

protected Category category

relatedSaleProduct

protected Product relatedSaleProduct
Constructor Detail

CrossSaleProductImpl

public CrossSaleProductImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface RelatedProduct

setId

public void setId(Long id)
Specified by:
setId in interface RelatedProduct

getPromotionMessage

public String getPromotionMessage()
Specified by:
getPromotionMessage in interface PromotableProduct
Specified by:
getPromotionMessage in interface RelatedProduct

setPromotionMessage

public void setPromotionMessage(String promotionMessage)
Specified by:
setPromotionMessage in interface RelatedProduct

getSequence

public Long getSequence()
Specified by:
getSequence in interface RelatedProduct

setSequence

public void setSequence(Long sequence)
Specified by:
setSequence in interface RelatedProduct

getProduct

public Product getProduct()
Specified by:
getProduct in interface RelatedProduct

setProduct

public void setProduct(Product product)
Specified by:
setProduct in interface RelatedProduct

getCategory

public Category getCategory()
Specified by:
getCategory in interface RelatedProduct

setCategory

public void setCategory(Category category)
Specified by:
setCategory in interface RelatedProduct

getRelatedProduct

public Product getRelatedProduct()
Specified by:
getRelatedProduct in interface PromotableProduct
Specified by:
getRelatedProduct in interface RelatedProduct

setRelatedProduct

public void setRelatedProduct(Product relatedSaleProduct)
Specified by:
setRelatedProduct in interface RelatedProduct


Copyright © 2012. All Rights Reserved.