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