Class CustomerAttributeImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CustomerAttributeImpl
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerAttribute>,org.broadleafcommerce.common.value.ValueAssignable<String>,CustomerAttribute
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CustomerAttribute>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleanGets the associated customer.getId()Gets the id.getName()getValue()inthashCode()voidsetCustomer(Customer customer) Sets the associated customer.voidSets the id.voidvoidtoString()
-
Field Details
-
id
The id. -
name
The name. -
value
The value. -
customer
The customer.
-
-
Constructor Details
-
CustomerAttributeImpl
public CustomerAttributeImpl()
-
-
Method Details
-
getId
Description copied from interface:CustomerAttributeGets the id.- Specified by:
getIdin interfaceCustomerAttribute- Returns:
- the id
-
setId
Description copied from interface:CustomerAttributeSets the id.- Specified by:
setIdin interfaceCustomerAttribute- Parameters:
id- the new id
-
getValue
- Specified by:
getValuein interfaceorg.broadleafcommerce.common.value.ValueAssignable<String>
-
setValue
- Specified by:
setValuein interfaceorg.broadleafcommerce.common.value.ValueAssignable<String>
-
getName
- Specified by:
getNamein interfaceorg.broadleafcommerce.common.value.ValueAssignable<String>
-
setName
- Specified by:
setNamein interfaceorg.broadleafcommerce.common.value.ValueAssignable<String>
-
toString
-
getCustomer
Description copied from interface:CustomerAttributeGets the associated customer.- Specified by:
getCustomerin interfaceCustomerAttribute- Returns:
- the customer
-
setCustomer
Description copied from interface:CustomerAttributeSets the associated customer.- Specified by:
setCustomerin interfaceCustomerAttribute
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends CustomerAttribute> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerAttribute>- Throws:
CloneNotSupportedException
-