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