Class AddressWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.AddressWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Address>,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class AddressWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Address>
This is a JAXB wrapper around Address.
User: Elbert Bautista
Date: 4/10/12
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected CountryWrapperDeprecated.protected Stringprotected Longprotected Booleanprotected Booleanprotected ISOCountryWrapperprotected Stringprotected Stringprotected PhoneWrapperprotected PhoneWrapperprotected PhoneWrapperprotected Stringprotected StateWrapperDeprecated.protected StringFields inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()getId()getState()voidsetAddressLine1(String addressLine1) voidsetAddressLine2(String addressLine2) voidsetAddressLine3(String addressLine3) voidvoidsetCompanyName(String companyName) voidsetCountry(CountryWrapper country) voidsetFirstName(String firstName) voidvoidsetIsBusiness(Boolean isBusiness) voidsetIsDefault(Boolean isDefault) voidsetIsoCountryAlpha2(ISOCountryWrapper isoCountryAlpha2) voidsetIsoCountrySubdivision(String isoCountrySubdivision) voidsetLastName(String lastName) voidsetPhoneFax(PhoneWrapper phoneFax) voidsetPhonePrimary(PhoneWrapper phonePrimary) voidsetPhoneSecondary(PhoneWrapper phoneSecondary) voidsetPostalCode(String postalCode) voidsetState(StateWrapper state) voidsetStateProvinceRegion(String stateProvinceRegion) org.broadleafcommerce.profile.core.domain.Addressunwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext) voidwrapDetails(org.broadleafcommerce.profile.core.domain.Address model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.profile.core.domain.Address model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
id
-
firstName
-
lastName
-
addressLine1
-
addressLine2
-
addressLine3
-
city
-
state
Deprecated.Deprecated. Use "isoCountrySubdivision" and/or "stateProvinceRegion" instead. -
country
Deprecated.Deprecated. Use "isoCountryAlpha2" instead. -
isoCountrySubdivision
-
stateProvinceRegion
-
isoCountryAlpha2
-
postalCode
-
phonePrimary
-
phoneSecondary
-
phoneFax
-
companyName
-
isBusiness
-
isDefault
-
-
Constructor Details
-
AddressWrapper
public AddressWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.profile.core.domain.Address model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.profile.core.domain.Address model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>
-
unwrap
public org.broadleafcommerce.profile.core.domain.Address unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext) - Specified by:
unwrapin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Address>
-
getId
-
setId
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getAddressLine1
-
setAddressLine1
-
getAddressLine2
-
setAddressLine2
-
getAddressLine3
-
setAddressLine3
-
getCity
-
setCity
-
getState
-
setState
-
getCountry
-
setCountry
-
getIsoCountrySubdivision
-
setIsoCountrySubdivision
-
getStateProvinceRegion
-
setStateProvinceRegion
-
getIsoCountryAlpha2
-
setIsoCountryAlpha2
-
getPostalCode
-
setPostalCode
-
getPhonePrimary
-
setPhonePrimary
-
getPhoneSecondary
-
setPhoneSecondary
-
getPhoneFax
-
setPhoneFax
-
getCompanyName
-
setCompanyName
-
getIsBusiness
-
setIsBusiness
-
getIsDefault
-
setIsDefault
-