public class MAPMGW_InterfaceList extends BitStringWithNamedBits
MGW-InterfaceList ::= BIT STRING (SIZE (3..8)) { mc(0), nb-up(1), iu-up(2) }Added in release 6. Other bits than are named here shall be discarded.
Used as field type by MAPTraceInterfaceList
.
Used as field type by MAPTracePropagationList
.
BitStringWithNamedBits.NamedBit
Constructor and Description |
---|
MAPMGW_InterfaceList()
Constructs an object that has no bits set.
|
MAPMGW_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 |
---|---|
MAPMGW_InterfaceList |
clearIu_up()
Clears the bit for iu_up to false.
|
MAPMGW_InterfaceList |
clearMc()
Clears the bit for mc to false.
|
MAPMGW_InterfaceList |
clearNb_up()
Clears the bit for nb_up to false.
|
MAPMGW_InterfaceList |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPMGW_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 |
getIu_up()
Gets whether the bit for iu_up is set or not.
|
boolean |
getMc()
Gets whether the bit for mc 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 |
getNb_up()
Gets whether the bit for nb_up is set or not.
|
MAPMGW_InterfaceList |
setIu_up()
Sets the bit for iu_up to true.
|
MAPMGW_InterfaceList |
setMc()
Sets the bit for mc to true.
|
MAPMGW_InterfaceList |
setNb_up()
Sets the bit for nb_up 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_InterfaceList()
public MAPMGW_InterfaceList(int nbits)
nbits
- initial number of bitspublic MAPMGW_InterfaceList clearIu_up()
public MAPMGW_InterfaceList clearMc()
public MAPMGW_InterfaceList clearNb_up()
public MAPMGW_InterfaceList clone()
clone
in interface DataObject
clone
in class BitString
public static MAPMGW_InterfaceList copyOf(BitString from)
from
- the object from which to copypublic boolean getIu_up()
public boolean getMc()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBits
getNamedBits
in class BitStringWithNamedBits
public boolean getNb_up()
public MAPMGW_InterfaceList setIu_up()
public MAPMGW_InterfaceList setMc()
public MAPMGW_InterfaceList setNb_up()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()