public final class UserProjects extends ProjectPermission implements java.io.Serializable
UserProjects
table.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private int |
userId |
permission, projectId
Constructor and Description |
---|
UserProjects()
Create a new
UserProjects object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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.
|
compareTo, getPermission, getProjectId, setPermission, setProjectId
private static final long serialVersionUID
private int userId
public int getUserId()
public void setUserId(int userId)
public boolean equals(java.lang.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 java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object