|
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.ProjectPermission net.sf.basedb.core.data.keyring.UserProjects
public final class UserProjects
Class for mapping the UserProjects
table.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
private int |
userId
|
Fields inherited from class net.sf.basedb.core.data.keyring.ProjectPermission |
---|
permission, projectId |
Constructor Summary | |
---|---|
UserProjects()
Create a new UserProjects object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another UserProjects
object. |
int |
getUserId()
Get the id of the user. |
int |
hashCode()
Calculate the hash code for the object. |
void |
setUserId(int userId)
Set the id of the user. |
Methods inherited from class net.sf.basedb.core.data.keyring.ProjectPermission |
---|
compareTo, getPermission, getProjectId, setPermission, setProjectId |
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
Constructor Detail |
---|
public UserProjects()
UserProjects
object.
Method Detail |
---|
public int getUserId()
public void setUserId(int userId)
public boolean equals(Object o)
UserProjects
object. They are considered to be the same if the user id and the
project id are the same. The permission may be different.
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 |