Class ProductAttributeWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.ProductAttributeWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
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>
To change this template use File | Settings | File Templates.
User: Kelly Tisdell
Date: 4/10/12
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Characterprotected Stringprotected Stringprotected Longprotected LongFields inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidsetArchived(Character archived) voidsetAttributeName(String attributeName) voidsetAttributeValue(String attributeValue) voidvoidsetProductId(Long productId) voidwrapDetails(org.broadleafcommerce.core.catalog.domain.ProductAttribute model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.core.catalog.domain.ProductAttribute model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
id
-
productId
-
attributeName
-
attributeValue
-
archived
-
-
Constructor Details
-
ProductAttributeWrapper
public ProductAttributeWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.ProductAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.core.catalog.domain.ProductAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getProductId
- Returns:
- the productId
-
setProductId
- Parameters:
productId- the productId to set
-
getAttributeName
- Returns:
- the attributeName
-
setAttributeName
- Parameters:
attributeName- the attributeName to set
-
getAttributeValue
- Returns:
- the attributeValue
-
setAttributeValue
- Parameters:
attributeValue- the attributeValue to set
-
getArchived
-
setArchived
-