Class CategoryAttributeWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.CategoryAttributeWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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>
Author:
Phillip Verheyden
See Also:
  • Field Details

    • id

      protected Long id
    • categoryId

      protected Long categoryId
    • attributeName

      protected String attributeName
    • attributeValue

      protected String attributeValue
  • Constructor Details

    • CategoryAttributeWrapper

      public CategoryAttributeWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.catalog.domain.CategoryAttribute model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.CategoryAttribute>
    • getId

      public Long getId()
      Returns:
      the id
    • setId

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

      public Long getCategoryId()
      Returns:
      the categoryId
    • setCategoryId

      public void setCategoryId(Long categoryId)
      Parameters:
      categoryId - the categoryId 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