Class MAPGGSN_EventList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPGGSN_EventList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPGGSN_EventList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.GGSN-EventList. Generated from the following ASN.1 type definition.GGSN-EventList ::= BIT STRING (SIZE (2..8)) { pdpContext(0), mbmsContext(1) }
Added in release 6. Other bits than are named here shall be discarded.Used as field type by
MAPTraceEventList
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
BitStringWithNamedBits.NamedBit
-
-
Constructor Summary
Constructors Constructor Description MAPGGSN_EventList()
Constructs an object that has no bits set.MAPGGSN_EventList(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPGGSN_EventList
clearMbmsContext()
Clears the bit for mbmsContext to false.MAPGGSN_EventList
clearPdpContext()
Clears the bit for pdpContext to false.MAPGGSN_EventList
clone()
Constructs a copy of this object and everything reachable from it.static MAPGGSN_EventList
copyOf(BitString from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.boolean
getMbmsContext()
Gets whether the bit for mbmsContext is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).boolean
getPdpContext()
Gets whether the bit for pdpContext is set or not.MAPGGSN_EventList
setMbmsContext()
Sets the bit for mbmsContext to true.MAPGGSN_EventList
setPdpContext()
Sets the bit for pdpContext to true.static BitStringWithNamedBits.NamedBit[]
staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).-
Methods inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
toString
-
Methods inherited from class com.opencloud.slee.resources.cgin.BitString
clear, clear, equals, get, hashCode, length, nextSetBit, set
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
MAPGGSN_EventList
public MAPGGSN_EventList()
Constructs an object that has no bits set.
-
MAPGGSN_EventList
public MAPGGSN_EventList(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.- Parameters:
nbits
- initial number of bits
-
-
Method Detail
-
clearMbmsContext
public MAPGGSN_EventList clearMbmsContext()
Clears the bit for mbmsContext to false.- Returns:
- this
-
clearPdpContext
public MAPGGSN_EventList clearPdpContext()
Clears the bit for pdpContext to false.- Returns:
- this
-
clone
public MAPGGSN_EventList clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classBitString
- Returns:
- copy of object
-
copyOf
public static MAPGGSN_EventList copyOf(BitString from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.- Parameters:
from
- the object from which to copy- Returns:
- MAPGGSN_EventList
-
getMbmsContext
public boolean getMbmsContext()
Gets whether the bit for mbmsContext is set or not.- Returns:
- the named bit's value
-
getNamedBits
public BitStringWithNamedBits.NamedBit[] getNamedBits()
Description copied from class:BitStringWithNamedBits
Gets the names of all bits of this type (not just the bits set in this value).- Specified by:
getNamedBits
in classBitStringWithNamedBits
- Returns:
- array of NamedBit
-
getPdpContext
public boolean getPdpContext()
Gets whether the bit for pdpContext is set or not.- Returns:
- the named bit's value
-
setMbmsContext
public MAPGGSN_EventList setMbmsContext()
Sets the bit for mbmsContext to true.- Returns:
- this
-
setPdpContext
public MAPGGSN_EventList setPdpContext()
Sets the bit for pdpContext to true.- Returns:
- this
-
staticGetNamedBits
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).- Returns:
- array of NamedBit
-
-