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