public class CountryWrapper extends BaseWrapper implements APIWrapper<Country>, APIUnwrapper<Country>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
abbreviation |
protected java.lang.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) |
setApplicationContextprotected java.lang.String name
protected java.lang.String abbreviation
public 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 © 2018. All Rights Reserved.