Class MAPAccessRestrictionData

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPAccessRestrictionData
    extends BitStringWithNamedBits
    API for MAP-MS-DataTypes.AccessRestrictionData. Generated from the following ASN.1 type definition.
     AccessRestrictionData ::=
         BIT STRING (SIZE (2..8)) {
             utranNotAllowed(0),
             geranNotAllowed(1),
             ganNotAllowed(2),                -- Added in release 7.
             i-hspa-evolutionNotAllowed(3),   -- Added in release 7.
             e-utranNotAllowed(4),            -- Added in release 8.
             ho-toNon3GPP-AccessNotAllowed(5) -- Added in release 8.
         }
     
    Added in release 6. Exception handling: access restriction data related to an access type not supported by a node shall be ignored; bits 6 to 7 shall be ignored if received and not understood.

    Used as field type by MAPInsertSubscriberDataArg.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPAccessRestrictionData

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

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

      • clearE_utranNotAllowed

        public MAPAccessRestrictionData clearE_utranNotAllowed()
        Clears the bit for e_utranNotAllowed to false.
        Returns:
        this
      • clearGanNotAllowed

        public MAPAccessRestrictionData clearGanNotAllowed()
        Clears the bit for ganNotAllowed to false.
        Returns:
        this
      • clearGeranNotAllowed

        public MAPAccessRestrictionData clearGeranNotAllowed()
        Clears the bit for geranNotAllowed to false.
        Returns:
        this
      • clearHo_toNon3GPP_AccessNotAllowed

        public MAPAccessRestrictionData clearHo_toNon3GPP_AccessNotAllowed()
        Clears the bit for ho_toNon3GPP_AccessNotAllowed to false.
        Returns:
        this
      • clearI_hspa_evolutionNotAllowed

        public MAPAccessRestrictionData clearI_hspa_evolutionNotAllowed()
        Clears the bit for i_hspa_evolutionNotAllowed to false.
        Returns:
        this
      • clearUtranNotAllowed

        public MAPAccessRestrictionData clearUtranNotAllowed()
        Clears the bit for utranNotAllowed to false.
        Returns:
        this
      • copyOf

        public static MAPAccessRestrictionData 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:
        MAPAccessRestrictionData
      • getE_utranNotAllowed

        public boolean getE_utranNotAllowed()
        Gets whether the bit for e_utranNotAllowed is set or not.
        Returns:
        the named bit's value
      • getGanNotAllowed

        public boolean getGanNotAllowed()
        Gets whether the bit for ganNotAllowed is set or not.
        Returns:
        the named bit's value
      • getGeranNotAllowed

        public boolean getGeranNotAllowed()
        Gets whether the bit for geranNotAllowed is set or not.
        Returns:
        the named bit's value
      • getHo_toNon3GPP_AccessNotAllowed

        public boolean getHo_toNon3GPP_AccessNotAllowed()
        Gets whether the bit for ho_toNon3GPP_AccessNotAllowed is set or not.
        Returns:
        the named bit's value
      • getI_hspa_evolutionNotAllowed

        public boolean getI_hspa_evolutionNotAllowed()
        Gets whether the bit for i_hspa_evolutionNotAllowed is set or not.
        Returns:
        the named bit's value
      • getUtranNotAllowed

        public boolean getUtranNotAllowed()
        Gets whether the bit for utranNotAllowed is set or not.
        Returns:
        the named bit's value
      • setE_utranNotAllowed

        public MAPAccessRestrictionData setE_utranNotAllowed()
        Sets the bit for e_utranNotAllowed to true.
        Returns:
        this
      • setGanNotAllowed

        public MAPAccessRestrictionData setGanNotAllowed()
        Sets the bit for ganNotAllowed to true.
        Returns:
        this
      • setGeranNotAllowed

        public MAPAccessRestrictionData setGeranNotAllowed()
        Sets the bit for geranNotAllowed to true.
        Returns:
        this
      • setHo_toNon3GPP_AccessNotAllowed

        public MAPAccessRestrictionData setHo_toNon3GPP_AccessNotAllowed()
        Sets the bit for ho_toNon3GPP_AccessNotAllowed to true.
        Returns:
        this
      • setI_hspa_evolutionNotAllowed

        public MAPAccessRestrictionData setI_hspa_evolutionNotAllowed()
        Sets the bit for i_hspa_evolutionNotAllowed to true.
        Returns:
        this
      • setUtranNotAllowed

        public MAPAccessRestrictionData setUtranNotAllowed()
        Sets the bit for utranNotAllowed 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