Class ProductOptionWrapper

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

public class ProductOptionWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.ProductOption>
This is a JAXB wrapper around Product. User: Kelly Tisdell Date: 4/10/12
See Also:
  • Field Details

    • attributeName

      protected String attributeName
    • label

      protected String label
    • required

      protected Boolean required
    • productOptionType

      protected String productOptionType
    • productOptionValidationStrategyType

      protected String productOptionValidationStrategyType
    • productOptionValidationType

      protected String productOptionValidationType
    • allowedValues

      protected List<ProductOptionValueWrapper> allowedValues
    • validationString

      protected String validationString
    • archived

      protected Character archived
  • Constructor Details

    • ProductOptionWrapper

      public ProductOptionWrapper()
  • Method Details

    • wrapDetails

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

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

      public String getAttributeName()
      Returns:
      the attributeName
    • setAttributeName

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

      public String getLabel()
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label to set
    • getRequired

      public Boolean getRequired()
      Returns:
      the required
    • setRequired

      public void setRequired(Boolean required)
      Parameters:
      required - the required to set
    • getProductOptionType

      public String getProductOptionType()
      Returns:
      the productOptionType
    • setProductOptionType

      public void setProductOptionType(String productOptionType)
      Parameters:
      productOptionType - the productOptionType to set
    • getProductOptionValidationStrategyType

      public String getProductOptionValidationStrategyType()
      Returns:
      the productOptionValidationStrategyType
    • setProductOptionValidationStrategyType

      public void setProductOptionValidationStrategyType(String productOptionValidationStrategyType)
      Parameters:
      productOptionValidationStrategyType - the productOptionValidationStrategyType to set
    • getProductOptionValidationType

      public String getProductOptionValidationType()
      Returns:
      the productOptionValidationType
    • setProductOptionValidationType

      public void setProductOptionValidationType(String productOptionValidationType)
      Parameters:
      productOptionValidationType - the productOptionValidationType to set
    • getAllowedValues

      public List<ProductOptionValueWrapper> getAllowedValues()
      Returns:
      the allowedValues
    • setAllowedValues

      public void setAllowedValues(List<ProductOptionValueWrapper> allowedValues)
      Parameters:
      allowedValues - the allowedValues to set
    • getValidationString

      public String getValidationString()
      Returns:
      the validationString
    • setValidationString

      public void setValidationString(String validationString)
      Parameters:
      validationString - the validationString to set
    • getArchived

      public Character getArchived()
    • setArchived

      public void setArchived(Character archived)