public class ProductAttributeWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>
| Modifier and Type | Field and Description |
|---|---|
protected Character |
archived |
protected String |
attributeName |
protected String |
attributeValue |
protected Long |
id |
protected Long |
productId |
| Constructor and Description |
|---|
ProductAttributeWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Character |
getArchived() |
String |
getAttributeName() |
String |
getAttributeValue() |
Long |
getId() |
Long |
getProductId() |
void |
setArchived(Character archived) |
void |
setAttributeName(String attributeName) |
void |
setAttributeValue(String attributeValue) |
void |
setId(Long id) |
void |
setProductId(Long productId) |
void |
wrapDetails(org.broadleafcommerce.core.catalog.domain.ProductAttribute model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.catalog.domain.ProductAttribute model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected Long productId
protected String attributeName
protected String attributeValue
protected Character archived
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.ProductAttribute model,
javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>public void wrapSummary(org.broadleafcommerce.core.catalog.domain.ProductAttribute model,
javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>public Long getId()
public void setId(Long id)
id - the id to setpublic Long getProductId()
public void setProductId(Long productId)
productId - the productId 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 setpublic Character getArchived()
public void setArchived(Character archived)
Copyright © 2020. All rights reserved.