Class TenorDateSubjectInfo

java.lang.Object
com.caplin.motif.datasource.SubjectInfoWithParams
com.caplin.motif.fx.calendar.TenorDateSubjectInfo
All Implemented Interfaces:
SubjectInfo
Direct Known Subclasses:
UserTenorDateSubjectInfo

public class TenorDateSubjectInfo extends SubjectInfoWithParams
A class representing the fields parsed from a tenor date subject.
  • Constructor Details

    • TenorDateSubjectInfo

      public TenorDateSubjectInfo(String subject, String currencyPair)
      Creates a TenorDateSubjectInfo with the given parameters.
      Parameters:
      subject - The subject.
      currencyPair - The currency pair.
    • TenorDateSubjectInfo

      public TenorDateSubjectInfo(String subject, String currencyPair, String parameters)
      Creates a TenorDateSubjectInfo with the given parameters.
      Parameters:
      subject - The subject.
      currencyPair - The currency pair.
      parameters - Optional parameters for retrieving tenor dates
  • Method Details

    • getSubject

      public String getSubject()
      Description copied from interface: SubjectInfo
      Returns the original subject that was parsed to create this SubjectInfo
      Returns:
      The original subject.
    • getCurrencyPair

      public String getCurrencyPair()
      Returns the currency pair that was parsed to create this TenorDateSubjectInfo
      Returns:
      The currency pair.
    • getLocationType

      public LocationType getLocationType()