public enum NumberingPlanIndicator extends Enum<NumberingPlanIndicator>
Enum Constant and Description |
---|
DATA |
ERMES |
INTERNET |
ISDN |
LAND_MOBILE |
NATIONAL |
PRIVATE |
TELEX |
UNKNOWN |
WAP |
Modifier and Type | Method and Description |
---|---|
byte |
value()
Return the value of NPI.
|
static NumberingPlanIndicator |
valueOf(byte value)
Get the associated NumberingPlanIndicator by it's value.
|
static NumberingPlanIndicator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberingPlanIndicator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberingPlanIndicator UNKNOWN
public static final NumberingPlanIndicator ISDN
public static final NumberingPlanIndicator DATA
public static final NumberingPlanIndicator TELEX
public static final NumberingPlanIndicator LAND_MOBILE
public static final NumberingPlanIndicator NATIONAL
public static final NumberingPlanIndicator PRIVATE
public static final NumberingPlanIndicator ERMES
public static final NumberingPlanIndicator INTERNET
public static final NumberingPlanIndicator WAP
public static NumberingPlanIndicator[] values()
for (NumberingPlanIndicator c : NumberingPlanIndicator.values()) System.out.println(c);
public static NumberingPlanIndicator 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 byte value()
public static NumberingPlanIndicator valueOf(byte value) throws IllegalArgumentException
value
- is the value.IllegalArgumentException
- if there is no enum const associated
with specified value.