Class UpSaleProductImpl
java.lang.Object
org.broadleafcommerce.core.catalog.domain.UpSaleProductImpl
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<UpSaleProductImpl>,PromotableProduct,RelatedProduct,UpSaleProduct
@Entity
public class UpSaleProductImpl
extends Object
implements UpSaleProduct, org.broadleafcommerce.common.copy.MultiTenantCloneable<UpSaleProductImpl>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends UpSaleProductImpl>
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
-
category
-
-
Constructor Details
-
UpSaleProductImpl
public UpSaleProductImpl()
-
-
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 UpSaleProductImpl> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<UpSaleProductImpl>- Throws:
CloneNotSupportedException
-