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