Class CustomerAttributeImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CustomerAttributeImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<CustomerAttribute>,ValueAssignable<String>,CustomerAttribute
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CustomerAttribute>
CreateResponse<G>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 interfaceValueAssignable<String>
-
setValue
- Specified by:
setValuein interfaceValueAssignable<String>
-
getName
- Specified by:
getNamein interfaceValueAssignable<String>
-
setName
- Specified by:
setNamein interfaceValueAssignable<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> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<CustomerAttribute>- Throws:
CloneNotSupportedException
-