public static enum Cause.Location extends Enum<Cause.Location>
The API offered by this class is as if the type were specified in ASN.1 as follows.
Location ::= ENUMERATED { USER (0), PRIVATE_NETWORK_LOCAL_USER (1), PUBLIC_NETWORK_LOCAL_USER (2), TRANSIT_NETWORK (3), PUBLIC_NETWORK_REMOTE_USER (4), PRIVATE_NETWORK_REMOTE_USER (5), SPARE_6 (6), INTERNATIONAL_NETWORK (7), SPARE_8 (8), SPARE_9 (9), NETWORK_BEYOND_INTERWORKING (10), SPARE_11 (11), RESERVED_12 (12), RESERVED_13 (13), RESERVED_14 (14), RESERVED_15 (15) }
Enum Constant and Description |
---|
INTERNATIONAL_NETWORK
Location value (7) corresponding to the international network (INTL).
|
NETWORK_BEYOND_INTERWORKING
Location value (0xA) corresponding to the network beyond interworking point (BI).
|
PRIVATE_NETWORK_LOCAL_USER
Location value (1) corresponding to a private network serving the local user (LPN).
|
PRIVATE_NETWORK_REMOTE_USER
Location value (5) corresponding to a private network serving the remote user (RPN).
|
PUBLIC_NETWORK_LOCAL_USER
Location value (2) corresponding to the public network serving the local user (LN).
|
PUBLIC_NETWORK_REMOTE_USER
Location value (4) corresponding to the public network serving the remote user (RLN).
|
RESERVED_12
Location value (0xC) corresponding to reserved for national use.
|
RESERVED_13
Location value (0xD) corresponding to reserved for national use.
|
RESERVED_14
Location value (0xE) corresponding to reserved for national use.
|
RESERVED_15
Location value (0xF) corresponding to reserved for national use.
|
SPARE_11
Location value (0xB) corresponding to spare.
|
SPARE_6
Location value (6) corresponding to spare.
|
SPARE_8
Location value (8) corresponding to spare.
|
SPARE_9
Location value (9) corresponding to spare.
|
TRANSIT_NETWORK
Location value (3) corresponding to a transit network (TN).
|
USER
Location value (0) corresponding to the user (U).
|
Modifier and Type | Method and Description |
---|---|
static Cause.Location |
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 Cause.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cause.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cause.Location USER
public static final Cause.Location PRIVATE_NETWORK_LOCAL_USER
public static final Cause.Location PUBLIC_NETWORK_LOCAL_USER
public static final Cause.Location TRANSIT_NETWORK
public static final Cause.Location PUBLIC_NETWORK_REMOTE_USER
public static final Cause.Location PRIVATE_NETWORK_REMOTE_USER
public static final Cause.Location SPARE_6
public static final Cause.Location INTERNATIONAL_NETWORK
public static final Cause.Location SPARE_8
public static final Cause.Location SPARE_9
public static final Cause.Location NETWORK_BEYOND_INTERWORKING
public static final Cause.Location SPARE_11
public static final Cause.Location RESERVED_12
public static final Cause.Location RESERVED_13
public static final Cause.Location RESERVED_14
public static final Cause.Location RESERVED_15
public static Cause.Location[] values()
for (Cause.Location c : Cause.Location.values()) System.out.println(c);
public static Cause.Location 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 Cause.Location fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value