Class MAPAPN_Configuration

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPAPN_Configuration
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.APN-Configuration. Generated from the following ASN.1 type definition.
     APN-Configuration ::=
         SEQUENCE {
             contextId                  ContextId,
             pdn-Type                   PDN-Type,
             servedPartyIP-IPv4-Address PDP-Address OPTIONAL,
             apn                        APN,
             eps-qos-Subscribed         EPS-QoS-Subscribed,
             pdn-gw-Identity            PDN-GW-Identity OPTIONAL,
             pdn-gw-AllocationType      PDN-GW-AllocationType OPTIONAL,
             vplmnAddressAllowed        NULL OPTIONAL,
             chargingCharacteristics    ChargingCharacteristics OPTIONAL,
             ambr                       AMBR OPTIONAL,
             specificAPNInfoList        SpecificAPNInfoList OPTIONAL,
             extensionContainer         ExtensionContainer OPTIONAL,
             servedPartyIP-IPv6-Address PDP-Address OPTIONAL,             -- Added in release 9.
             ...
             apn-oi-Replacement         APN-OI-Replacement OPTIONAL,      -- Added in release 9.  This apn-oi-Replacement refers to the APN level apn-oi-Replacement.
             sipto-Permission           SIPTO-Permission OPTIONAL         -- Added in release 10.
         }
     
    Added in release 8.

    Used in array as field type by MAPAPN_ConfigurationProfile.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPAPN_Configuration

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

      • copyOf

        public static MAPAPN_Configuration copyOf​(MAPAPN_Configuration 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:
        MAPAPN_Configuration
      • getAmbr

        public MAPAMBR getAmbr()
        Gets the value of the field ambr.
        Returns:
        value of field ambr, or null if not present
      • getApn

        public AccessPointName getApn()
        Gets the value of the field apn.
        Returns:
        value of field apn, or null if not present
      • getApn_oi_Replacement

        public AccessPointNameOperatorId getApn_oi_Replacement()
        Gets the value of the field apn-oi-Replacement.
        Returns:
        value of field apn-oi-Replacement, 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
      • getContextId

        public int getContextId()
        Gets the value of the field contextId.
        Returns:
        value of field contextId
      • getEps_qos_Subscribed

        public MAPEPS_QoS_Subscribed getEps_qos_Subscribed()
        Gets the value of the field eps-qos-Subscribed.
        Returns:
        value of field eps-qos-Subscribed, 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
      • getPdn_Type

        public byte[] getPdn_Type()
        Gets the value of the field pdn-Type.
        Returns:
        value of field pdn-Type, or null if not present
      • getPdn_gw_AllocationType

        public MAPPDN_GW_AllocationType getPdn_gw_AllocationType()
        Gets the value of the field pdn-gw-AllocationType.
        Returns:
        value of field pdn-gw-AllocationType, or null if not present
      • getPdn_gw_Identity

        public MAPPDN_GW_Identity getPdn_gw_Identity()
        Gets the value of the field pdn-gw-Identity.
        Returns:
        value of field pdn-gw-Identity, or null if not present
      • getServedPartyIP_IPv4_Address

        public byte[] getServedPartyIP_IPv4_Address()
        Gets the value of the field servedPartyIP-IPv4-Address.
        Returns:
        value of field servedPartyIP-IPv4-Address, or null if not present
      • getServedPartyIP_IPv6_Address

        public byte[] getServedPartyIP_IPv6_Address()
        Gets the value of the field servedPartyIP-IPv6-Address.
        Returns:
        value of field servedPartyIP-IPv6-Address, or null if not present
      • getSipto_Permission

        public MAPSIPTO_Permission getSipto_Permission()
        Gets the value of the field sipto-Permission.
        Returns:
        value of field sipto-Permission, or null if not present
      • getSpecificAPNInfoList

        public MAPSpecificAPNInfo[] getSpecificAPNInfoList()
        Gets the value of the field specificAPNInfoList.
        Returns:
        value of field specificAPNInfoList, or null if not present
      • hasAmbr

        public boolean hasAmbr()
        Tests whether the field ambr has a value.
        Returns:
        whether the field ambr has a value
      • hasApn

        public boolean hasApn()
        Tests whether the field apn has a value.
        Returns:
        whether the field apn has a value
      • hasApn_oi_Replacement

        public boolean hasApn_oi_Replacement()
        Tests whether the field apn-oi-Replacement has a value.
        Returns:
        whether the field apn-oi-Replacement has a value
      • hasChargingCharacteristics

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

        public boolean hasContextId()
        Tests whether the field contextId has a value.
        Returns:
        whether the field contextId has a value
      • hasEps_qos_Subscribed

        public boolean hasEps_qos_Subscribed()
        Tests whether the field eps-qos-Subscribed has a value.
        Returns:
        whether the field eps-qos-Subscribed has a value
      • hasExtensionContainer

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

        public boolean hasPdn_Type()
        Tests whether the field pdn-Type has a value.
        Returns:
        whether the field pdn-Type has a value
      • hasPdn_gw_AllocationType

        public boolean hasPdn_gw_AllocationType()
        Tests whether the field pdn-gw-AllocationType has a value.
        Returns:
        whether the field pdn-gw-AllocationType has a value
      • hasPdn_gw_Identity

        public boolean hasPdn_gw_Identity()
        Tests whether the field pdn-gw-Identity has a value.
        Returns:
        whether the field pdn-gw-Identity has a value
      • hasServedPartyIP_IPv4_Address

        public boolean hasServedPartyIP_IPv4_Address()
        Tests whether the field servedPartyIP-IPv4-Address has a value.
        Returns:
        whether the field servedPartyIP-IPv4-Address has a value
      • hasServedPartyIP_IPv6_Address

        public boolean hasServedPartyIP_IPv6_Address()
        Tests whether the field servedPartyIP-IPv6-Address has a value.
        Returns:
        whether the field servedPartyIP-IPv6-Address has a value
      • hasSipto_Permission

        public boolean hasSipto_Permission()
        Tests whether the field sipto-Permission has a value.
        Returns:
        whether the field sipto-Permission has a value
      • hasSpecificAPNInfoList

        public boolean hasSpecificAPNInfoList()
        Tests whether the field specificAPNInfoList has a value.
        Returns:
        whether the field specificAPNInfoList has a value
      • hasVplmnAddressAllowed

        public boolean hasVplmnAddressAllowed()
        Tests whether the field vplmnAddressAllowed is present.
        Returns:
        whether the field vplmnAddressAllowed is present
      • setChargingCharacteristics

        public MAPAPN_Configuration 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
      • setContextId

        public MAPAPN_Configuration setContextId​(int value)
                                          throws IllegalStateException
        Sets the value of the field contextId 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
      • setServedPartyIP_IPv4_Address

        public MAPAPN_Configuration setServedPartyIP_IPv4_Address​(byte[] value)
                                                           throws IllegalStateException
        Sets the value of the field servedPartyIP-IPv4-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
      • setServedPartyIP_IPv6_Address

        public MAPAPN_Configuration setServedPartyIP_IPv6_Address​(byte[] value)
                                                           throws IllegalStateException
        Sets the value of the field servedPartyIP-IPv6-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
      • setVplmnAddressAllowedPresent

        public MAPAPN_Configuration setVplmnAddressAllowedPresent​(boolean flag)
                                                           throws IllegalStateException
        Sets the presence or absence of the optional field vplmnAddressAllowed.
        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