Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class UserGroupRolePK

java.lang.Object
  extended by com.liferay.portal.service.persistence.UserGroupRolePK
All Implemented Interfaces:
Serializable, Comparable<UserGroupRolePK>

public class UserGroupRolePK
extends Object
implements Comparable<UserGroupRolePK>, Serializable

See Also:
Serialized Form

Field Summary
 long groupId
           
 long roleId
           
 long userId
           
 
Constructor Summary
UserGroupRolePK()
           
UserGroupRolePK(long userId, long groupId, long roleId)
           
 
Method Summary
 int compareTo(UserGroupRolePK pk)
           
 boolean equals(Object obj)
           
 long getGroupId()
           
 long getRoleId()
           
 long getUserId()
           
 int hashCode()
           
 void setGroupId(long groupId)
           
 void setRoleId(long roleId)
           
 void setUserId(long userId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

userId

public long userId

groupId

public long groupId

roleId

public long roleId
Constructor Detail

UserGroupRolePK

public UserGroupRolePK()

UserGroupRolePK

public UserGroupRolePK(long userId,
                       long groupId,
                       long roleId)
Method Detail

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getGroupId

public long getGroupId()

setGroupId

public void setGroupId(long groupId)

getRoleId

public long getRoleId()

setRoleId

public void setRoleId(long roleId)

compareTo

public int compareTo(UserGroupRolePK pk)
Specified by:
compareTo in interface Comparable<UserGroupRolePK>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.2-ce-ga5