Class MAPRoutingInfoForSM_Arg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPRoutingInfoForSM_Arg
    extends MAPSendRoutingInfoForSMArg
    API for MAP-SM-DataTypes.RoutingInfoForSM-Arg. Generated from the following ASN.1 type definition and the adaptations below.
     RoutingInfoForSM-Arg ::=
         SEQUENCE {
             msisdn                    ISDN-AddressString,              -- Renamed from msIsdn between ph1 and ph2.
             sm-RP-PRI                 BOOLEAN,
             serviceCentreAddress      AddressString,
             extensionContainer        ExtensionContainer OPTIONAL,     -- Added in R96.
             ...
             gprsSupportIndicator      NULL OPTIONAL,                   -- Added in R97.  gprsSupportIndicator is set only if the SMS-GMSC supports receiving of two numbers from the HLR.
             sm-RP-MTI                 SM-RP-MTI OPTIONAL,              -- Added in R97.
             sm-RP-SMEA                SM-RP-SMEA OPTIONAL,             -- Added in R97.
             sm-deliveryNotIntended    SM-DeliveryNotIntended OPTIONAL, -- Added in release 8.
             ip-sm-gwGuidanceIndicator NULL OPTIONAL                    -- Added in release 10.
         }
     MAP-SM-DataTypes {
         RoutingInfoForSM-Arg {
             @parentASN1Type MAP-SM-DataTypes-ph1.SendRoutingInfoForSMArg
         }
     }
     
    Extended in ph2. Note that the parent's fields cug-Interlock and teleserviceCode are for use only in -v1 contexts.

    Used as argument type by MAPOperations.sendRoutingInfoForSM_v3.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPRoutingInfoForSM_Arg

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

      • copyOf

        public static MAPRoutingInfoForSM_Arg copyOf​(MAPSendRoutingInfoForSMArg 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:
        MAPRoutingInfoForSM_Arg
      • 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 MAPSendRoutingInfoForSMArg
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getSm_RP_MTI

        public int getSm_RP_MTI()
        Gets the value of the field sm-RP-MTI.
        Returns:
        value of field sm-RP-MTI
      • getSm_RP_SMEA

        public byte[] getSm_RP_SMEA()
        Gets the value of the field sm-RP-SMEA.
        Returns:
        value of field sm-RP-SMEA, or null if not present
      • getSm_deliveryNotIntended

        public MAPSM_DeliveryNotIntended getSm_deliveryNotIntended()
        Gets the value of the field sm-deliveryNotIntended.
        Returns:
        value of field sm-deliveryNotIntended, 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
      • hasGprsSupportIndicator

        public boolean hasGprsSupportIndicator()
        Tests whether the field gprsSupportIndicator is present.
        Returns:
        whether the field gprsSupportIndicator is present
      • hasIp_sm_gwGuidanceIndicator

        public boolean hasIp_sm_gwGuidanceIndicator()
        Tests whether the field ip-sm-gwGuidanceIndicator is present.
        Returns:
        whether the field ip-sm-gwGuidanceIndicator is present
      • hasSm_RP_MTI

        public boolean hasSm_RP_MTI()
        Tests whether the field sm-RP-MTI has a value.
        Returns:
        whether the field sm-RP-MTI has a value
      • hasSm_RP_SMEA

        public boolean hasSm_RP_SMEA()
        Tests whether the field sm-RP-SMEA has a value.
        Returns:
        whether the field sm-RP-SMEA has a value
      • hasSm_deliveryNotIntended

        public boolean hasSm_deliveryNotIntended()
        Tests whether the field sm-deliveryNotIntended has a value.
        Returns:
        whether the field sm-deliveryNotIntended has a value
      • setGprsSupportIndicatorPresent

        public MAPRoutingInfoForSM_Arg setGprsSupportIndicatorPresent​(boolean flag)
                                                               throws IllegalStateException
        Sets the presence or absence of the optional field gprsSupportIndicator.
        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
      • setIp_sm_gwGuidanceIndicatorPresent

        public MAPRoutingInfoForSM_Arg setIp_sm_gwGuidanceIndicatorPresent​(boolean flag)
                                                                    throws IllegalStateException
        Sets the presence or absence of the optional field ip-sm-gwGuidanceIndicator.
        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
      • setSm_RP_MTIPresent

        public MAPRoutingInfoForSM_Arg setSm_RP_MTIPresent​(boolean flag)
                                                    throws IllegalStateException
        Sets the presence or absence of the optional field sm-RP-MTI.
        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
      • setSm_RP_SMEA

        public MAPRoutingInfoForSM_Arg setSm_RP_SMEA​(byte[] value)
                                              throws IllegalStateException
        Sets the value of the field sm-RP-SMEA. 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