public final class UserGroups extends Object implements Serializable
UserGroups
table.Modifier and Type | Field and Description |
---|---|
private int |
groupId |
private static long |
serialVersionUID |
private int |
userId |
Constructor and Description |
---|
UserGroups()
Create a new
UserGroups object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another
UserGroups
object. |
int |
getGroupId()
Get the id of the group.
|
int |
getUserId()
Get the id of the user.
|
int |
hashCode()
Calculate the hash code for the object.
|
void |
setGroupId(int groupId)
Set the id of the group.
|
void |
setUserId(int userId)
Set the id of the user.
|
private static final long serialVersionUID
private int userId
private int groupId
public int getUserId()
public void setUserId(int userId)
public int getGroupId()
public void setGroupId(int groupId)
public boolean equals(Object o)
UserGroups
object. They are considered to be the same if the user id and the
group id are the same.