public class CountryWrapper extends BaseWrapper implements APIWrapper<Country>, APIUnwrapper<Country>
| Modifier and Type | Field and Description |
|---|---|
protected String |
abbreviation |
protected String |
name |
context| Constructor and Description |
|---|
CountryWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Country |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext) |
void |
wrapDetails(Country model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Country model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextpublic void wrapDetails(Country model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Country>public void wrapSummary(Country model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Country>public Country unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
unwrap in interface APIUnwrapper<Country>Copyright © 2014. All Rights Reserved.