org.broadleafcommerce.profile.core.domain
Class CustomerAttributeImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.domain.CustomerAttributeImpl
All Implemented Interfaces:
Serializable, ValueAssignable<String>, CustomerAttribute

@Entity
public class CustomerAttributeImpl
extends Object
implements CustomerAttribute

See Also:
Serialized Form

Field Summary
protected  Customer customer
          The customer.
protected  Long id
          The id.
protected  String name
          The name.
protected  String value
          The value.
 
Constructor Summary
CustomerAttributeImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Customer getCustomer()
          Gets the associated customer.
 Long getId()
          Gets the id.
 String getName()
           
 String getValue()
           
 int hashCode()
           
 void setCustomer(Customer customer)
          Sets the associated customer.
 void setId(Long id)
          Sets the id.
 void setName(String name)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Long id
The id.


name

protected String name
The name.


value

protected String value
The value.


customer

protected Customer customer
The customer.

Constructor Detail

CustomerAttributeImpl

public CustomerAttributeImpl()
Method Detail

getId

public Long getId()
Description copied from interface: CustomerAttribute
Gets the id.

Specified by:
getId in interface CustomerAttribute
Returns:
the id

setId

public void setId(Long id)
Description copied from interface: CustomerAttribute
Sets the id.

Specified by:
setId in interface CustomerAttribute
Parameters:
id - the new id

getValue

public String getValue()
Specified by:
getValue in interface ValueAssignable<String>

setValue

public void setValue(String value)
Specified by:
setValue in interface ValueAssignable<String>

getName

public String getName()
Specified by:
getName in interface ValueAssignable<String>

setName

public void setName(String name)
Specified by:
setName in interface ValueAssignable<String>

toString

public String toString()
Overrides:
toString in class Object

getCustomer

public Customer getCustomer()
Description copied from interface: CustomerAttribute
Gets the associated customer.

Specified by:
getCustomer in interface CustomerAttribute
Returns:
the customer

setCustomer

public void setCustomer(Customer customer)
Description copied from interface: CustomerAttribute
Sets the associated customer.

Specified by:
setCustomer in interface CustomerAttribute

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.