Class MAPServiceIndicator

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPServiceIndicator
    extends BitStringWithNamedBits
    API for MAP-SS-DataTypes.ServiceIndicator. Generated from the following ASN.1 type definition.
     ServiceIndicator ::=
         BIT STRING (SIZE (2..32)) {
             clir-invoked(0),
             camel-invoked(1)
         }
     
    Added in R97. Exception handling: bits 2 to 31 shall be ignored if received and not understood.

    Used as field type by MAPCCBS_Data.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPServiceIndicator

        public MAPServiceIndicator()
        Constructs an object that has no bits set.
      • MAPServiceIndicator

        public MAPServiceIndicator​(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

      • clearCamel_invoked

        public MAPServiceIndicator clearCamel_invoked()
        Clears the bit for camel_invoked to false.
        Returns:
        this
      • clearClir_invoked

        public MAPServiceIndicator clearClir_invoked()
        Clears the bit for clir_invoked to false.
        Returns:
        this
      • copyOf

        public static MAPServiceIndicator 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:
        MAPServiceIndicator
      • getCamel_invoked

        public boolean getCamel_invoked()
        Gets whether the bit for camel_invoked is set or not.
        Returns:
        the named bit's value
      • getClir_invoked

        public boolean getClir_invoked()
        Gets whether the bit for clir_invoked is set or not.
        Returns:
        the named bit's value
      • setCamel_invoked

        public MAPServiceIndicator setCamel_invoked()
        Sets the bit for camel_invoked to true.
        Returns:
        this
      • setClir_invoked

        public MAPServiceIndicator setClir_invoked()
        Sets the bit for clir_invoked 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