com.liferay.portal.service.persistence
Class UserGroupRolePK
java.lang.Object
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
userId
public long userId
groupId
public long groupId
roleId
public long roleId
UserGroupRolePK
public UserGroupRolePK()
UserGroupRolePK
public UserGroupRolePK(long userId,
long groupId,
long roleId)
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