Class 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
    • 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
      • 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
      • 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