Class Role
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Role
- All Implemented Interfaces:
Serializable
Immutable value object representing an authorization role. A role has a code and a flag which tells whether this role is for a certain space or for
all spaces.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Role
Creates a new instance from specified code and space level flag.- Throws:
IllegalArgumentException- if specified code isnullor an empty string.
-
-
Method Details