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

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

public class CountryWrapper
extends BaseWrapper
implements APIWrapper<Country>, APIUnwrapper<Country>

This is a JAXB wrapper around Country. User: Elbert Bautista Date: 4/10/12


Field Summary
protected  String abbreviation
           
protected  String name
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
CountryWrapper()
           
 
Method Summary
 Country unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
           
 void wrap(Country 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

name

protected String name

abbreviation

protected String abbreviation
Constructor Detail

CountryWrapper

public CountryWrapper()
Method Detail

wrap

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

unwrap

public Country unwrap(javax.servlet.http.HttpServletRequest request,
                      org.springframework.context.ApplicationContext appContext)
Specified by:
unwrap in interface APIUnwrapper<Country>


Copyright © 2012. All Rights Reserved.