Class MAPLocationInfoWithLMSI_v3

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPLocationInfoWithLMSI_v3
    extends MAPLocationInfoWithLMSI
    API for MAP-SM-DataTypes.LocationInfoWithLMSI-v3. Generated from the following ASN.1 type definition and the adaptations below.
     LocationInfoWithLMSI-v3 ::=
         SEQUENCE {
             locationInfo       LocationInfo-v3,             -- Synthetic type used to maintain API compatibility with ph1 messages, contains msc-Number only.
             lmsi               LMSI OPTIONAL,
             extensionContainer ExtensionContainer OPTIONAL, -- Added in R96.
             ...
             gprsNodeIndicator  NULL OPTIONAL,               -- Added in R97.
             additional-Number  Additional-Number OPTIONAL   -- Added in R97.
         }
     MAP-SM-DataTypes {
         LocationInfoWithLMSI-v3 {
             @parentASN1Type MAP-SM-DataTypes-ph1.LocationInfoWithLMSI
         }
     }
     
    Added in ph2. NetworkNode-number can be either msc-number or sgsn-number or IP-SM-GW number or SMS Router number. gprsNodeIndicator is set only if the SGSN number is sent as the Network Node Number. additional-number can be either msc-number or sgsn-number. If received networkNode-number is msc-number then the additional number is sgsn-number. If received networkNode-number is sgsn-number then the additional number is msc-number.
    See Also:
    Serialized Form
    • Constructor Detail

      • MAPLocationInfoWithLMSI_v3

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

      • copyOf

        public static MAPLocationInfoWithLMSI_v3 copyOf​(MAPLocationInfoWithLMSI 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:
        MAPLocationInfoWithLMSI_v3
      • getAdditional_Number

        public MAPAdditional_Number getAdditional_Number()
        Gets the value of the field additional-Number.
        Returns:
        value of field additional-Number, 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.
        Overrides:
        getFieldsMap in class MAPLocationInfoWithLMSI
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getLmsi

        public LMSIAddress getLmsi()
        Gets the value of the field lmsi.
        Returns:
        value of field lmsi, or null if not present
      • hasAdditional_Number

        public boolean hasAdditional_Number()
        Tests whether the field additional-Number has a value.
        Returns:
        whether the field additional-Number has a value
      • hasExtensionContainer

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

        public boolean hasGprsNodeIndicator()
        Tests whether the field gprsNodeIndicator is present.
        Returns:
        whether the field gprsNodeIndicator is present
      • hasLmsi

        public boolean hasLmsi()
        Tests whether the field lmsi has a value.
        Returns:
        whether the field lmsi has a value
      • setGprsNodeIndicatorPresent

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