public enum ApprovalStatus extends Enum<ApprovalStatus>
| Enum Constant and Description |
|---|
APPROVED
Indicates that the approval was approved
|
DENIED
Indicates that the approval was denied
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
String |
toString() |
static ApprovalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApprovalStatus APPROVED
public static final ApprovalStatus DENIED
public static ApprovalStatus[] values()
for (ApprovalStatus c : ApprovalStatus.values()) System.out.println(c);
public static ApprovalStatus 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 getValue()
public String toString()
toString in class Enum<ApprovalStatus>Copyright © 2020. All rights reserved.