Package de.dlr.proseo.usermgr.model
Class Group
java.lang.Object
de.dlr.proseo.usermgr.model.Group
A group of users
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the authorities granted to members of this groupGets the members of this groupGets the group namelonggetId()Gets the group IDinthashCode()voidsetGroupAuthorities(Set<GroupAuthority> groupAuthorities) Sets the authorities granted to members of this groupvoidsetGroupMembers(Set<GroupMember> groupMembers) Sets the members of this groupvoidsetGroupName(String groupName) Sets the group namevoidsetId(long id) Sets the group ID
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
getId
public long getId()Gets the group ID- Returns:
- the id
-
setId
public void setId(long id) Sets the group ID- Parameters:
id- the id to set
-
getGroupName
Gets the group name- Returns:
- the group name
-
setGroupName
Sets the group name- Parameters:
groupName- the group name to set
-
getGroupMembers
Gets the members of this group- Returns:
- a set of users
-
setGroupMembers
Sets the members of this group- Parameters:
groupMembers- the group members to set
-
getGroupAuthorities
Gets the authorities granted to members of this group- Returns:
- the group authorities
-
setGroupAuthorities
Sets the authorities granted to members of this group- Parameters:
groupAuthorities- the group authorities to set
-
hashCode
public int hashCode() -
equals
-