public enum ReportStatus extends java.lang.Enum<ReportStatus>
| Modifier and Type | Method and Description |
|---|---|
static ReportStatus |
getValue(java.lang.Integer i) |
java.lang.Integer |
toInt() |
java.lang.String |
toString() |
static ReportStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportStatus OPEN
public static final ReportStatus CLOSED
public static final ReportStatus PENDING
public static final ReportStatus CANCELED
public static ReportStatus[] values()
for (ReportStatus c : ReportStatus.values()) System.out.println(c);
public static ReportStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NonNull public static ReportStatus getValue(java.lang.Integer i)
i - The integer that indicates the enum type.@NonNull public java.lang.Integer toInt()
public java.lang.String toString()
toString in class java.lang.Enum<ReportStatus>Object.toString()