public enum MAPCallBarringCause extends Enum<MAPCallBarringCause>
CallBarringCause ::= ENUMERATED { barringServiceActive(0), operatorBarring(1) }Present in ph1.
Used as field type by MAPCallBarredParam
.
Used as field type by MAPExtensibleCallBarredParam
.
Enum Constant and Description |
---|
barringServiceActive |
operatorBarring |
Modifier and Type | Method and Description |
---|---|
static MAPCallBarringCause |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MAPCallBarringCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MAPCallBarringCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MAPCallBarringCause barringServiceActive
public static final MAPCallBarringCause operatorBarring
public static MAPCallBarringCause[] values()
for (MAPCallBarringCause c : MAPCallBarringCause.values()) System.out.println(c);
public static MAPCallBarringCause 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 static MAPCallBarringCause fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()