Class CAP3GPRSEventType
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- CAP3GPRSEventType
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
public class CAP3GPRSEventType extends NamedInteger
API for CAP-datatypes.GPRSEventType. Generated from the following ASN.1 type definition and the adaptations below.GPRSEventType ::= ENUMERATED { attach(1), attachChangeOfPosition(2), detached(3), pdp-ContextEstablishment(11), pdp-ContextEstablishmentAcknowledgement(12), disconnect(13), pdp-ContextChangeOfPosition(14) } CAP-datatypes { GPRSEventType { @extendible } }
Used as field type by
CAP3EventReportGPRSArg
.Used as field type by
CAP3GPRSEvent
.Used as field type by
CAP3InitialDPGPRSArg
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_attach
Integer value of the constant attach.static int
_attachChangeOfPosition
Integer value of the constant attachChangeOfPosition.static int
_detached
Integer value of the constant detached.static int
_disconnect
Integer value of the constant disconnect.static int
_pdp_ContextChangeOfPosition
Integer value of the constant pdp_ContextChangeOfPosition.static int
_pdp_ContextEstablishment
Integer value of the constant pdp_ContextEstablishment.static int
_pdp_ContextEstablishmentAcknowledgement
Integer value of the constant pdp_ContextEstablishmentAcknowledgement.static CAP3GPRSEventType
attach
Reference to value of the constant attach.static CAP3GPRSEventType
attachChangeOfPosition
Reference to value of the constant attachChangeOfPosition.static CAP3GPRSEventType
detached
Reference to value of the constant detached.static CAP3GPRSEventType
disconnect
Reference to value of the constant disconnect.static int
MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.cap_v3.CAP3GPRSEventType instance may take (14).static int
MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.cap_v3.CAP3GPRSEventType instance may take (1).static CAP3GPRSEventType
pdp_ContextChangeOfPosition
Reference to value of the constant pdp_ContextChangeOfPosition.static CAP3GPRSEventType
pdp_ContextEstablishment
Reference to value of the constant pdp_ContextEstablishment.static CAP3GPRSEventType
pdp_ContextEstablishmentAcknowledgement
Reference to value of the constant pdp_ContextEstablishmentAcknowledgement.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CAP3GPRSEventType(int value)
Constructs an enumeration constant for the given numeric value.protected
CAP3GPRSEventType(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 CAP3GPRSEventType
fromValue(int value)
Finds or constructs an enumeration constant for the given numeric value.static CAP3GPRSEventType[]
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
-
_attach
public static final int _attach
Integer value of the constant attach.- See Also:
- Constant Field Values
-
attach
public static final CAP3GPRSEventType attach
Reference to value of the constant attach.
-
_attachChangeOfPosition
public static final int _attachChangeOfPosition
Integer value of the constant attachChangeOfPosition.- See Also:
- Constant Field Values
-
attachChangeOfPosition
public static final CAP3GPRSEventType attachChangeOfPosition
Reference to value of the constant attachChangeOfPosition.
-
_detached
public static final int _detached
Integer value of the constant detached.- See Also:
- Constant Field Values
-
detached
public static final CAP3GPRSEventType detached
Reference to value of the constant detached.
-
_pdp_ContextEstablishment
public static final int _pdp_ContextEstablishment
Integer value of the constant pdp_ContextEstablishment.- See Also:
- Constant Field Values
-
pdp_ContextEstablishment
public static final CAP3GPRSEventType pdp_ContextEstablishment
Reference to value of the constant pdp_ContextEstablishment.
-
_pdp_ContextEstablishmentAcknowledgement
public static final int _pdp_ContextEstablishmentAcknowledgement
Integer value of the constant pdp_ContextEstablishmentAcknowledgement.- See Also:
- Constant Field Values
-
pdp_ContextEstablishmentAcknowledgement
public static final CAP3GPRSEventType pdp_ContextEstablishmentAcknowledgement
Reference to value of the constant pdp_ContextEstablishmentAcknowledgement.
-
_disconnect
public static final int _disconnect
Integer value of the constant disconnect.- See Also:
- Constant Field Values
-
disconnect
public static final CAP3GPRSEventType disconnect
Reference to value of the constant disconnect.
-
_pdp_ContextChangeOfPosition
public static final int _pdp_ContextChangeOfPosition
Integer value of the constant pdp_ContextChangeOfPosition.- See Also:
- Constant Field Values
-
pdp_ContextChangeOfPosition
public static final CAP3GPRSEventType pdp_ContextChangeOfPosition
Reference to value of the constant pdp_ContextChangeOfPosition.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a com.opencloud.slee.resources.cgin.cap_v3.CAP3GPRSEventType instance may take (1).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a com.opencloud.slee.resources.cgin.cap_v3.CAP3GPRSEventType instance may take (14).- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CAP3GPRSEventType
protected CAP3GPRSEventType(int value, String description)
Constructs an enumeration constant for the given numeric value, noting its name.- Parameters:
value
- numeric valuedescription
- name of number
-
CAP3GPRSEventType
protected CAP3GPRSEventType(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 CAP3GPRSEventType 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 CAP3GPRSEventType[] namedValues()
Returns an array containing all the enumeration constants referenced by fields.- Returns:
- array of enumeration constants
-
-