Class CrossSaleProductImpl
java.lang.Object
org.broadleafcommerce.core.catalog.domain.CrossSaleProductImpl
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<CrossSaleProductImpl>,CrossSaleProduct,PromotableProduct,RelatedProduct
@Entity
public class CrossSaleProductImpl
extends Object
implements CrossSaleProduct, org.broadleafcommerce.common.copy.MultiTenantCloneable<CrossSaleProductImpl>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CrossSaleProductImpl>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleangetId()inthashCode()voidsetCategory(Category category) voidvoidsetProduct(Product product) voidsetPromotionMessage(String promotionMessage) voidsetRelatedProduct(Product relatedSaleProduct) voidsetSequence(BigDecimal sequence)
-
Field Details
-
id
-
promotionMessage
-
sequence
-
product
-
category
-
-
Constructor Details
-
CrossSaleProductImpl
public CrossSaleProductImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceRelatedProduct
-
setId
- Specified by:
setIdin interfaceRelatedProduct
-
getPromotionMessage
- Specified by:
getPromotionMessagein interfacePromotableProduct- Specified by:
getPromotionMessagein interfaceRelatedProduct
-
setPromotionMessage
- Specified by:
setPromotionMessagein interfaceRelatedProduct
-
getSequence
- Specified by:
getSequencein interfaceRelatedProduct
-
setSequence
- Specified by:
setSequencein interfaceRelatedProduct
-
getProduct
- Specified by:
getProductin interfaceRelatedProduct
-
setProduct
- Specified by:
setProductin interfaceRelatedProduct
-
getCategory
- Specified by:
getCategoryin interfaceRelatedProduct
-
setCategory
- Specified by:
setCategoryin interfaceRelatedProduct
-
getRelatedProduct
- Specified by:
getRelatedProductin interfacePromotableProduct- Specified by:
getRelatedProductin interfaceRelatedProduct
-
setRelatedProduct
- Specified by:
setRelatedProductin interfaceRelatedProduct
-
equals
-
hashCode
public int hashCode() -
createOrRetrieveCopyInstance
public <G extends CrossSaleProductImpl> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<CrossSaleProductImpl>- Throws:
CloneNotSupportedException
-