@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 CategoryMapping
public void setId(Long id)
setId
in interface CategoryMapping
public CategoryMappingType getCategoryMappingType()
getCategoryMappingType
in interface CategoryMapping
public void setCategoryMappingType(CategoryMappingType categoryMappingType)
setCategoryMappingType
in interface CategoryMapping
public org.broadleafcommerce.core.catalog.domain.Category getCategory()
getCategory
in interface CategoryMapping
public void setCategory(org.broadleafcommerce.core.catalog.domain.Category category)
setCategory
in interface CategoryMapping
public String getTargetCategory()
getTargetCategory
in interface CategoryMapping
public void setTargetCategory(String target)
setTargetCategory
in interface CategoryMapping
public org.broadleafcommerce.core.catalog.domain.Product getProduct()
getProduct
in interface CategoryMapping
public void setProduct(org.broadleafcommerce.core.catalog.domain.Product product)
setProduct
in interface CategoryMapping
public org.broadleafcommerce.core.catalog.domain.Sku getSku()
getSku
in interface CategoryMapping
public void setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
setSku
in interface CategoryMapping
public <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>
CloneNotSupportedException
Copyright © 2020. All rights reserved.