Class MAPPDP_ContextInfo

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPPDP_ContextInfo
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.PDP-ContextInfo. Generated from the following ASN.1 type definition.
     PDP-ContextInfo ::=
         SEQUENCE {
             pdp-ContextIdentifier   ContextId,
             pdp-ContextActive       NULL OPTIONAL,
             pdp-Type                PDP-Type,
             pdp-Address             PDP-Address OPTIONAL,
             apn-Subscribed          APN OPTIONAL,
             apn-InUse               APN OPTIONAL,
             nsapi                   NSAPI OPTIONAL,
             transactionId           TransactionId OPTIONAL,
             teid-ForGnAndGp         TEID OPTIONAL,
             teid-ForIu              TEID OPTIONAL,
             ggsn-Address            GSN-Address OPTIONAL,
             qos-Subscribed          Ext-QoS-Subscribed OPTIONAL,
             qos-Requested           Ext-QoS-Subscribed OPTIONAL,
             qos-Negotiated          Ext-QoS-Subscribed OPTIONAL,
             chargingId              GPRSChargingID OPTIONAL,
             chargingCharacteristics ChargingCharacteristics OPTIONAL,
             rnc-Address             GSN-Address OPTIONAL,
             extensionContainer      ExtensionContainer OPTIONAL,
             ...
             qos2-Subscribed         Ext2-QoS-Subscribed OPTIONAL,     -- qos2-Subscribed may be present only if qos-Subscribed is present.
             qos2-Requested          Ext2-QoS-Subscribed OPTIONAL,     -- qos2-Requested may be present only if qos-Requested is present.
             qos2-Negotiated         Ext2-QoS-Subscribed OPTIONAL,     -- qos2-Negotiated may be present only if qos-Negotiated is present.
             qos3-Subscribed         Ext3-QoS-Subscribed OPTIONAL,     -- Added in release 7.  qos3-Subscribed may be present only if qos2-Subscribed is present.
             qos3-Requested          Ext3-QoS-Subscribed OPTIONAL,     -- Added in release 7.  qos3-Requested may be present only if qos2-Requested is present.
             qos3-Negotiated         Ext3-QoS-Subscribed OPTIONAL,     -- Added in release 7.  qos3-Negotiated may be present only if qos2-Negotiated is present.
             qos4-Subscribed         Ext4-QoS-Subscribed OPTIONAL,     -- Added in release 9.  qos4-Subscribed may be present only if qos3-Subscribed is present.
             qos4-Requested          Ext4-QoS-Subscribed OPTIONAL,     -- Added in release 9.  qos4-Requested may be present only if qos3-Requested is present.
             qos4-Negotiated         Ext4-QoS-Subscribed OPTIONAL,     -- Added in release 9.  qos4-Negotiated may be present only if qos3-Negotiated is present.
             ext-pdp-Type            Ext-PDP-Type OPTIONAL,            -- Added in release 9.  Contains the value IPv4v6 defined in 3GPP TS 29.060, if the PDP can be accessed by dual-stack UEs.
             ext-pdp-Address         PDP-Address OPTIONAL              -- Added in release 9.  Contains an additional IP address in case of dual-stack static IP address assignment for the UE.  It may contain an IPv4 or an IPv6 address/prefix, and it may be present only if pdp-Address is present; if both are present, each parameter shall contain a different type of address (IPv4 or IPv6).
         }
     
    Added in release 5.

    Used in array as field type by MAPPS_SubscriberState.

    Used in array as field type by MAPPS_SubscriberState.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPPDP_ContextInfo

        public MAPPDP_ContextInfo()
        Constructs an object with uninitialised state.
    • Method Detail

      • copyOf

        public static MAPPDP_ContextInfo copyOf​(MAPPDP_ContextInfo 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:
        MAPPDP_ContextInfo
      • getApn_InUse

        public AccessPointName getApn_InUse()
        Gets the value of the field apn-InUse.
        Returns:
        value of field apn-InUse, or null if not present
      • getApn_Subscribed

        public AccessPointName getApn_Subscribed()
        Gets the value of the field apn-Subscribed.
        Returns:
        value of field apn-Subscribed, or null if not present
      • getChargingCharacteristics

        public byte[] getChargingCharacteristics()
        Gets the value of the field chargingCharacteristics.
        Returns:
        value of field chargingCharacteristics, or null if not present
      • getChargingId

        public byte[] getChargingId()
        Gets the value of the field chargingId.
        Returns:
        value of field chargingId, or null if not present
      • getExt_pdp_Address

        public byte[] getExt_pdp_Address()
        Gets the value of the field ext-pdp-Address.
        Returns:
        value of field ext-pdp-Address, or null if not present
      • getExt_pdp_Type

        public byte[] getExt_pdp_Type()
        Gets the value of the field ext-pdp-Type.
        Returns:
        value of field ext-pdp-Type, or null if not present
      • getExtensionContainer

        public MAPExtensionContainer getExtensionContainer()
        Gets the value of the field extensionContainer.
        Returns:
        value of field extensionContainer, or null if not present
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
        Returns:
        FieldAccessor[]
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getGgsn_Address

        public GSNAddress getGgsn_Address()
        Gets the value of the field ggsn-Address.
        Returns:
        value of field ggsn-Address, or null if not present
      • getNsapi

        public int getNsapi()
        Gets the value of the field nsapi.
        Returns:
        value of field nsapi
      • getPdp_Address

        public byte[] getPdp_Address()
        Gets the value of the field pdp-Address.
        Returns:
        value of field pdp-Address, or null if not present
      • getPdp_ContextIdentifier

        public int getPdp_ContextIdentifier()
        Gets the value of the field pdp-ContextIdentifier.
        Returns:
        value of field pdp-ContextIdentifier
      • getPdp_Type

        public byte[] getPdp_Type()
        Gets the value of the field pdp-Type.
        Returns:
        value of field pdp-Type, or null if not present
      • getQos2_Negotiated

        public byte[] getQos2_Negotiated()
        Gets the value of the field qos2-Negotiated.
        Returns:
        value of field qos2-Negotiated, or null if not present
      • getQos2_Requested

        public byte[] getQos2_Requested()
        Gets the value of the field qos2-Requested.
        Returns:
        value of field qos2-Requested, or null if not present
      • getQos2_Subscribed

        public byte[] getQos2_Subscribed()
        Gets the value of the field qos2-Subscribed.
        Returns:
        value of field qos2-Subscribed, or null if not present
      • getQos3_Negotiated

        public byte[] getQos3_Negotiated()
        Gets the value of the field qos3-Negotiated.
        Returns:
        value of field qos3-Negotiated, or null if not present
      • getQos3_Requested

        public byte[] getQos3_Requested()
        Gets the value of the field qos3-Requested.
        Returns:
        value of field qos3-Requested, or null if not present
      • getQos3_Subscribed

        public byte[] getQos3_Subscribed()
        Gets the value of the field qos3-Subscribed.
        Returns:
        value of field qos3-Subscribed, or null if not present
      • getQos4_Negotiated

        public byte[] getQos4_Negotiated()
        Gets the value of the field qos4-Negotiated.
        Returns:
        value of field qos4-Negotiated, or null if not present
      • getQos4_Requested

        public byte[] getQos4_Requested()
        Gets the value of the field qos4-Requested.
        Returns:
        value of field qos4-Requested, or null if not present
      • getQos4_Subscribed

        public byte[] getQos4_Subscribed()
        Gets the value of the field qos4-Subscribed.
        Returns:
        value of field qos4-Subscribed, or null if not present
      • getQos_Negotiated

        public byte[] getQos_Negotiated()
        Gets the value of the field qos-Negotiated.
        Returns:
        value of field qos-Negotiated, or null if not present
      • getQos_Requested

        public byte[] getQos_Requested()
        Gets the value of the field qos-Requested.
        Returns:
        value of field qos-Requested, or null if not present
      • getQos_Subscribed

        public byte[] getQos_Subscribed()
        Gets the value of the field qos-Subscribed.
        Returns:
        value of field qos-Subscribed, or null if not present
      • getRnc_Address

        public GSNAddress getRnc_Address()
        Gets the value of the field rnc-Address.
        Returns:
        value of field rnc-Address, or null if not present
      • getTeid_ForGnAndGp

        public byte[] getTeid_ForGnAndGp()
        Gets the value of the field teid-ForGnAndGp.
        Returns:
        value of field teid-ForGnAndGp, or null if not present
      • getTeid_ForIu

        public byte[] getTeid_ForIu()
        Gets the value of the field teid-ForIu.
        Returns:
        value of field teid-ForIu, or null if not present
      • getTransactionId

        public byte[] getTransactionId()
        Gets the value of the field transactionId.
        Returns:
        value of field transactionId, or null if not present
      • hasApn_InUse

        public boolean hasApn_InUse()
        Tests whether the field apn-InUse has a value.
        Returns:
        whether the field apn-InUse has a value
      • hasApn_Subscribed

        public boolean hasApn_Subscribed()
        Tests whether the field apn-Subscribed has a value.
        Returns:
        whether the field apn-Subscribed has a value
      • hasChargingCharacteristics

        public boolean hasChargingCharacteristics()
        Tests whether the field chargingCharacteristics has a value.
        Returns:
        whether the field chargingCharacteristics has a value
      • hasChargingId

        public boolean hasChargingId()
        Tests whether the field chargingId has a value.
        Returns:
        whether the field chargingId has a value
      • hasExt_pdp_Address

        public boolean hasExt_pdp_Address()
        Tests whether the field ext-pdp-Address has a value.
        Returns:
        whether the field ext-pdp-Address has a value
      • hasExt_pdp_Type

        public boolean hasExt_pdp_Type()
        Tests whether the field ext-pdp-Type has a value.
        Returns:
        whether the field ext-pdp-Type has a value
      • hasExtensionContainer

        public boolean hasExtensionContainer()
        Tests whether the field extensionContainer has a value.
        Returns:
        whether the field extensionContainer has a value
      • hasGgsn_Address

        public boolean hasGgsn_Address()
        Tests whether the field ggsn-Address has a value.
        Returns:
        whether the field ggsn-Address has a value
      • hasNsapi

        public boolean hasNsapi()
        Tests whether the field nsapi has a value.
        Returns:
        whether the field nsapi has a value
      • hasPdp_Address

        public boolean hasPdp_Address()
        Tests whether the field pdp-Address has a value.
        Returns:
        whether the field pdp-Address has a value
      • hasPdp_ContextActive

        public boolean hasPdp_ContextActive()
        Tests whether the field pdp-ContextActive is present.
        Returns:
        whether the field pdp-ContextActive is present
      • hasPdp_ContextIdentifier

        public boolean hasPdp_ContextIdentifier()
        Tests whether the field pdp-ContextIdentifier has a value.
        Returns:
        whether the field pdp-ContextIdentifier has a value
      • hasPdp_Type

        public boolean hasPdp_Type()
        Tests whether the field pdp-Type has a value.
        Returns:
        whether the field pdp-Type has a value
      • hasQos2_Negotiated

        public boolean hasQos2_Negotiated()
        Tests whether the field qos2-Negotiated has a value.
        Returns:
        whether the field qos2-Negotiated has a value
      • hasQos2_Requested

        public boolean hasQos2_Requested()
        Tests whether the field qos2-Requested has a value.
        Returns:
        whether the field qos2-Requested has a value
      • hasQos2_Subscribed

        public boolean hasQos2_Subscribed()
        Tests whether the field qos2-Subscribed has a value.
        Returns:
        whether the field qos2-Subscribed has a value
      • hasQos3_Negotiated

        public boolean hasQos3_Negotiated()
        Tests whether the field qos3-Negotiated has a value.
        Returns:
        whether the field qos3-Negotiated has a value
      • hasQos3_Requested

        public boolean hasQos3_Requested()
        Tests whether the field qos3-Requested has a value.
        Returns:
        whether the field qos3-Requested has a value
      • hasQos3_Subscribed

        public boolean hasQos3_Subscribed()
        Tests whether the field qos3-Subscribed has a value.
        Returns:
        whether the field qos3-Subscribed has a value
      • hasQos4_Negotiated

        public boolean hasQos4_Negotiated()
        Tests whether the field qos4-Negotiated has a value.
        Returns:
        whether the field qos4-Negotiated has a value
      • hasQos4_Requested

        public boolean hasQos4_Requested()
        Tests whether the field qos4-Requested has a value.
        Returns:
        whether the field qos4-Requested has a value
      • hasQos4_Subscribed

        public boolean hasQos4_Subscribed()
        Tests whether the field qos4-Subscribed has a value.
        Returns:
        whether the field qos4-Subscribed has a value
      • hasQos_Negotiated

        public boolean hasQos_Negotiated()
        Tests whether the field qos-Negotiated has a value.
        Returns:
        whether the field qos-Negotiated has a value
      • hasQos_Requested

        public boolean hasQos_Requested()
        Tests whether the field qos-Requested has a value.
        Returns:
        whether the field qos-Requested has a value
      • hasQos_Subscribed

        public boolean hasQos_Subscribed()
        Tests whether the field qos-Subscribed has a value.
        Returns:
        whether the field qos-Subscribed has a value
      • hasRnc_Address

        public boolean hasRnc_Address()
        Tests whether the field rnc-Address has a value.
        Returns:
        whether the field rnc-Address has a value
      • hasTeid_ForGnAndGp

        public boolean hasTeid_ForGnAndGp()
        Tests whether the field teid-ForGnAndGp has a value.
        Returns:
        whether the field teid-ForGnAndGp has a value
      • hasTeid_ForIu

        public boolean hasTeid_ForIu()
        Tests whether the field teid-ForIu has a value.
        Returns:
        whether the field teid-ForIu has a value
      • hasTransactionId

        public boolean hasTransactionId()
        Tests whether the field transactionId has a value.
        Returns:
        whether the field transactionId has a value
      • setChargingCharacteristics

        public MAPPDP_ContextInfo setChargingCharacteristics​(byte[] value)
                                                      throws IllegalStateException
        Sets the value of the field chargingCharacteristics. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setChargingId

        public MAPPDP_ContextInfo setChargingId​(byte[] value)
                                         throws IllegalStateException
        Sets the value of the field chargingId. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setExt_pdp_Address

        public MAPPDP_ContextInfo setExt_pdp_Address​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field ext-pdp-Address. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setExt_pdp_Type

        public MAPPDP_ContextInfo setExt_pdp_Type​(byte[] value)
                                           throws IllegalStateException
        Sets the value of the field ext-pdp-Type. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setNsapiPresent

        public MAPPDP_ContextInfo setNsapiPresent​(boolean flag)
                                           throws IllegalStateException
        Sets the presence or absence of the optional field nsapi.
        Parameters:
        flag - either true if the field should be marked as present or false if the field should be marked as absent
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setPdp_Address

        public MAPPDP_ContextInfo setPdp_Address​(byte[] value)
                                          throws IllegalStateException
        Sets the value of the field pdp-Address. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setPdp_ContextActivePresent

        public MAPPDP_ContextInfo setPdp_ContextActivePresent​(boolean flag)
                                                       throws IllegalStateException
        Sets the presence or absence of the optional field pdp-ContextActive.
        Parameters:
        flag - either true if the field should be marked as present or false if the field should be marked as absent
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setPdp_ContextIdentifier

        public MAPPDP_ContextInfo setPdp_ContextIdentifier​(int value)
                                                    throws IllegalStateException
        Sets the value of the field pdp-ContextIdentifier and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos2_Negotiated

        public MAPPDP_ContextInfo setQos2_Negotiated​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos2-Negotiated. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos2_Requested

        public MAPPDP_ContextInfo setQos2_Requested​(byte[] value)
                                             throws IllegalStateException
        Sets the value of the field qos2-Requested. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos2_Subscribed

        public MAPPDP_ContextInfo setQos2_Subscribed​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos2-Subscribed. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos3_Negotiated

        public MAPPDP_ContextInfo setQos3_Negotiated​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos3-Negotiated. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos3_Requested

        public MAPPDP_ContextInfo setQos3_Requested​(byte[] value)
                                             throws IllegalStateException
        Sets the value of the field qos3-Requested. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos3_Subscribed

        public MAPPDP_ContextInfo setQos3_Subscribed​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos3-Subscribed. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos4_Negotiated

        public MAPPDP_ContextInfo setQos4_Negotiated​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos4-Negotiated. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos4_Requested

        public MAPPDP_ContextInfo setQos4_Requested​(byte[] value)
                                             throws IllegalStateException
        Sets the value of the field qos4-Requested. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos4_Subscribed

        public MAPPDP_ContextInfo setQos4_Subscribed​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field qos4-Subscribed. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos_Negotiated

        public MAPPDP_ContextInfo setQos_Negotiated​(byte[] value)
                                             throws IllegalStateException
        Sets the value of the field qos-Negotiated. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos_Requested

        public MAPPDP_ContextInfo setQos_Requested​(byte[] value)
                                            throws IllegalStateException
        Sets the value of the field qos-Requested. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setQos_Subscribed

        public MAPPDP_ContextInfo setQos_Subscribed​(byte[] value)
                                             throws IllegalStateException
        Sets the value of the field qos-Subscribed. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setTeid_ForGnAndGp

        public MAPPDP_ContextInfo setTeid_ForGnAndGp​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field teid-ForGnAndGp. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setTeid_ForIu

        public MAPPDP_ContextInfo setTeid_ForIu​(byte[] value)
                                         throws IllegalStateException
        Sets the value of the field teid-ForIu. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setTransactionId

        public MAPPDP_ContextInfo setTransactionId​(byte[] value)
                                            throws IllegalStateException
        Sets the value of the field transactionId. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only