Class MAPLocationInfoWithLMSI

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    MAPLocationInfoWithLMSI_v3

    public class MAPLocationInfoWithLMSI
    extends AbstractFieldsObject
    API for MAP-SM-DataTypes-ph1.LocationInfoWithLMSI. Generated from the following ASN.1 type definition.
     LocationInfoWithLMSI ::=
         SEQUENCE {
             locationInfo LocationInfo,
             lMsId        LMSI OPTIONAL
         }
     
    Extracted from SendRoutingInfoForSMRes.locationOrForwarding.locationInfoWithLMSI SEQUENCE In ph1. Present in ph2.

    Used as field type by MAPLocationOrForwarding.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPLocationInfoWithLMSI

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

      • copyOf

        public static MAPLocationInfoWithLMSI 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
      • 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
      • getLMsId

        public LMSIAddress getLMsId()
        Gets the value of the field lMsId.
        Returns:
        value of field lMsId, or null if not present
      • getLocationInfo

        public MAPLocationInfo getLocationInfo()
        Gets the value of the field locationInfo.
        Returns:
        value of field locationInfo, or null if not present
      • hasLMsId

        public boolean hasLMsId()
        Tests whether the field lMsId has a value.
        Returns:
        whether the field lMsId has a value
      • hasLocationInfo

        public boolean hasLocationInfo()
        Tests whether the field locationInfo has a value.
        Returns:
        whether the field locationInfo has a value