Class MAPRequestedNodes

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPRequestedNodes
    extends BitStringWithNamedBits
    API for MAP-MS-DataTypes.RequestedNodes. Generated from the following ASN.1 type definition.
     RequestedNodes ::=
         BIT STRING (SIZE (1..8)) {
             mme(0),
             sgsn(1)
         }
     
    Added in release 9. Other bits than are named here shall be discarded.

    Used as field type by MAPRequestedInfo.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPRequestedNodes

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

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

      • clearMme

        public MAPRequestedNodes clearMme()
        Clears the bit for mme to false.
        Returns:
        this
      • clearSgsn

        public MAPRequestedNodes clearSgsn()
        Clears the bit for sgsn to false.
        Returns:
        this
      • copyOf

        public static MAPRequestedNodes 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:
        MAPRequestedNodes
      • getMme

        public boolean getMme()
        Gets whether the bit for mme is set or not.
        Returns:
        the named bit's value
      • getSgsn

        public boolean getSgsn()
        Gets whether the bit for sgsn is set or not.
        Returns:
        the named bit's value
      • setMme

        public MAPRequestedNodes setMme()
        Sets the bit for mme to true.
        Returns:
        this
      • setSgsn

        public MAPRequestedNodes setSgsn()
        Sets the bit for sgsn 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