Class Group

java.lang.Object
de.dlr.proseo.usermgr.model.Group

@Entity(name="groups") public class Group extends Object
A group of users
Author:
Dr. Thomas Bassler
  • 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

      public String getGroupName()
      Gets the group name
      Returns:
      the group name
    • setGroupName

      public void setGroupName(String groupName)
      Sets the group name
      Parameters:
      groupName - the group name to set
    • getGroupMembers

      public Set<GroupMember> getGroupMembers()
      Gets the members of this group
      Returns:
      a set of users
    • setGroupMembers

      public void setGroupMembers(Set<GroupMember> groupMembers)
      Sets the members of this group
      Parameters:
      groupMembers - the group members to set
    • getGroupAuthorities

      public Set<GroupAuthority> getGroupAuthorities()
      Gets the authorities granted to members of this group
      Returns:
      the group authorities
    • setGroupAuthorities

      public void setGroupAuthorities(Set<GroupAuthority> groupAuthorities)
      Sets the authorities granted to members of this group
      Parameters:
      groupAuthorities - the group authorities to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object