public class ISOCountryWrapper extends BaseWrapper implements APIWrapper<ISOCountry>, APIUnwrapper<ISOCountry>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alpha2 |
protected String |
name |
context| Constructor and Description |
|---|
ISOCountryWrapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlpha2() |
String |
getName() |
void |
setAlpha2(String alpha2) |
void |
setName(String name) |
ISOCountry |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext) |
void |
wrapDetails(ISOCountry model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(ISOCountry model,
javax.servlet.http.HttpServletRequest request) |
createElementWrappers, setApplicationContextpublic void wrapDetails(ISOCountry model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<ISOCountry>public void wrapSummary(ISOCountry model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<ISOCountry>public ISOCountry unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
unwrap in interface APIUnwrapper<ISOCountry>public String getName()
public void setName(String name)
name - the name to setpublic String getAlpha2()
public void setAlpha2(String alpha2)
alpha2 - the alpha2 to setCopyright © 2015. All Rights Reserved.