Klasse Authority

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

@Embeddable public class Authority extends Object
An authority (also called a "privilege") is an atomic entitlement for a user to access a prosEO method or domain object.
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • Authority

      public Authority()
  • Methodendetails

    • getAuthority

      public String getAuthority()
      Gets the authority identifier
      Gibt zurück:
      the authority identifier
    • setAuthority

      public void setAuthority(String authority)
      Sets the authority identifier
      Parameter:
      authority - the authority identifier to set
    • getUser

      public User getUser()
      Gets the user holding the authority
      Gibt zurück:
      the user
    • setUser

      public void setUser(User user)
      Sets the user holding the authority
      Parameter:
      user - the user to set
    • hashCode

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

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object