Class JpaAccount
- java.lang.Object
-
- com.broadleafcommerce.customer.provider.jpa.domain.JpaAccount
-
- 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 JpaAccount 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
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description JpaAccount()
-
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()
String
getAccountNumber()
String
getAccountType()
Map<String,JpaAttribute>
getAttributes()
Class<?>
getBusinessDomainType()
String
getContextId()
String
getName()
String
getOwnerIdentifier()
String
getParentAccountId()
String
getStatus()
String
getTaxId()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking
getTracking()
int
hashCode()
void
setAccountNumber(String accountNumber)
void
setAccountType(String accountType)
void
setAttributes(Map<String,JpaAttribute> attributes)
void
setContextId(String contextId)
void
setName(String name)
void
setParentAccountId(String parentAccountId)
void
setStatus(String status)
void
setTaxId(String taxId)
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
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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
-
getParentAccountId
public String getParentAccountId()
-
getStatus
public String getStatus()
- See Also:
Account.getStatus()
-
getName
public String getName()
- See Also:
Account.getName()
-
getAccountNumber
public String getAccountNumber()
- See Also:
Account.getAccountNumber()
-
getAccountType
public String getAccountType()
- See Also:
Account.getAccountType()
-
getTaxId
public String getTaxId()
- See Also:
Account.getTaxId()
-
getAttributes
public Map<String,JpaAttribute> getAttributes()
- See Also:
Account.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
-
setParentAccountId
public void setParentAccountId(String parentAccountId)
-
setStatus
public void setStatus(String status)
- See Also:
Account.getStatus()
-
setName
public void setName(String name)
- See Also:
Account.getName()
-
setAccountNumber
public void setAccountNumber(String accountNumber)
- See Also:
Account.getAccountNumber()
-
setAccountType
public void setAccountType(String accountType)
- See Also:
Account.getAccountType()
-
setTaxId
public void setTaxId(String taxId)
- See Also:
Account.getTaxId()
-
setAttributes
public void setAttributes(Map<String,JpaAttribute> attributes)
- See Also:
Account.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>
- Parameters:
tracking
- The tracking information for this account.
-
canEqual
protected boolean canEqual(Object other)
-
-