Class JpaAccountAddress
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaAccountAddress
-
- 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 JpaAccountAddress 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 JpaAccountAddress()
-
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
-
getAccount
public JpaAccount getAccount()
-
getName
public String getName()
- See Also:
AccountAddress.getName()
-
getType
public String getType()
- See Also:
AccountAddress.getType()
-
isDefault
public boolean isDefault()
- See Also:
AccountAddress.isDefault()
-
getFirstName
public String getFirstName()
- See Also:
AccountAddress.getFirstName()
-
getLastName
public String getLastName()
- See Also:
AccountAddress.getLastName()
-
getFullName
public String getFullName()
- See Also:
AccountAddress.getFullName()
-
getEmailAddress
public String getEmailAddress()
- See Also:
AccountAddress.getEmailAddress()
-
getAddressLine1
public String getAddressLine1()
- See Also:
AccountAddress.getAddressLine1()
-
getAddressLine2
public String getAddressLine2()
- See Also:
AccountAddress.getAddressLine2()
-
getAddressLine3
public String getAddressLine3()
- See Also:
AccountAddress.getAddressLine3()
-
getCity
public String getCity()
- See Also:
AccountAddress.getCity()
-
getCounty
public String getCounty()
- See Also:
AccountAddress.getCounty()
-
getStateProvinceRegion
public String getStateProvinceRegion()
- See Also:
AccountAddress.getStateProvinceRegion()
-
getCountry
public String getCountry()
- See Also:
AccountAddress.getCountry()
-
getPostalCode
public String getPostalCode()
- See Also:
AccountAddress.getPostalCode()
-
getPhonePrimary
public Phone getPhonePrimary()
- See Also:
AccountAddress.getPhonePrimary()
-
getPhoneSecondary
public Phone getPhoneSecondary()
- See Also:
AccountAddress.getPhoneSecondary()
-
getPhoneFax
public Phone getPhoneFax()
- See Also:
AccountAddress.getPhoneFax()
-
isActive
public boolean isActive()
- See Also:
AccountAddress.isActive()
-
getVisibleToChildren
public String getVisibleToChildren()
- See Also:
AccountAddress.getVisibleToChildren()
-
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
-
setAccount
public void setAccount(JpaAccount account)
-
setName
public void setName(String name)
- See Also:
AccountAddress.getName()
-
setType
public void setType(String type)
- See Also:
AccountAddress.getType()
-
setDefault
public void setDefault(boolean isDefault)
- See Also:
AccountAddress.isDefault()
-
setFirstName
public void setFirstName(String firstName)
- See Also:
AccountAddress.getFirstName()
-
setLastName
public void setLastName(String lastName)
- See Also:
AccountAddress.getLastName()
-
setFullName
public void setFullName(String fullName)
- See Also:
AccountAddress.getFullName()
-
setEmailAddress
public void setEmailAddress(String emailAddress)
- See Also:
AccountAddress.getEmailAddress()
-
setAddressLine1
public void setAddressLine1(String addressLine1)
- See Also:
AccountAddress.getAddressLine1()
-
setAddressLine2
public void setAddressLine2(String addressLine2)
- See Also:
AccountAddress.getAddressLine2()
-
setAddressLine3
public void setAddressLine3(String addressLine3)
- See Also:
AccountAddress.getAddressLine3()
-
setCity
public void setCity(String city)
- See Also:
AccountAddress.getCity()
-
setCounty
public void setCounty(String county)
- See Also:
AccountAddress.getCounty()
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
- See Also:
AccountAddress.getStateProvinceRegion()
-
setCountry
public void setCountry(String country)
- See Also:
AccountAddress.getCountry()
-
setPostalCode
public void setPostalCode(String postalCode)
- See Also:
AccountAddress.getPostalCode()
-
setPhonePrimary
public void setPhonePrimary(Phone phonePrimary)
- See Also:
AccountAddress.getPhonePrimary()
-
setPhoneSecondary
public void setPhoneSecondary(Phone phoneSecondary)
- See Also:
AccountAddress.getPhoneSecondary()
-
setPhoneFax
public void setPhoneFax(Phone phoneFax)
- See Also:
AccountAddress.getPhoneFax()
-
setActive
public void setActive(boolean isActive)
- See Also:
AccountAddress.isActive()
-
setVisibleToChildren
public void setVisibleToChildren(String visibleToChildren)
- See Also:
AccountAddress.getVisibleToChildren()
-
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)
-
-