Interface TenorFixingDateProvider<T extends TenorDateSubjectInfo>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCaption​(T subjectInfo)
      Returns the caption for the currency pair provided in the subject info.
      void getFixingDatesForTenorDates​(T subjectInfo, java.util.Map<Tenor,​java.lang.String> tenorDates, Callback<java.util.Map<Tenor,​java.lang.String>> callback)
      Called by the API to provide fixing dates for tenors.
      boolean hasFixingDates​(T subjectInfo)
      Return true or false if the subject info, which also contains the currency pair, has fixing dates for that currency pair's tenor dates.
    • Method Detail

      • getFixingDatesForTenorDates

        void getFixingDatesForTenorDates​(T subjectInfo,
                                         java.util.Map<Tenor,​java.lang.String> tenorDates,
                                         Callback<java.util.Map<Tenor,​java.lang.String>> callback)
        Called by the API to provide fixing dates for tenors. Use the callback to provide a map of tenors to fixing dates.
        Parameters:
        subjectInfo - The subject info for the Tenor Dates request.
        tenorDates - The map of tenors to dates, provided earlier.
        callback - The callback, which should be called with a map of tenors to fixing dates.
      • hasFixingDates

        boolean hasFixingDates​(T subjectInfo)
        Return true or false if the subject info, which also contains the currency pair, has fixing dates for that currency pair's tenor dates.
        Parameters:
        subjectInfo - The subject info for a tenor date request.
        Returns:
        True if the there are fixing dates, False if there are no fixing dates.
      • getCaption

        java.lang.String getCaption​(T subjectInfo)
        Returns the caption for the currency pair provided in the subject info. The caption is the text that is to be displayed alongside currency pair
        Parameters:
        subjectInfo - The subject info for the tenor request.
        Returns:
        The caption for the currency pair provided in the subject info.