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 Details

    • id

      protected Long id
    • productId

      protected Long productId
    • attributeName

      protected String attributeName
    • attributeValue

      protected String attributeValue
    • archived

      protected Character 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:
      wrapDetails in interface org.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:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductAttribute>
    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getProductId

      public Long getProductId()
      Returns:
      the productId
    • setProductId

      public void setProductId(Long productId)
      Parameters:
      productId - the productId to set
    • getAttributeName

      public String getAttributeName()
      Returns:
      the attributeName
    • setAttributeName

      public void setAttributeName(String attributeName)
      Parameters:
      attributeName - the attributeName to set
    • getAttributeValue

      public String getAttributeValue()
      Returns:
      the attributeValue
    • setAttributeValue

      public void setAttributeValue(String attributeValue)
      Parameters:
      attributeValue - the attributeValue to set
    • getArchived

      public Character getArchived()
    • setArchived

      public void setArchived(Character archived)