org.broadleafcommerce.profile.core.domain
Interface CustomerAttribute

All Superinterfaces:
Serializable, ValueAssignable<String>
All Known Implementing Classes:
CustomerAttributeImpl

public interface CustomerAttribute
extends ValueAssignable<String>

Implementations of this interface are used to hold data about a Customers Attributes.
For high volume sites, you should consider extending the BLC Customer entity instead of relying on custom attributes as the extension mechanism is more performant under load.

Author:
bpolster
See Also:
CustomerAttributeImpl}, {@link Customer}

Method Summary
 Customer getCustomer()
          Gets the associated customer.
 Long getId()
          Gets the id.
 void setCustomer(Customer customer)
          Sets the associated customer.
 void setId(Long id)
          Sets the id.
 
Methods inherited from interface org.broadleafcommerce.common.value.ValueAssignable
getName, getValue, setName, setValue
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

getCustomer

Customer getCustomer()
Gets the associated customer.

Returns:
the customer

setCustomer

void setCustomer(Customer customer)
Sets the associated customer.

Parameters:
customer -


Copyright © 2013. All Rights Reserved.