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 longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JpaAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)org.modelmapper.ModelMapperfromMe()StringgetAccountNumber()StringgetAccountType()Map<String,JpaAttribute>getAttributes()Class<?>getBusinessDomainType()StringgetContextId()StringgetName()StringgetOwnerIdentifier()StringgetParentAccountId()StringgetStatus()StringgetTaxId()com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTrackinggetTracking()inthashCode()voidsetAccountNumber(String accountNumber)voidsetAccountType(String accountType)voidsetAttributes(Map<String,JpaAttribute> attributes)voidsetContextId(String contextId)voidsetName(String name)voidsetParentAccountId(String parentAccountId)voidsetStatus(String status)voidsetTaxId(String taxId)voidsetTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)org.modelmapper.ModelMappertoMe()StringtoString()-
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:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()
- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
public String getOwnerIdentifier()
- Specified by:
getOwnerIdentifierin interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getContextId
public String getContextId()
- Specified by:
getContextIdin 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:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
public void setContextId(String contextId)
- Specified by:
setContextIdin 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:
setTrackingin 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)
-
-