Class MAPRequestedInfo

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPRequestedInfo
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.RequestedInfo. Generated from the following ASN.1 type definition.
     RequestedInfo ::=
         SEQUENCE {
             locationInformation NULL OPTIONAL,
             subscriberState     NULL OPTIONAL,
             extensionContainer  ExtensionContainer OPTIONAL,
             ...
             currentLocation     NULL OPTIONAL,               -- Added in R99.
             requestedDomain     DomainType OPTIONAL,         -- Added in release 5.
             imei                NULL OPTIONAL,               -- Added in release 5.
             ms-classmark        NULL OPTIONAL,               -- Added in release 5.
             mnpRequestedInfo    NULL OPTIONAL,               -- Added in release 5.
             t-adsData           NULL OPTIONAL,               -- Added in release 9.
             requestedNodes      RequestedNodes OPTIONAL      -- Added in release 9.
         }
     
    Added in R96. currentLocation shall be absent if locationInformation is absent. t-adsData shall be absent in messages sent to the VLR. requestedNodes shall be absent if requestedDomain is 'cs-Domain'.

    Used as field type by MAPProvideSubscriberInfoArg.

    Used as field type by MAPAnyTimeInterrogationArg.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPRequestedInfo

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

      • copyOf

        public static MAPRequestedInfo copyOf​(MAPRequestedInfo 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:
        MAPRequestedInfo
      • 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
      • getRequestedDomain

        public MAPDomainType getRequestedDomain()
        Gets the value of the field requestedDomain.
        Returns:
        value of field requestedDomain, or null if not present
      • getRequestedNodes

        public MAPRequestedNodes getRequestedNodes()
        Gets the value of the field requestedNodes.
        Returns:
        value of field requestedNodes, or null if not present
      • hasCurrentLocation

        public boolean hasCurrentLocation()
        Tests whether the field currentLocation is present.
        Returns:
        whether the field currentLocation is present
      • hasExtensionContainer

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

        public boolean hasImei()
        Tests whether the field imei is present.
        Returns:
        whether the field imei is present
      • hasLocationInformation

        public boolean hasLocationInformation()
        Tests whether the field locationInformation is present.
        Returns:
        whether the field locationInformation is present
      • hasMnpRequestedInfo

        public boolean hasMnpRequestedInfo()
        Tests whether the field mnpRequestedInfo is present.
        Returns:
        whether the field mnpRequestedInfo is present
      • hasMs_classmark

        public boolean hasMs_classmark()
        Tests whether the field ms-classmark is present.
        Returns:
        whether the field ms-classmark is present
      • hasRequestedDomain

        public boolean hasRequestedDomain()
        Tests whether the field requestedDomain has a value.
        Returns:
        whether the field requestedDomain has a value
      • hasRequestedNodes

        public boolean hasRequestedNodes()
        Tests whether the field requestedNodes has a value.
        Returns:
        whether the field requestedNodes has a value
      • hasSubscriberState

        public boolean hasSubscriberState()
        Tests whether the field subscriberState is present.
        Returns:
        whether the field subscriberState is present
      • hasT_adsData

        public boolean hasT_adsData()
        Tests whether the field t-adsData is present.
        Returns:
        whether the field t-adsData is present
      • setCurrentLocationPresent

        public MAPRequestedInfo setCurrentLocationPresent​(boolean flag)
                                                   throws IllegalStateException
        Sets the presence or absence of the optional field currentLocation.
        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
      • setImeiPresent

        public MAPRequestedInfo setImeiPresent​(boolean flag)
                                        throws IllegalStateException
        Sets the presence or absence of the optional field imei.
        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
      • setLocationInformationPresent

        public MAPRequestedInfo setLocationInformationPresent​(boolean flag)
                                                       throws IllegalStateException
        Sets the presence or absence of the optional field locationInformation.
        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
      • setMnpRequestedInfoPresent

        public MAPRequestedInfo setMnpRequestedInfoPresent​(boolean flag)
                                                    throws IllegalStateException
        Sets the presence or absence of the optional field mnpRequestedInfo.
        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
      • setMs_classmarkPresent

        public MAPRequestedInfo setMs_classmarkPresent​(boolean flag)
                                                throws IllegalStateException
        Sets the presence or absence of the optional field ms-classmark.
        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
      • setSubscriberStatePresent

        public MAPRequestedInfo setSubscriberStatePresent​(boolean flag)
                                                   throws IllegalStateException
        Sets the presence or absence of the optional field subscriberState.
        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
      • setT_adsDataPresent

        public MAPRequestedInfo setT_adsDataPresent​(boolean flag)
                                             throws IllegalStateException
        Sets the presence or absence of the optional field t-adsData.
        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