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