org.appng.api.model

## Interface Group

- All Superinterfaces:
    Identifiable<Integer>, Nameable, Named<Integer>, Serializable
  All Known Implementing Classes:
    GroupImpl

      public interface Group
      extends Named<Integer>

  A `Group` is a set of `Subject`s which has several `Role`s.
  Author:
    Matthias Müller

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<Role>` | `getRoles()` Returns all `Role`s belonging to this `Group`.
    `Set<Subject>` | `getSubjects()` Returns all `Subject`s belonging to this `Group`.

    - ### Methods inherited from interface org.appng.api.model.Nameable

      `getDescription, getName`

    - ### Methods inherited from interface org.appng.api.model.Identifiable

      `getId`

- - ### Method Detail

    - #### getSubjects

          Set<Subject> getSubjects()

      Returns all `Subject`s belonging to this `Group`.
      Returns:
        all `Subject`s belonging to this `Group`

    - #### getRoles

          Set<Role> getRoles()

      Returns all `Role`s belonging to this `Group`.
      Returns:
        all `Role`s belonging to this `Group`.

Copyright © 2011–2023 aiticon GmbH. All rights reserved.