@Entity public class CategoryMappingImpl extends Object implements CategoryMapping, CategoryMappingAdminPresentation
CategoryMappingAdminPresentation.FieldOrder, CategoryMappingAdminPresentation.TabName, CategoryMappingAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.core.catalog.domain.Category |
category |
protected String |
categoryMappingType |
protected Long |
id |
protected org.broadleafcommerce.core.catalog.domain.Product |
product |
protected org.broadleafcommerce.core.catalog.domain.Sku |
sku |
protected String |
target |
| Constructor and Description |
|---|
CategoryMappingImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends CategoryMapping> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
org.broadleafcommerce.core.catalog.domain.Category |
getCategory() |
CategoryMappingType |
getCategoryMappingType() |
Long |
getId() |
org.broadleafcommerce.core.catalog.domain.Product |
getProduct() |
org.broadleafcommerce.core.catalog.domain.Sku |
getSku() |
String |
getTargetCategory() |
void |
setCategory(org.broadleafcommerce.core.catalog.domain.Category category) |
void |
setCategoryMappingType(CategoryMappingType categoryMappingType) |
void |
setId(Long id) |
void |
setProduct(org.broadleafcommerce.core.catalog.domain.Product product) |
void |
setSku(org.broadleafcommerce.core.catalog.domain.Sku sku) |
void |
setTargetCategory(String target) |
protected Long id
protected String categoryMappingType
protected String target
protected org.broadleafcommerce.core.catalog.domain.Category category
protected org.broadleafcommerce.core.catalog.domain.Product product
protected org.broadleafcommerce.core.catalog.domain.Sku sku
public Long getId()
getId in interface CategoryMappingpublic void setId(Long id)
setId in interface CategoryMappingpublic CategoryMappingType getCategoryMappingType()
getCategoryMappingType in interface CategoryMappingpublic void setCategoryMappingType(CategoryMappingType categoryMappingType)
setCategoryMappingType in interface CategoryMappingpublic org.broadleafcommerce.core.catalog.domain.Category getCategory()
getCategory in interface CategoryMappingpublic void setCategory(org.broadleafcommerce.core.catalog.domain.Category category)
setCategory in interface CategoryMappingpublic String getTargetCategory()
getTargetCategory in interface CategoryMappingpublic void setTargetCategory(String target)
setTargetCategory in interface CategoryMappingpublic org.broadleafcommerce.core.catalog.domain.Product getProduct()
getProduct in interface CategoryMappingpublic void setProduct(org.broadleafcommerce.core.catalog.domain.Product product)
setProduct in interface CategoryMappingpublic org.broadleafcommerce.core.catalog.domain.Sku getSku()
getSku in interface CategoryMappingpublic void setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
setSku in interface CategoryMappingpublic <G extends CategoryMapping> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<CategoryMapping>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.