Class RestGroup

java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestGroup
All Implemented Interfaces:
Serializable

public class RestGroup extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • id

      protected Long id
      The persistent id of user group
    • groupname

      protected String groupname
      The (unique) name of the group, consisting of the mission code, a hyphen ("-") and the actual group name
    • authorities

      protected List<String> authorities
      The authorities granted to this user group (filtered by mission)
  • Constructor Details

    • RestGroup

      public RestGroup()
      Creates a new RestGroup.
    • RestGroup

      public RestGroup(Long id, String groupname, List<String> authorities)
      Creates a new RestGroup.
  • Method Details

    • getId

      public Long getId()
      Returns the id.
      Returns:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameters:
      id - the new id
    • getGroupname

      @NotNull public @NotNull String getGroupname()
      Returns the groupname.
      Returns:
      groupname
    • setGroupname

      public void setGroupname(String groupname)
      Set the groupname.
      Parameters:
      groupname - the new groupname
    • getAuthorities

      @NotNull public @NotNull List<String> getAuthorities()
      Returns the authorities.
      Returns:
      authorities
    • setAuthorities

      public void setAuthorities(List<String> authorities)
      Set the authorities.
      Parameters:
      authorities - the new authorities
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object