|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.keyring.UserRoles
public final class UserRoles
Class for mapping the UserRoles
table.
Field Summary | |
---|---|
private int |
roleId
|
private static long |
serialVersionUID
|
private int |
userId
|
Constructor Summary | |
---|---|
UserRoles()
Create a new UserRoles object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another UserRoles
object. |
int |
getRoleId()
Get the id of the role. |
int |
getUserId()
Get the id of the user. |
int |
hashCode()
Calculate the hash code for the object. |
void |
setRoleId(int roleId)
Set the id of the role. |
void |
setUserId(int userId)
Set the id of the user. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private int userId
private int roleId
Constructor Detail |
---|
public UserRoles()
UserRoles
object.
Method Detail |
---|
public int getUserId()
public void setUserId(int userId)
public int getRoleId()
public void setRoleId(int roleId)
public boolean equals(Object o)
UserRoles
object. They are considered to be the same if the user id and the
role id are the same.
equals
in class Object
public int hashCode()
hashCode
in class Object
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |