@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 |
|---|---|
<G extends CustomerAttribute> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
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() |
protected Long id
protected String name
protected String value
protected Customer customer
public Long getId()
CustomerAttributegetId in interface CustomerAttributepublic void setId(Long id)
CustomerAttributesetId in interface CustomerAttributeid - the new idpublic String getValue()
getValue in interface ValueAssignable<String>public void setValue(String value)
setValue in interface ValueAssignable<String>public String getName()
getName in interface ValueAssignable<String>public void setName(String name)
setName in interface ValueAssignable<String>public Customer getCustomer()
CustomerAttributegetCustomer in interface CustomerAttributepublic void setCustomer(Customer customer)
CustomerAttributesetCustomer in interface CustomerAttributepublic <G extends CustomerAttribute> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<CustomerAttribute>CloneNotSupportedExceptionCopyright © 2015. All Rights Reserved.