Enum MAPProtocolId
- java.lang.Object
-
- java.lang.Enum<MAPProtocolId>
-
- MAPProtocolId
-
- All Implemented Interfaces:
Serializable
,Comparable<MAPProtocolId>
public enum MAPProtocolId extends Enum<MAPProtocolId>
API for MAP-CommonDataTypes.ProtocolId. Generated from the following ASN.1 type definition.ProtocolId ::= ENUMERATED { gsm-0408(1), gsm-0806(2), gsm-BSSMAP(3), -- Renamed from gsm-0808-bssmap between ph1 and ph2. Since R96: Value 3 is reserved and must not be used. ets-300102-1(4) }
Present in ph1.Used as field type by
MAPExternalSignalInfo
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ets_300102_1
gsm_0408
gsm_0806
gsm_BSSMAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MAPProtocolId
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 MAPProtocolId
valueOf(String name)
Returns the enum constant of this type with the specified name.static MAPProtocolId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
gsm_0408
public static final MAPProtocolId gsm_0408
-
gsm_0806
public static final MAPProtocolId gsm_0806
-
gsm_BSSMAP
public static final MAPProtocolId gsm_BSSMAP
-
ets_300102_1
public static final MAPProtocolId ets_300102_1
-
-
Method Detail
-
values
public static MAPProtocolId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MAPProtocolId c : MAPProtocolId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MAPProtocolId valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static MAPProtocolId fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.- Parameters:
value
- integer ASN.1 encoded value- Returns:
- enumeration constant
-
intValue
public int intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.- Returns:
- encoded value
-
-