org.broadleafcommerce.profile.core.domain
Class CustomerRoleImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.domain.CustomerRoleImpl
All Implemented Interfaces:
java.io.Serializable, CustomerRole

@Entity
public class CustomerRoleImpl
extends java.lang.Object
implements CustomerRole

See Also:
Serialized Form

Field Summary
protected  Customer customer
           
protected  java.lang.Long id
           
protected  Role role
           
 
Constructor Summary
CustomerRoleImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Long id

customer

protected Customer customer

role

protected Role role
Constructor Detail

CustomerRoleImpl

public CustomerRoleImpl()
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface CustomerRole

setId

public void setId(java.lang.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 java.lang.String getRoleName()
Specified by:
getRoleName in interface CustomerRole

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2011. All Rights Reserved.