Package de.dlr.proseo.usermgr.model
Class GroupMember
java.lang.Object
de.dlr.proseo.usermgr.model.GroupMember
Stores the association between users and groups
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGroup()Gets the group side of this association entrylonggetId()Gets the database id of this association entrygetUser()Gets the user side of this association entryinthashCode()voidSets the group side of this association entryvoidsetId(long id) Sets the database id of this association entryvoidSets the user side of this association entry
-
Constructor Details
-
GroupMember
public GroupMember()
-
-
Method Details
-
getId
public long getId()Gets the database id of this association entry- Returns:
- the id
-
setId
public void setId(long id) Sets the database id of this association entry- Parameters:
id- the id to set
-
getUser
Gets the user side of this association entry- Returns:
- the user
-
setUser
Sets the user side of this association entry- Parameters:
user- the user to set
-
getGroup
Gets the group side of this association entry- Returns:
- the group
-
setGroup
Sets the group side of this association entry- Parameters:
group- the group to set
-
hashCode
public int hashCode() -
equals
-