public class MAPGGSN_EventList extends BitStringWithNamedBits
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
.
BitStringWithNamedBits.NamedBit
Constructor and 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.
|
Modifier and Type | Method and 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).
|
toString
checkModify, isReadOnly, setReadOnly
public MAPGGSN_EventList()
public MAPGGSN_EventList(int nbits)
nbits
- initial number of bitspublic MAPGGSN_EventList clearMbmsContext()
public MAPGGSN_EventList clearPdpContext()
public MAPGGSN_EventList clone()
clone
in interface DataObject
clone
in class BitString
public static MAPGGSN_EventList copyOf(BitString from)
from
- the object from which to copypublic boolean getMbmsContext()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBits
getNamedBits
in class BitStringWithNamedBits
public boolean getPdpContext()
public MAPGGSN_EventList setMbmsContext()
public MAPGGSN_EventList setPdpContext()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()