public enum ResidentKeyRequirement extends java.lang.Enum<ResidentKeyRequirement>
| Enum Constant and Description |
|---|
DISCOURAGED |
PREFERRED |
REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static ResidentKeyRequirement |
create(java.lang.String value) |
java.lang.String |
getValue() |
static ResidentKeyRequirement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResidentKeyRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResidentKeyRequirement DISCOURAGED
public static final ResidentKeyRequirement PREFERRED
public static final ResidentKeyRequirement REQUIRED
public static ResidentKeyRequirement[] values()
for (ResidentKeyRequirement c : ResidentKeyRequirement.values()) System.out.println(c);
public static ResidentKeyRequirement 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 nullpublic static ResidentKeyRequirement create(java.lang.String value)
public java.lang.String getValue()