@Entity public class CustomerAttributeImpl extends Object implements CustomerAttribute
Modifier and Type | Field and Description |
---|---|
protected Customer |
customer
The customer.
|
protected Long |
id
The id.
|
protected String |
name
The name.
|
protected String |
value
The value.
|
Constructor and Description |
---|
CustomerAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
protected Long id
protected String name
protected String value
protected Customer customer
public Long getId()
CustomerAttribute
getId
in interface CustomerAttribute
public void setId(Long id)
CustomerAttribute
setId
in interface CustomerAttribute
id
- the new idpublic String getValue()
CustomerAttribute
getValue
in interface CustomerAttribute
public void setValue(String value)
CustomerAttribute
setValue
in interface CustomerAttribute
value
- the new valuepublic String getName()
CustomerAttribute
getName
in interface CustomerAttribute
public void setName(String name)
CustomerAttribute
setName
in interface CustomerAttribute
name
- the new namepublic Customer getCustomer()
CustomerAttribute
getCustomer
in interface CustomerAttribute
public void setCustomer(Customer customer)
CustomerAttribute
setCustomer
in interface CustomerAttribute
Copyright © 2013. All rights reserved.