Class JpaCustomerAddress
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaCustomerAddress
-
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.policy.Owned
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
,Serializable
@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaCustomerAddress extends Object implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.policy.Owned
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaCustomerAddress()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
-
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
-
-
-
-
Method Detail
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()
- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
public String getOwnerIdentifier()
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getCustomerId
public String getCustomerId()
-
getName
public String getName()
- See Also:
CustomerAddress.getName()
-
isDefaultShippingAddress
public boolean isDefaultShippingAddress()
-
isDefaultBillingAddress
public boolean isDefaultBillingAddress()
-
getFirstName
public String getFirstName()
- See Also:
CustomerAddress.getFirstName()
-
getLastName
public String getLastName()
- See Also:
CustomerAddress.getLastName()
-
getFullName
public String getFullName()
- See Also:
CustomerAddress.getFullName()
-
getEmailAddress
public String getEmailAddress()
- See Also:
CustomerAddress.getEmailAddress()
-
getAddressLine1
public String getAddressLine1()
- See Also:
CustomerAddress.getAddressLine1()
-
getAddressLine2
public String getAddressLine2()
- See Also:
CustomerAddress.getAddressLine2()
-
getAddressLine3
public String getAddressLine3()
- See Also:
CustomerAddress.getAddressLine3()
-
getCity
public String getCity()
- See Also:
CustomerAddress.getCity()
-
getCounty
public String getCounty()
- See Also:
CustomerAddress.getCounty()
-
getStateProvinceRegion
public String getStateProvinceRegion()
- See Also:
CustomerAddress.getStateProvinceRegion()
-
getCountry
public String getCountry()
- See Also:
CustomerAddress.getCountry()
-
getPostalCode
public String getPostalCode()
- See Also:
CustomerAddress.getPostalCode()
-
getPhonePrimary
public Phone getPhonePrimary()
- See Also:
CustomerAddress.getPhonePrimary()
-
getPhoneSecondary
public Phone getPhoneSecondary()
- See Also:
CustomerAddress.getPhoneSecondary()
-
getPhoneFax
public Phone getPhoneFax()
- See Also:
CustomerAddress.getPhoneFax()
-
isActive
public boolean isActive()
- See Also:
CustomerAddress.isActive()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setCustomerId
public void setCustomerId(String customerId)
-
setName
public void setName(String name)
- See Also:
CustomerAddress.getName()
-
setDefaultShippingAddress
public void setDefaultShippingAddress(boolean defaultShippingAddress)
-
setDefaultBillingAddress
public void setDefaultBillingAddress(boolean defaultBillingAddress)
-
setFirstName
public void setFirstName(String firstName)
- See Also:
CustomerAddress.getFirstName()
-
setLastName
public void setLastName(String lastName)
- See Also:
CustomerAddress.getLastName()
-
setFullName
public void setFullName(String fullName)
- See Also:
CustomerAddress.getFullName()
-
setEmailAddress
public void setEmailAddress(String emailAddress)
- See Also:
CustomerAddress.getEmailAddress()
-
setAddressLine1
public void setAddressLine1(String addressLine1)
- See Also:
CustomerAddress.getAddressLine1()
-
setAddressLine2
public void setAddressLine2(String addressLine2)
- See Also:
CustomerAddress.getAddressLine2()
-
setAddressLine3
public void setAddressLine3(String addressLine3)
- See Also:
CustomerAddress.getAddressLine3()
-
setCity
public void setCity(String city)
- See Also:
CustomerAddress.getCity()
-
setCounty
public void setCounty(String county)
- See Also:
CustomerAddress.getCounty()
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
- See Also:
CustomerAddress.getStateProvinceRegion()
-
setCountry
public void setCountry(String country)
- See Also:
CustomerAddress.getCountry()
-
setPostalCode
public void setPostalCode(String postalCode)
- See Also:
CustomerAddress.getPostalCode()
-
setPhonePrimary
public void setPhonePrimary(Phone phonePrimary)
- See Also:
CustomerAddress.getPhonePrimary()
-
setPhoneSecondary
public void setPhoneSecondary(Phone phoneSecondary)
- See Also:
CustomerAddress.getPhoneSecondary()
-
setPhoneFax
public void setPhoneFax(Phone phoneFax)
- See Also:
CustomerAddress.getPhoneFax()
-
setActive
public void setActive(boolean isActive)
- See Also:
CustomerAddress.isActive()
-
setAdditionalAttributes
public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
- Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
-
canEqual
protected boolean canEqual(Object other)
-
-