org.broadleafcommerce.profile.core.domain
Class CustomerRoleImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CustomerRoleImpl
- All Implemented Interfaces:
- Serializable, CustomerRole
@Entity
public class CustomerRoleImpl
- extends Object
- implements CustomerRole
- See Also:
- Serialized Form
id
protected Long id
customer
protected Customer customer
role
protected Role role
CustomerRoleImpl
public CustomerRoleImpl()
getId
public Long getId()
- Specified by:
getId in interface CustomerRole
setId
public void setId(Long id)
- Specified by:
setId in interface CustomerRole
getCustomer
public Customer getCustomer()
- Specified by:
getCustomer in interface CustomerRole
setCustomer
public void setCustomer(Customer customer)
- Specified by:
setCustomer in interface CustomerRole
getRole
public Role getRole()
- Specified by:
getRole in interface CustomerRole
setRole
public void setRole(Role role)
- Specified by:
setRole in interface CustomerRole
getRoleName
public String getRoleName()
- Specified by:
getRoleName in interface CustomerRole
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.