public class MAPAllowedServices extends BitStringWithNamedBits
AllowedServices ::=
BIT STRING (SIZE (2..8)) {
firstServiceAllowed(0), -- firstService is the service indicated in the networkSignalInfo.
secondServiceAllowed(1) -- secondService is the service indicated in the networkSignalInfo2.
}
Added in release 5. Other bits than are named here shall be discarded.
Used as field type by MAPSendRoutingInfoRes_v3.
BitStringWithNamedBits.NamedBit| Constructor and Description |
|---|
MAPAllowedServices()
Constructs an object that has no bits set.
|
MAPAllowedServices(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
|
| Modifier and Type | Method and Description |
|---|---|
MAPAllowedServices |
clearFirstServiceAllowed()
Clears the bit for firstServiceAllowed to false.
|
MAPAllowedServices |
clearSecondServiceAllowed()
Clears the bit for secondServiceAllowed to false.
|
MAPAllowedServices |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAllowedServices |
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 |
getFirstServiceAllowed()
Gets whether the bit for firstServiceAllowed 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 |
getSecondServiceAllowed()
Gets whether the bit for secondServiceAllowed is set or not.
|
MAPAllowedServices |
setFirstServiceAllowed()
Sets the bit for firstServiceAllowed to true.
|
MAPAllowedServices |
setSecondServiceAllowed()
Sets the bit for secondServiceAllowed to true.
|
static BitStringWithNamedBits.NamedBit[] |
staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).
|
toStringcheckModify, isReadOnly, setReadOnlypublic MAPAllowedServices()
public MAPAllowedServices(int nbits)
nbits - initial number of bitspublic MAPAllowedServices clearFirstServiceAllowed()
public MAPAllowedServices clearSecondServiceAllowed()
public MAPAllowedServices clone()
clone in interface DataObjectclone in class BitStringpublic static MAPAllowedServices copyOf(BitString from)
from - the object from which to copypublic boolean getFirstServiceAllowed()
public BitStringWithNamedBits.NamedBit[] getNamedBits()
BitStringWithNamedBitsgetNamedBits in class BitStringWithNamedBitspublic boolean getSecondServiceAllowed()
public MAPAllowedServices setFirstServiceAllowed()
public MAPAllowedServices setSecondServiceAllowed()
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()