Class MAPSendRoutingInfoForGprsRes

    • Constructor Detail

      • MAPSendRoutingInfoForGprsRes

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

      • copyOf

        public static MAPSendRoutingInfoForGprsRes copyOf​(MAPSendRoutingInfoForGprsRes 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:
        MAPSendRoutingInfoForGprsRes
      • 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
      • getMobileNotReachableReason

        public int getMobileNotReachableReason()
        Gets the value of the field mobileNotReachableReason.
        Returns:
        value of field mobileNotReachableReason
      • getSgsn_Address

        public GSNAddress getSgsn_Address()
        Gets the value of the field sgsn-Address.
        Returns:
        value of field sgsn-Address, 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
      • hasGgsn_Address

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

        public boolean hasMobileNotReachableReason()
        Tests whether the field mobileNotReachableReason has a value.
        Returns:
        whether the field mobileNotReachableReason has a value
      • hasSgsn_Address

        public boolean hasSgsn_Address()
        Tests whether the field sgsn-Address has a value.
        Returns:
        whether the field sgsn-Address has a value
      • setMobileNotReachableReason

        public MAPSendRoutingInfoForGprsRes setMobileNotReachableReason​(int value)
                                                                 throws IllegalStateException
        Sets the value of the field mobileNotReachableReason 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
      • setMobileNotReachableReasonPresent

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