Class JpaAccountMember
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaAccountMember
-
- 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.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
,Serializable
@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaAccountMember 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaAccountMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
org.modelmapper.ModelMapper
fromMe()
JpaAccount
getAccount()
List<AdditionalPhone>
getAdditionalPhones()
Map<String,Object>
getAttributes()
Class<?>
getBusinessDomainType()
String
getContextId()
JpaCustomer
getCustomer()
String
getEmail()
Phone
getPhone()
JpaAccountRole
getRole()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking
getTracking()
int
hashCode()
void
setAccount(JpaAccount account)
void
setAdditionalPhones(List<AdditionalPhone> additionalPhones)
void
setAttributes(Map<String,Object> attributes)
void
setContextId(String contextId)
void
setCustomer(JpaCustomer customer)
void
setEmail(String email)
void
setPhone(Phone phone)
void
setRole(JpaAccountRole role)
void
setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
org.modelmapper.ModelMapper
toMe()
String
toString()
-
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
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getAccount
public JpaAccount getAccount()
- See Also:
AccountMember.getAccountRef()
-
getCustomer
public JpaCustomer getCustomer()
- See Also:
AccountMember.getCustomerRef()
-
getRole
public JpaAccountRole getRole()
- See Also:
AccountMember.getRoleRef()
-
getEmail
public String getEmail()
- See Also:
Customer.getEmail()
-
getPhone
public Phone getPhone()
- See Also:
AccountMember.getPhone()
-
getAdditionalPhones
public List<AdditionalPhone> getAdditionalPhones()
- See Also:
AccountMember.getAdditionalPhones()
-
getAttributes
public Map<String,Object> getAttributes()
- See Also:
AccountMember.getAttributes()
-
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)
- See Also:
AccountMember.getAccountRef()
-
setCustomer
public void setCustomer(JpaCustomer customer)
- See Also:
AccountMember.getCustomerRef()
-
setRole
public void setRole(JpaAccountRole role)
- See Also:
AccountMember.getRoleRef()
-
setEmail
public void setEmail(String email)
- See Also:
Customer.getEmail()
-
setPhone
public void setPhone(Phone phone)
- See Also:
AccountMember.getPhone()
-
setAdditionalPhones
public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
- See Also:
AccountMember.getAdditionalPhones()
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
- See Also:
AccountMember.getAttributes()
-
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)
-
-