Package ipsk.db.speech
Enum UserRoleId.RoleName
- java.lang.Object
-
- java.lang.Enum<UserRoleId.RoleName>
-
- ipsk.db.speech.UserRoleId.RoleName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UserRoleId.RoleName>
- Enclosing class:
- UserRoleId
public static enum UserRoleId.RoleName extends java.lang.Enum<UserRoleId.RoleName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
ANNOTATON_PROJECT_ADMIN
ORGANISATION
PROJECT_ADMIN
PROJECT_ANNOTATOR
PROJECT_MEMBER
SUBJECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static UserRoleId.RoleName
parse(java.lang.String roleName)
static UserRoleId.RoleName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UserRoleId.RoleName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN
public static final UserRoleId.RoleName ADMIN
-
PROJECT_ADMIN
public static final UserRoleId.RoleName PROJECT_ADMIN
-
ANNOTATON_PROJECT_ADMIN
public static final UserRoleId.RoleName ANNOTATON_PROJECT_ADMIN
-
PROJECT_MEMBER
public static final UserRoleId.RoleName PROJECT_MEMBER
-
SUBJECT
public static final UserRoleId.RoleName SUBJECT
-
ORGANISATION
public static final UserRoleId.RoleName ORGANISATION
-
PROJECT_ANNOTATOR
public static final UserRoleId.RoleName PROJECT_ANNOTATOR
-
-
Method Detail
-
values
public static UserRoleId.RoleName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserRoleId.RoleName c : UserRoleId.RoleName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserRoleId.RoleName valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
parse
public static UserRoleId.RoleName parse(java.lang.String roleName)
-
-