org.broadleafcommerce.profile.core.domain
Class CustomerAttributeImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.domain.CustomerAttributeImpl
All Implemented Interfaces:
Serializable, 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()
          Gets the name.
 String getValue()
          Gets the value.
 int hashCode()
           
 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.
 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()
Description copied from interface: CustomerAttribute
Gets the value. (e.g. 9.5)

Specified by:
getValue in interface CustomerAttribute
Returns:
the value

setValue

public void setValue(String value)
Description copied from interface: CustomerAttribute
Sets the value.

Specified by:
setValue in interface CustomerAttribute
Parameters:
value - the new value

getName

public String getName()
Description copied from interface: CustomerAttribute
Gets the name. (e.g. shoeSize)

Specified by:
getName in interface CustomerAttribute
Returns:
the name

setName

public void setName(String name)
Description copied from interface: CustomerAttribute
Sets the name.

Specified by:
setName in interface CustomerAttribute
Parameters:
name - the new name

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.