public class StateWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.State>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.State>
| Modifier and Type | Field and Description |
|---|---|
protected String |
abbreviation |
protected String |
name |
| Constructor and Description |
|---|
StateWrapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation() |
String |
getName() |
void |
setAbbreviation(String abbreviation) |
void |
setName(String name) |
org.broadleafcommerce.profile.core.domain.State |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext) |
void |
wrapDetails(org.broadleafcommerce.profile.core.domain.State model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.profile.core.domain.State model,
javax.servlet.http.HttpServletRequest request) |
public void wrapDetails(org.broadleafcommerce.profile.core.domain.State model,
javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.State>public void wrapSummary(org.broadleafcommerce.profile.core.domain.State model,
javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.State>public org.broadleafcommerce.profile.core.domain.State unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext)
unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.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 © 2020. All rights reserved.