org.broadleafcommerce.profile.core.domain
Interface CustomerAttribute

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomerAttributeImpl

public interface CustomerAttribute
extends Serializable

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.
 String getName()
          Gets the name.
 String getValue()
          Gets the value.
 void setCustomer(Customer customer)
          Sets the associated customer.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setValue(String value)
          Sets the value.
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

getName

String getName()
Gets the name. (e.g. shoeSize)

Returns:
the name

setName

void setName(String name)
Sets the name.

Parameters:
name - the new name

getValue

String getValue()
Gets the value. (e.g. 9.5)

Returns:
the value

setValue

void setValue(String value)
Sets the value.

Parameters:
value - the new value

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.