@Entity public class CustomerAttributeImpl extends java.lang.Object implements CustomerAttribute
| Modifier and Type | Field and Description |
|---|---|
protected Customer |
customer
The customer.
|
protected java.lang.Long |
id
The id.
|
protected java.lang.String |
name
The name.
|
protected java.lang.String |
value
The value.
|
| Constructor and Description |
|---|
CustomerAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Customer |
getCustomer()
Gets the associated customer.
|
java.lang.Long |
getId()
Gets the id.
|
java.lang.String |
getName() |
java.lang.String |
getValue() |
int |
hashCode() |
void |
setCustomer(Customer customer)
Sets the associated customer.
|
void |
setId(java.lang.Long id)
Sets the id.
|
void |
setName(java.lang.String name) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
protected java.lang.Long id
protected java.lang.String name
protected java.lang.String value
protected Customer customer
public java.lang.Long getId()
CustomerAttributegetId in interface CustomerAttributepublic void setId(java.lang.Long id)
CustomerAttributesetId in interface CustomerAttributeid - the new idpublic java.lang.String getValue()
getValue in interface ValueAssignable<java.lang.String>public void setValue(java.lang.String value)
setValue in interface ValueAssignable<java.lang.String>public java.lang.String getName()
getName in interface ValueAssignable<java.lang.String>public void setName(java.lang.String name)
setName in interface ValueAssignable<java.lang.String>public java.lang.String toString()
toString in class java.lang.Objectpublic Customer getCustomer()
CustomerAttributegetCustomer in interface CustomerAttributepublic void setCustomer(Customer customer)
CustomerAttributesetCustomer in interface CustomerAttributepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.