Class SettlementDateSubjectInfo

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

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

    • SettlementDateSubjectInfo

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

      public SettlementDateSubjectInfo(String subject, String currencyPair, String year, String month, String parameters)
      Creates a SettlementDateSubjectInfo with the given parameters.
      Parameters:
      subject - The subject.
      currencyPair - The currency pair.
      year - The year.
      month - The month.
      parameters - Optional parameters for retrieving settlement 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 SettlementDateSubjectInfo.
      Returns:
      The currency pair.
    • getYear

      public String getYear()
      Returns the year that was parsed to create this SettlementDateSubjectInfo.
      Returns:
      The year.
    • getMonth

      public String getMonth()
      Returns the month that was parsed to create this SettlementDateSubjectInfo.
      Returns:
      The month.
    • getLocationType

      public LocationType getLocationType()