public static enum CallingPartyNumber.Screening extends Enum<CallingPartyNumber.Screening>
The API offered by this class is as if the type were specified in ASN.1 as follows.
Screening ::= ENUMERATED { USER_PROVIDED_NOT_VERIFIED (0), USER_PROVIDED_VERIFIED (1), USER_PROVIDED_FAILED (2), NETWORK_PROVIDED (3) }
Enum Constant and Description |
---|
NETWORK_PROVIDED
Screening indicator value (3) corresponding to network provided.
|
USER_PROVIDED_FAILED
Screening indicator value (2) corresponding to user provided, verified and failed (national use).
|
USER_PROVIDED_NOT_VERIFIED
Screening indicator value (0) corresponding to user provided, not verified (national use).
|
USER_PROVIDED_VERIFIED
Screening indicator value (1) corresponding to user provided, verified and passed.
|
Modifier and Type | Method and Description |
---|---|
static CallingPartyNumber.Screening |
fromValue(int value)
Returns the enumeration constant for a given encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static CallingPartyNumber.Screening |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallingPartyNumber.Screening[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallingPartyNumber.Screening USER_PROVIDED_NOT_VERIFIED
public static final CallingPartyNumber.Screening USER_PROVIDED_VERIFIED
public static final CallingPartyNumber.Screening USER_PROVIDED_FAILED
public static final CallingPartyNumber.Screening NETWORK_PROVIDED
public static CallingPartyNumber.Screening[] values()
for (CallingPartyNumber.Screening c : CallingPartyNumber.Screening.values()) System.out.println(c);
public static CallingPartyNumber.Screening 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 int intValue()
public static CallingPartyNumber.Screening fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value