Class MAPSubscriberLocationReport_Res

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSubscriberLocationReport_Res
    extends AbstractFieldsObject
    API for MAP-LCS-DataTypes.SubscriberLocationReport-Res. Generated from the following ASN.1 type definition.
     SubscriberLocationReport-Res ::=
         SEQUENCE {
             extensionContainer         ExtensionContainer OPTIONAL,
             ...
             na-ESRK                    ISDN-AddressString OPTIONAL, -- Added in R99.
             na-ESRD                    ISDN-AddressString OPTIONAL, -- Added in release 6.
             h-gmlc-Address             GSN-Address OPTIONAL,        -- Added in release 7.
             mo-lrShortCircuitIndicator NULL OPTIONAL,               -- Added in release 7.
             reportingPLMNList          ReportingPLMNList OPTIONAL,  -- Added in release 7.
             lcs-ReferenceNumber        LCS-ReferenceNumber OPTIONAL -- Added in release 7.
         }
     
    Added in R98. na-ESRK and na-ESRD are mutually exclusive. Exception handling: receipt of both na-ESRK and na-ESRD shall be treated the same as a return error.

    Used as result type by MAPOperations.subscriberLocationReport.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSubscriberLocationReport_Res

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

      • copyOf

        public static MAPSubscriberLocationReport_Res copyOf​(MAPSubscriberLocationReport_Res 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:
        MAPSubscriberLocationReport_Res
      • 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
      • getH_gmlc_Address

        public GSNAddress getH_gmlc_Address()
        Gets the value of the field h-gmlc-Address.
        Returns:
        value of field h-gmlc-Address, or null if not present
      • getLcs_ReferenceNumber

        public byte[] getLcs_ReferenceNumber()
        Gets the value of the field lcs-ReferenceNumber.
        Returns:
        value of field lcs-ReferenceNumber, or null if not present
      • getNa_ESRD

        public AddressString getNa_ESRD()
        Gets the value of the field na-ESRD.
        Returns:
        value of field na-ESRD, or null if not present
      • getNa_ESRK

        public AddressString getNa_ESRK()
        Gets the value of the field na-ESRK.
        Returns:
        value of field na-ESRK, or null if not present
      • getReportingPLMNList

        public MAPReportingPLMNList getReportingPLMNList()
        Gets the value of the field reportingPLMNList.
        Returns:
        value of field reportingPLMNList, 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
      • hasH_gmlc_Address

        public boolean hasH_gmlc_Address()
        Tests whether the field h-gmlc-Address has a value.
        Returns:
        whether the field h-gmlc-Address has a value
      • hasLcs_ReferenceNumber

        public boolean hasLcs_ReferenceNumber()
        Tests whether the field lcs-ReferenceNumber has a value.
        Returns:
        whether the field lcs-ReferenceNumber has a value
      • hasMo_lrShortCircuitIndicator

        public boolean hasMo_lrShortCircuitIndicator()
        Tests whether the field mo-lrShortCircuitIndicator is present.
        Returns:
        whether the field mo-lrShortCircuitIndicator is present
      • hasNa_ESRD

        public boolean hasNa_ESRD()
        Tests whether the field na-ESRD has a value.
        Returns:
        whether the field na-ESRD has a value
      • hasNa_ESRK

        public boolean hasNa_ESRK()
        Tests whether the field na-ESRK has a value.
        Returns:
        whether the field na-ESRK has a value
      • hasReportingPLMNList

        public boolean hasReportingPLMNList()
        Tests whether the field reportingPLMNList has a value.
        Returns:
        whether the field reportingPLMNList has a value
      • setMo_lrShortCircuitIndicatorPresent

        public MAPSubscriberLocationReport_Res setMo_lrShortCircuitIndicatorPresent​(boolean flag)
                                                                             throws IllegalStateException
        Sets the presence or absence of the optional field mo-lrShortCircuitIndicator.
        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