Package de.fraunhofer.iese.mydata.user
Enum MyDataRole
- All Implemented Interfaces:
Serializable
,Comparable<MyDataRole>
Roles for the PMP.
-
Enum Constant Summary
Enum ConstantDescriptionThis role is not stored with user.Role that is able to manage all affiliations -
Method Summary
Modifier and TypeMethodDescriptionTo spring role.toString()
static MyDataRole
Returns the enum constant of this type with the specified name.static MyDataRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOLUTION_DEVELOPER
-
ADMINISTRATOR
-
SUPER_ADMIN
Role that is able to manage all affiliations -
PDP
This role is not stored with user. It' for components, only. -
PMP
-
CLIENT
-
MASTER_LIBRARY_CLIENT
-
LIBRARY_CLIENT
-
TECH_CLIENT
-
USER_CLIENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toSpringRole
To spring role.- Returns:
- the string
-
toString
- Overrides:
toString
in classEnum<MyDataRole>
-