public enum EditorialStatus extends Enum<EditorialStatus>
Enum Constant and Description |
---|
APPROVED |
APPROVEDLIMITED |
PENDING |
REJECTED |
Modifier and Type | Method and Description |
---|---|
static EditorialStatus |
fromValue(String v) |
String |
value() |
static EditorialStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditorialStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditorialStatus APPROVED
public static final EditorialStatus APPROVEDLIMITED
public static final EditorialStatus REJECTED
public static final EditorialStatus PENDING
public static EditorialStatus[] values()
for (EditorialStatus c : EditorialStatus.values()) System.out.println(c);
public static EditorialStatus 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 value()
public static EditorialStatus fromValue(String v)
Copyright © 2024. All rights reserved.