@ProviderType public class UserGroupRolePK extends Object implements Comparable<UserGroupRolePK>, Serializable
Constructor and Description |
---|
UserGroupRolePK() |
UserGroupRolePK(long userId,
long groupId,
long roleId) |
Modifier and Type | Method and Description |
---|---|
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() |
public UserGroupRolePK()
public UserGroupRolePK(long userId, long groupId, long roleId)
public long getUserId()
public void setUserId(long userId)
public long getGroupId()
public void setGroupId(long groupId)
public long getRoleId()
public void setRoleId(long roleId)
public int compareTo(UserGroupRolePK pk)
compareTo
in interface Comparable<UserGroupRolePK>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object