org.broadleafcommerce.core.catalog.domain
Class UpSaleProductImpl

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

@Entity
public class UpSaleProductImpl
extends Object
implements RelatedProduct

See Also:
Serialized Form

Field Summary
protected  Category category
           
 
Constructor Summary
UpSaleProductImpl()
           
 
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

category

protected Category category
Constructor Detail

UpSaleProductImpl

public UpSaleProductImpl()
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.