Class MAPAdditionalSubscriptions
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPAdditionalSubscriptions
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPAdditionalSubscriptions extends BitStringWithNamedBits
API for MAP-MS-DataTypes.AdditionalSubscriptions. Generated from the following ASN.1 type definition.AdditionalSubscriptions ::= BIT STRING (SIZE (3..8)) { privilegedUplinkRequest(0), emergencyUplinkRequest(1), emergencyReset(2) }
Added in release 7. Other bits than are named here shall be discarded.Used as field type by
MAPVoiceGroupCallData
.Used as field type by
MAPSendGroupCallInfoRes
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
BitStringWithNamedBits.NamedBit
-
-
Constructor Summary
Constructors Constructor Description MAPAdditionalSubscriptions()
Constructs an object that has no bits set.MAPAdditionalSubscriptions(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPAdditionalSubscriptions
clearEmergencyReset()
Clears the bit for emergencyReset to false.MAPAdditionalSubscriptions
clearEmergencyUplinkRequest()
Clears the bit for emergencyUplinkRequest to false.MAPAdditionalSubscriptions
clearPrivilegedUplinkRequest()
Clears the bit for privilegedUplinkRequest to false.MAPAdditionalSubscriptions
clone()
Constructs a copy of this object and everything reachable from it.static MAPAdditionalSubscriptions
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
getEmergencyReset()
Gets whether the bit for emergencyReset is set or not.boolean
getEmergencyUplinkRequest()
Gets whether the bit for emergencyUplinkRequest 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
getPrivilegedUplinkRequest()
Gets whether the bit for privilegedUplinkRequest is set or not.MAPAdditionalSubscriptions
setEmergencyReset()
Sets the bit for emergencyReset to true.MAPAdditionalSubscriptions
setEmergencyUplinkRequest()
Sets the bit for emergencyUplinkRequest to true.MAPAdditionalSubscriptions
setPrivilegedUplinkRequest()
Sets the bit for privilegedUplinkRequest to true.static BitStringWithNamedBits.NamedBit[]
staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).-
Methods inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
toString
-
Methods inherited from class com.opencloud.slee.resources.cgin.BitString
clear, clear, equals, get, hashCode, length, nextSetBit, set
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
MAPAdditionalSubscriptions
public MAPAdditionalSubscriptions()
Constructs an object that has no bits set.
-
MAPAdditionalSubscriptions
public MAPAdditionalSubscriptions(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.- Parameters:
nbits
- initial number of bits
-
-
Method Detail
-
clearEmergencyReset
public MAPAdditionalSubscriptions clearEmergencyReset()
Clears the bit for emergencyReset to false.- Returns:
- this
-
clearEmergencyUplinkRequest
public MAPAdditionalSubscriptions clearEmergencyUplinkRequest()
Clears the bit for emergencyUplinkRequest to false.- Returns:
- this
-
clearPrivilegedUplinkRequest
public MAPAdditionalSubscriptions clearPrivilegedUplinkRequest()
Clears the bit for privilegedUplinkRequest to false.- Returns:
- this
-
clone
public MAPAdditionalSubscriptions clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classBitString
- Returns:
- copy of object
-
copyOf
public static MAPAdditionalSubscriptions 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.- Parameters:
from
- the object from which to copy- Returns:
- MAPAdditionalSubscriptions
-
getEmergencyReset
public boolean getEmergencyReset()
Gets whether the bit for emergencyReset is set or not.- Returns:
- the named bit's value
-
getEmergencyUplinkRequest
public boolean getEmergencyUplinkRequest()
Gets whether the bit for emergencyUplinkRequest is set or not.- Returns:
- the named bit's value
-
getNamedBits
public BitStringWithNamedBits.NamedBit[] getNamedBits()
Description copied from class:BitStringWithNamedBits
Gets the names of all bits of this type (not just the bits set in this value).- Specified by:
getNamedBits
in classBitStringWithNamedBits
- Returns:
- array of NamedBit
-
getPrivilegedUplinkRequest
public boolean getPrivilegedUplinkRequest()
Gets whether the bit for privilegedUplinkRequest is set or not.- Returns:
- the named bit's value
-
setEmergencyReset
public MAPAdditionalSubscriptions setEmergencyReset()
Sets the bit for emergencyReset to true.- Returns:
- this
-
setEmergencyUplinkRequest
public MAPAdditionalSubscriptions setEmergencyUplinkRequest()
Sets the bit for emergencyUplinkRequest to true.- Returns:
- this
-
setPrivilegedUplinkRequest
public MAPAdditionalSubscriptions setPrivilegedUplinkRequest()
Sets the bit for privilegedUplinkRequest to true.- Returns:
- this
-
staticGetNamedBits
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).- Returns:
- array of NamedBit
-
-