org.broadleafcommerce.profile.core.domain
Class UserRoleImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.domain.UserRoleImpl
All Implemented Interfaces:
Serializable, UserRole

@Entity
public class UserRoleImpl
extends Object
implements UserRole

See Also:
Serialized Form

Field Summary
protected  Long id
           
protected  Role role
           
protected  User user
           
 
Constructor Summary
UserRoleImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 Role getRole()
           
 String getRoleName()
           
 User getUser()
           
 int hashCode()
           
 void setId(Long id)
           
 void setRole(Role role)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

user

protected User user

role

protected Role role
Constructor Detail

UserRoleImpl

public UserRoleImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface UserRole

setId

public void setId(Long id)
Specified by:
setId in interface UserRole

getUser

public User getUser()
Specified by:
getUser in interface UserRole

setUser

public void setUser(User user)
Specified by:
setUser in interface UserRole

getRole

public Role getRole()
Specified by:
getRole in interface UserRole

setRole

public void setRole(Role role)
Specified by:
setRole in interface UserRole

getRoleName

public String getRoleName()
Specified by:
getRoleName in interface UserRole

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.