Class MaturityTenorDatesSubjectInfo

java.lang.Object
com.caplin.motif.mm.calendar.MaturityTenorDatesSubjectInfo
All Implemented Interfaces:
SubjectInfo
Direct Known Subclasses:
UserMaturityTenorDatesSubjectInfo

public class MaturityTenorDatesSubjectInfo extends Object implements SubjectInfo
Class representation of the fields parsed from a Maturity Tenor Dates Subject.
  • Constructor Details

    • MaturityTenorDatesSubjectInfo

      public MaturityTenorDatesSubjectInfo(String subject, String startDate, String currency)
      Creates a UserMaturityTenorDatesSubjectInfo with the given parameters.
      Parameters:
      subject - the subject
      startDate - the start date
      currency - the currency
  • Method Details

    • getSubject

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

      public String getStartDate()
      Returns the start date parsed to create this MaturityTenorDatesSubjectInfo.
      Returns:
      the startDate
    • getCurrency

      public String getCurrency()
      Returns the currency parsed to create this MaturityTenorDatesSubjectInfo.
      Returns:
      the currency