public class MAPRequestedNodes extends BitStringWithNamedBits
RequestedNodes ::= BIT STRING (SIZE (1..8)) { mme(0), sgsn(1) }Added in release 9. Other bits than are named here shall be discarded.
Used as field type by MAPRequestedInfo
.
BitStringWithNamedBits.NamedBit
Constructor and Description |
---|
MAPRequestedNodes()
Constructs an object that has no bits set.
|
MAPRequestedNodes(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
|
Modifier and Type | Method and Description |
---|---|
MAPRequestedNodes |
clearMme()
Clears the bit for mme to false.
|
MAPRequestedNodes |
clearSgsn()
Clears the bit for sgsn to false.
|
MAPRequestedNodes |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPRequestedNodes |
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 |
getMme()
Gets whether the bit for mme 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 |
getSgsn()
Gets whether the bit for sgsn is set or not.
|
MAPRequestedNodes |
setMme()
Sets the bit for mme to true.
|
MAPRequestedNodes |
setSgsn()
Sets the bit for sgsn 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 MAPRequestedNodes()
public MAPRequestedNodes(int nbits)
nbits
- initial number of bitspublic MAPRequestedNodes clearMme()
public MAPRequestedNodes clearSgsn()
public MAPRequestedNodes clone()
clone
in interface DataObject
clone
in class BitString
public static MAPRequestedNodes copyOf(BitString from)
from
- the object from which to copypublic boolean getMme()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBits
getNamedBits
in class BitStringWithNamedBits
public boolean getSgsn()
public MAPRequestedNodes setMme()
public MAPRequestedNodes setSgsn()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()