public class CategoryAttributeWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>
Modifier and Type | Field and Description |
---|---|
protected String |
attributeName |
protected String |
attributeValue |
protected Long |
categoryId |
protected Long |
id |
Constructor and Description |
---|
CategoryAttributeWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
String |
getAttributeValue() |
Long |
getCategoryId() |
Long |
getId() |
void |
setAttributeName(String attributeName) |
void |
setAttributeValue(String attributeValue) |
void |
setCategoryId(Long categoryId) |
void |
setId(Long id) |
void |
wrapDetails(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected Long categoryId
protected String attributeName
protected String attributeValue
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>
public void wrapSummary(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>
public Long getId()
public void setId(Long id)
id
- the id to setpublic Long getCategoryId()
public void setCategoryId(Long categoryId)
categoryId
- the categoryId to setpublic String getAttributeName()
public void setAttributeName(String attributeName)
attributeName
- the attributeName to setpublic String getAttributeValue()
public void setAttributeValue(String attributeValue)
attributeValue
- the attributeValue to setCopyright © 2020. All rights reserved.