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