public class MAPGGSN_InterfaceList extends BitStringWithNamedBits
GGSN-InterfaceList ::= BIT STRING (SIZE (3..8)) { gn(0), gi(1), gmb(2) }Added in release 6. Other bits than are named here shall be discarded.
Used as field type by MAPTraceInterfaceList
.
BitStringWithNamedBits.NamedBit
Constructor and Description |
---|
MAPGGSN_InterfaceList()
Constructs an object that has no bits set.
|
MAPGGSN_InterfaceList(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_InterfaceList |
clearGi()
Clears the bit for gi to false.
|
MAPGGSN_InterfaceList |
clearGmb()
Clears the bit for gmb to false.
|
MAPGGSN_InterfaceList |
clearGn()
Clears the bit for gn to false.
|
MAPGGSN_InterfaceList |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPGGSN_InterfaceList |
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 |
getGi()
Gets whether the bit for gi is set or not.
|
boolean |
getGmb()
Gets whether the bit for gmb is set or not.
|
boolean |
getGn()
Gets whether the bit for gn is set or not.
|
BitStringWithNamedBits.NamedBit[] |
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).
|
MAPGGSN_InterfaceList |
setGi()
Sets the bit for gi to true.
|
MAPGGSN_InterfaceList |
setGmb()
Sets the bit for gmb to true.
|
MAPGGSN_InterfaceList |
setGn()
Sets the bit for gn 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_InterfaceList()
public MAPGGSN_InterfaceList(int nbits)
nbits
- initial number of bitspublic MAPGGSN_InterfaceList clearGi()
public MAPGGSN_InterfaceList clearGmb()
public MAPGGSN_InterfaceList clearGn()
public MAPGGSN_InterfaceList clone()
clone
in interface DataObject
clone
in class BitString
public static MAPGGSN_InterfaceList copyOf(BitString from)
from
- the object from which to copypublic boolean getGi()
public boolean getGmb()
public boolean getGn()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBits
getNamedBits
in class BitStringWithNamedBits
public MAPGGSN_InterfaceList setGi()
public MAPGGSN_InterfaceList setGmb()
public MAPGGSN_InterfaceList setGn()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()