Class ISOCountryWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.ISOCountryWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.common.i18n.domain.ISOCountry>,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.common.i18n.domain.ISOCountry>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
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>
This is a JAXB wrapper around ISOCountry.
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
FieldsFields inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidvoidorg.broadleafcommerce.common.i18n.domain.ISOCountryunwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext) voidwrapDetails(org.broadleafcommerce.common.i18n.domain.ISOCountry model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.common.i18n.domain.ISOCountry model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
name
-
alpha2
-
-
Constructor Details
-
ISOCountryWrapper
public ISOCountryWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.common.i18n.domain.ISOCountry model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.common.i18n.domain.ISOCountry>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.common.i18n.domain.ISOCountry model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.common.i18n.domain.ISOCountry>
-
unwrap
public org.broadleafcommerce.common.i18n.domain.ISOCountry unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext) - Specified by:
unwrapin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.common.i18n.domain.ISOCountry>
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getAlpha2
- Returns:
- the alpha2
-
setAlpha2
- Parameters:
alpha2- the alpha2 to set
-