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