Class MAPNetworkAccessMode
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- MAPNetworkAccessMode
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
public class MAPNetworkAccessMode extends NamedInteger
API for MAP-MS-DataTypes.NetworkAccessMode. Generated from the following ASN.1 type definition.NetworkAccessMode ::= ENUMERATED { packetAndCircuit(0), -- Renamed from bothMSCAndSGSN between releases 7 and 8. onlyCircuit(1), -- Renamed from onlyMSC between releases 7 and 8. onlyPacket(2), -- Renamed from onlySGSN between releases 7 and 8. ... }
Added in R97. If unknown values are received in NetworkAccessMode they shall be discarded.Used as field type by
MAPInsertSubscriberDataArg
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_onlyCircuit
Integer value of the constant onlyCircuit.static int
_onlyPacket
Integer value of the constant onlyPacket.static int
_packetAndCircuit
Integer value of the constant packetAndCircuit.static int
MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPNetworkAccessMode instance may take (2).static int
MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPNetworkAccessMode instance may take (0).static MAPNetworkAccessMode
onlyCircuit
Reference to value of the constant onlyCircuit.static MAPNetworkAccessMode
onlyPacket
Reference to value of the constant onlyPacket.static MAPNetworkAccessMode
packetAndCircuit
Reference to value of the constant packetAndCircuit.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MAPNetworkAccessMode(int value)
Constructs an enumeration constant for the given numeric value.protected
MAPNetworkAccessMode(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MAPNetworkAccessMode
fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.static MAPNetworkAccessMode[]
namedValues()
Returns an array containing all the enumeration constants referenced by fields.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_packetAndCircuit
public static final int _packetAndCircuit
Integer value of the constant packetAndCircuit.- See Also:
- Constant Field Values
-
packetAndCircuit
public static final MAPNetworkAccessMode packetAndCircuit
Reference to value of the constant packetAndCircuit.
-
_onlyCircuit
public static final int _onlyCircuit
Integer value of the constant onlyCircuit.- See Also:
- Constant Field Values
-
onlyCircuit
public static final MAPNetworkAccessMode onlyCircuit
Reference to value of the constant onlyCircuit.
-
_onlyPacket
public static final int _onlyPacket
Integer value of the constant onlyPacket.- See Also:
- Constant Field Values
-
onlyPacket
public static final MAPNetworkAccessMode onlyPacket
Reference to value of the constant onlyPacket.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.map.MAPNetworkAccessMode instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.map.MAPNetworkAccessMode instance may take (2).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MAPNetworkAccessMode
protected MAPNetworkAccessMode(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value
- numeric valuedescription
- name of number
-
MAPNetworkAccessMode
protected MAPNetworkAccessMode(int value)
Constructs an enumeration constant for the given numeric value. Suitable for use as decode method.- Parameters:
value
- numeric value
-
-
Method Detail
-
fromValue
public static MAPNetworkAccessMode fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.- Parameters:
value
- integer- Returns:
- one of the fields if suitable, else a newly constructed object
-
namedValues
public static MAPNetworkAccessMode[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-