Class MAPPDN_GW_Identity

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPPDN_GW_Identity
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.PDN-GW-Identity. Generated from the following ASN.1 type definition.
     PDN-GW-Identity ::=
         SEQUENCE {
             pdn-gw-ipv4-Address PDP-Address OPTIONAL,
             pdn-gw-ipv6-Address PDP-Address OPTIONAL,
             pdn-gw-name         FQDN OPTIONAL,
             extensionContainer  ExtensionContainer OPTIONAL,
             ...
         }
     
    Added in release 8.

    Used as field type by MAPAPN_Configuration.

    Used as field type by MAPSpecificAPNInfo.

    Used as field type by MAPPDN_GW_Update.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPPDN_GW_Identity

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

      • copyOf

        public static MAPPDN_GW_Identity copyOf​(MAPPDN_GW_Identity 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:
        MAPPDN_GW_Identity
      • 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_gw_ipv4_Address

        public byte[] getPdn_gw_ipv4_Address()
        Gets the value of the field pdn-gw-ipv4-Address.
        Returns:
        value of field pdn-gw-ipv4-Address, or null if not present
      • getPdn_gw_ipv6_Address

        public byte[] getPdn_gw_ipv6_Address()
        Gets the value of the field pdn-gw-ipv6-Address.
        Returns:
        value of field pdn-gw-ipv6-Address, or null if not present
      • getPdn_gw_name

        public byte[] getPdn_gw_name()
        Gets the value of the field pdn-gw-name.
        Returns:
        value of field pdn-gw-name, or null if not present
      • hasExtensionContainer

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

        public boolean hasPdn_gw_ipv4_Address()
        Tests whether the field pdn-gw-ipv4-Address has a value.
        Returns:
        whether the field pdn-gw-ipv4-Address has a value
      • hasPdn_gw_ipv6_Address

        public boolean hasPdn_gw_ipv6_Address()
        Tests whether the field pdn-gw-ipv6-Address has a value.
        Returns:
        whether the field pdn-gw-ipv6-Address has a value
      • hasPdn_gw_name

        public boolean hasPdn_gw_name()
        Tests whether the field pdn-gw-name has a value.
        Returns:
        whether the field pdn-gw-name has a value
      • setPdn_gw_ipv4_Address

        public MAPPDN_GW_Identity setPdn_gw_ipv4_Address​(byte[] value)
                                                  throws IllegalStateException
        Sets the value of the field pdn-gw-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
      • setPdn_gw_ipv6_Address

        public MAPPDN_GW_Identity setPdn_gw_ipv6_Address​(byte[] value)
                                                  throws IllegalStateException
        Sets the value of the field pdn-gw-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
      • setPdn_gw_name

        public MAPPDN_GW_Identity setPdn_gw_name​(byte[] value)
                                          throws IllegalStateException
        Sets the value of the field pdn-gw-name. 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