org.broadleafcommerce.core.web.api.wrapper
Class ProductOptionWrapper

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.ProductOptionWrapper
All Implemented Interfaces:
APIWrapper<ProductOption>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ProductOptionWrapper
extends BaseWrapper
implements APIWrapper<ProductOption>

This is a JAXB wrapper around Product. User: Kelly Tisdell Date: 4/10/12


Field Summary
protected  List<ProductOptionValueWrapper> allowedValues
           
protected  String attributeName
           
protected  Long id
           
protected  String label
           
protected  String productOptionType
           
protected  Boolean required
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
ProductOptionWrapper()
           
 
Method Summary
 void wrap(ProductOption model, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

attributeName

protected String attributeName

label

protected String label

required

protected Boolean required

productOptionType

protected String productOptionType

allowedValues

protected List<ProductOptionValueWrapper> allowedValues
Constructor Detail

ProductOptionWrapper

public ProductOptionWrapper()
Method Detail

wrap

public void wrap(ProductOption model,
                 javax.servlet.http.HttpServletRequest request)
Specified by:
wrap in interface APIWrapper<ProductOption>


Copyright © 2013. All Rights Reserved.