Klasse RestGroup

java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestGroup
Alle implementierten Schnittstellen:
Serializable

public class RestGroup extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • 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)
  • Konstruktordetails

    • RestGroup

      public RestGroup()
      Creates a new RestGroup.
    • RestGroup

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

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

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

      @NotNull public @NotNull String getGroupname()
      Returns the groupname.
      Gibt zurück:
      groupname
    • setGroupname

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

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

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

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object