public enum ReviewerRoleEnum extends Enum<ReviewerRoleEnum>
Modifier and Type | Method and Description |
---|---|
Integer |
getId() |
String |
getLabel() |
String |
getName() |
static ReviewerRoleEnum |
getReviewUserRoleForId(Integer id) |
static ReviewerRoleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReviewerRoleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReviewerRoleEnum MODERATOR
public static final ReviewerRoleEnum APPROVER
public static final ReviewerRoleEnum FEEDBACK
public static ReviewerRoleEnum[] values()
for (ReviewerRoleEnum c : ReviewerRoleEnum.values()) System.out.println(c);
public static ReviewerRoleEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public String getName()
public Integer getId()
public static ReviewerRoleEnum getReviewUserRoleForId(Integer id)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.