Class GroupAuthority

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

@Embeddable public class GroupAuthority extends Object
A group authority (also called a "privilege") is an atomic entitlement for a group of users to access a prosEO method or domain object.
Author:
Dr. Thomas Bassler
  • Constructor Details

    • GroupAuthority

      public GroupAuthority()
  • Method Details

    • getAuthority

      public String getAuthority()
      Gets the authority identifier
      Returns:
      the authority identifier
    • setAuthority

      public void setAuthority(String authority)
      Sets the authority identifier
      Parameters:
      authority - the authority identifier to set
    • getGroup

      public Group getGroup()
      Gets the user group holding this authority
      Returns:
      the group
    • setGroup

      public void setGroup(Group group)
      Sets the user group holding this authority
      Parameters:
      group - the group to set
    • hashCode

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

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