public static enum CallingPartyRestriction.CallingPartyRestrictionValue extends Enum<CallingPartyRestriction.CallingPartyRestrictionValue>
The API offered by this class is as if the type were specified in ASN.1 as follows.
CallingPartyRestrictionValue ::= ENUMERATED { NO_IN_IMPACT (1), PRESENTATION_RESTRICTED (2) }
Enum Constant and Description |
---|
NO_IN_IMPACT
Calling Party Restriction value (1) corresponding to no IN impact.
|
PRESENTATION_RESTRICTED
Calling Party Restriction value (2) corresponding to presentation restricted.
|
Modifier and Type | Method and Description |
---|---|
static CallingPartyRestriction.CallingPartyRestrictionValue |
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 CallingPartyRestriction.CallingPartyRestrictionValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallingPartyRestriction.CallingPartyRestrictionValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallingPartyRestriction.CallingPartyRestrictionValue NO_IN_IMPACT
public static final CallingPartyRestriction.CallingPartyRestrictionValue PRESENTATION_RESTRICTED
public static CallingPartyRestriction.CallingPartyRestrictionValue[] values()
for (CallingPartyRestriction.CallingPartyRestrictionValue c : CallingPartyRestriction.CallingPartyRestrictionValue.values()) System.out.println(c);
public static CallingPartyRestriction.CallingPartyRestrictionValue 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 CallingPartyRestriction.CallingPartyRestrictionValue fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value