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