Class MAPSubscriberInfo

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSubscriberInfo
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.SubscriberInfo. Generated from the following ASN.1 type definition.
     SubscriberInfo ::=
         SEQUENCE {
             locationInformation               LocationInformation OPTIONAL,
             subscriberState                   SubscriberState OPTIONAL,
             extensionContainer                ExtensionContainer OPTIONAL,
             ...
             locationInformationGPRS           LocationInformationGPRS OPTIONAL,    -- Added in release 5.
             ps-SubscriberState                PS-SubscriberState OPTIONAL,         -- Added in release 5.
             imei                              IMEI OPTIONAL,                       -- Added in release 5.
             ms-Classmark2                     MS-Classmark2 OPTIONAL,              -- Added in release 5.
             gprs-MS-Class                     GPRSMSClass OPTIONAL,                -- Added in release 5.
             mnpInfoRes                        MNPInfoRes OPTIONAL,                 -- Added in release 5.
             imsVoiceOverPS-SessionsIndication IMS-VoiceOverPS-SessionsInd OPTIONAL, -- Added in release 9.
             lastUE-ActivityTime               Time OPTIONAL,                       -- Added in release 9.
             lastRAT-Type                      Used-RAT-Type OPTIONAL,              -- Added in release 9.
             eps-SubscriberState               PS-SubscriberState OPTIONAL,         -- Added in release 9.
             locationInformationEPS            LocationInformationEPS OPTIONAL      -- Added in release 9.
         }
     
    Added in R96. If the HLR receives locationInformation, subscriberState or ms-Classmark2 from an SGSN it shall discard them. If the HLR receives locationInformationGPRS, ps-SubscriberState or gprs-MS-Class from a VLR it shall discard them. If the HLR receives parameters which it has not requested, it shall discard them.

    Used as field type by MAPSendRoutingInfoRes_v3.

    Used as field type by MAPProvideSubscriberInfoRes.

    Used as field type by MAPAnyTimeInterrogationRes.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSubscriberInfo

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

      • copyOf

        public static MAPSubscriberInfo copyOf​(MAPSubscriberInfo 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:
        MAPSubscriberInfo
      • getEps_SubscriberState

        public MAPPS_SubscriberState getEps_SubscriberState()
        Gets the value of the field eps-SubscriberState.
        Returns:
        value of field eps-SubscriberState, 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
      • getGprs_MS_Class

        public MAPGPRSMSClass getGprs_MS_Class()
        Gets the value of the field gprs-MS-Class.
        Returns:
        value of field gprs-MS-Class, or null if not present
      • getImei

        public IMEIAddress getImei()
        Gets the value of the field imei.
        Returns:
        value of field imei, or null if not present
      • getImsVoiceOverPS_SessionsIndication

        public MAPIMS_VoiceOverPS_SessionsInd getImsVoiceOverPS_SessionsIndication()
        Gets the value of the field imsVoiceOverPS-SessionsIndication.
        Returns:
        value of field imsVoiceOverPS-SessionsIndication, or null if not present
      • getLastRAT_Type

        public MAPUsed_RAT_Type getLastRAT_Type()
        Gets the value of the field lastRAT-Type.
        Returns:
        value of field lastRAT-Type, or null if not present
      • getLastUE_ActivityTime

        public byte[] getLastUE_ActivityTime()
        Gets the value of the field lastUE-ActivityTime.
        Returns:
        value of field lastUE-ActivityTime, or null if not present
      • getLocationInformation

        public MAPLocationInformation getLocationInformation()
        Gets the value of the field locationInformation.
        Returns:
        value of field locationInformation, or null if not present
      • getLocationInformationEPS

        public MAPLocationInformationEPS getLocationInformationEPS()
        Gets the value of the field locationInformationEPS.
        Returns:
        value of field locationInformationEPS, or null if not present
      • getLocationInformationGPRS

        public MAPLocationInformationGPRS getLocationInformationGPRS()
        Gets the value of the field locationInformationGPRS.
        Returns:
        value of field locationInformationGPRS, or null if not present
      • getMnpInfoRes

        public MAPMNPInfoRes getMnpInfoRes()
        Gets the value of the field mnpInfoRes.
        Returns:
        value of field mnpInfoRes, or null if not present
      • getMs_Classmark2

        public byte[] getMs_Classmark2()
        Gets the value of the field ms-Classmark2.
        Returns:
        value of field ms-Classmark2, or null if not present
      • getPs_SubscriberState

        public MAPPS_SubscriberState getPs_SubscriberState()
        Gets the value of the field ps-SubscriberState.
        Returns:
        value of field ps-SubscriberState, or null if not present
      • getSubscriberState

        public MAPSubscriberState getSubscriberState()
        Gets the value of the field subscriberState.
        Returns:
        value of field subscriberState, or null if not present
      • hasEps_SubscriberState

        public boolean hasEps_SubscriberState()
        Tests whether the field eps-SubscriberState has a value.
        Returns:
        whether the field eps-SubscriberState has a value
      • hasExtensionContainer

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

        public boolean hasGprs_MS_Class()
        Tests whether the field gprs-MS-Class has a value.
        Returns:
        whether the field gprs-MS-Class has a value
      • hasImei

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

        public boolean hasImsVoiceOverPS_SessionsIndication()
        Tests whether the field imsVoiceOverPS-SessionsIndication has a value.
        Returns:
        whether the field imsVoiceOverPS-SessionsIndication has a value
      • hasLastRAT_Type

        public boolean hasLastRAT_Type()
        Tests whether the field lastRAT-Type has a value.
        Returns:
        whether the field lastRAT-Type has a value
      • hasLastUE_ActivityTime

        public boolean hasLastUE_ActivityTime()
        Tests whether the field lastUE-ActivityTime has a value.
        Returns:
        whether the field lastUE-ActivityTime has a value
      • hasLocationInformation

        public boolean hasLocationInformation()
        Tests whether the field locationInformation has a value.
        Returns:
        whether the field locationInformation has a value
      • hasLocationInformationEPS

        public boolean hasLocationInformationEPS()
        Tests whether the field locationInformationEPS has a value.
        Returns:
        whether the field locationInformationEPS has a value
      • hasLocationInformationGPRS

        public boolean hasLocationInformationGPRS()
        Tests whether the field locationInformationGPRS has a value.
        Returns:
        whether the field locationInformationGPRS has a value
      • hasMnpInfoRes

        public boolean hasMnpInfoRes()
        Tests whether the field mnpInfoRes has a value.
        Returns:
        whether the field mnpInfoRes has a value
      • hasMs_Classmark2

        public boolean hasMs_Classmark2()
        Tests whether the field ms-Classmark2 has a value.
        Returns:
        whether the field ms-Classmark2 has a value
      • hasPs_SubscriberState

        public boolean hasPs_SubscriberState()
        Tests whether the field ps-SubscriberState has a value.
        Returns:
        whether the field ps-SubscriberState has a value
      • hasSubscriberState

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

        public MAPSubscriberInfo setLastUE_ActivityTime​(byte[] value)
                                                 throws IllegalStateException
        Sets the value of the field lastUE-ActivityTime. 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
      • setMs_Classmark2

        public MAPSubscriberInfo setMs_Classmark2​(byte[] value)
                                           throws IllegalStateException
        Sets the value of the field ms-Classmark2. 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