Class SkuAttributeWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.SkuAttributeWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuAttribute>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SkuAttributeWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuAttribute>
This is a JAXB wrapper for SkuAttribute
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()getSkuId()voidsetArchived(Character archived) voidsetAttributeName(String attributeName) voidsetAttributeValue(String attributeValue) voidvoidvoidwrapDetails(org.broadleafcommerce.core.catalog.domain.SkuAttribute model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.core.catalog.domain.SkuAttribute model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
id
-
skuId
-
attributeName
-
attributeValue
-
archived
-
-
Constructor Details
-
SkuAttributeWrapper
public SkuAttributeWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.SkuAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuAttribute>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.core.catalog.domain.SkuAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuAttribute>
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getSkuId
- Returns:
- the skuId
-
setSkuId
- Parameters:
skuId- the skuId 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
-