@Entity public class CustomerRoleImpl extends java.lang.Object implements CustomerRole
| Modifier and Type | Field and Description |
|---|---|
protected Customer |
customer |
protected java.lang.Long |
id |
protected Role |
role |
| Constructor and Description |
|---|
CustomerRoleImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Customer |
getCustomer() |
java.lang.Long |
getId() |
Role |
getRole() |
java.lang.String |
getRoleName() |
int |
hashCode() |
void |
setCustomer(Customer customer) |
void |
setId(java.lang.Long id) |
void |
setRole(Role role) |
protected java.lang.Long id
protected Customer customer
protected Role role
public java.lang.Long getId()
getId in interface CustomerRolepublic void setId(java.lang.Long id)
setId in interface CustomerRolepublic Customer getCustomer()
getCustomer in interface CustomerRolepublic void setCustomer(Customer customer)
setCustomer in interface CustomerRolepublic Role getRole()
getRole in interface CustomerRolepublic void setRole(Role role)
setRole in interface CustomerRolepublic java.lang.String getRoleName()
getRoleName in interface CustomerRolepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.