Package de.dlr.proseo.usermgr.model
Class Authority
java.lang.Object
de.dlr.proseo.usermgr.model.Authority
An authority (also called a "privilege") is an atomic entitlement for a user
to access a prosEO method or domain object.
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the authority identifiergetUser()Gets the user holding the authorityinthashCode()voidsetAuthority(String authority) Sets the authority identifiervoidSets the user holding the authority
-
Constructor Details
-
Authority
public Authority()
-
-
Method Details
-
getAuthority
Gets the authority identifier- Returns:
- the authority identifier
-
setAuthority
Sets the authority identifier- Parameters:
authority- the authority identifier to set
-
getUser
Gets the user holding the authority- Returns:
- the user
-
setUser
Sets the user holding the authority- Parameters:
user- the user to set
-
hashCode
public int hashCode() -
equals
-