public class MAPMGW_EventList extends BitStringWithNamedBits
MGW-EventList ::= BIT STRING (SIZE (1..8)) { context(0) }Added in release 6. Other bits than are named here shall be discarded.
Used as field type by MAPTraceEventList
.
Used as field type by MAPTracePropagationList
.
BitStringWithNamedBits.NamedBit
Constructor and Description |
---|
MAPMGW_EventList()
Constructs an object that has no bits set.
|
MAPMGW_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 |
---|---|
MAPMGW_EventList |
clearContext()
Clears the bit for context to false.
|
MAPMGW_EventList |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPMGW_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 |
getContext()
Gets whether the bit for context is set or not.
|
BitStringWithNamedBits.NamedBit[] |
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).
|
MAPMGW_EventList |
setContext()
Sets the bit for context 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 MAPMGW_EventList()
public MAPMGW_EventList(int nbits)
nbits
- initial number of bitspublic MAPMGW_EventList clearContext()
public MAPMGW_EventList clone()
clone
in interface DataObject
clone
in class BitString
public static MAPMGW_EventList copyOf(BitString from)
from
- the object from which to copypublic boolean getContext()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBits
getNamedBits
in class BitStringWithNamedBits
public MAPMGW_EventList setContext()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()