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