Class MaturityDatesSubjectInfo

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

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

    • MaturityDatesSubjectInfo

      public MaturityDatesSubjectInfo(String subject, String startDate, String currency, String year, String month)
      Creates a MaturityDatesSubjectInfo with the given parameters.
      Parameters:
      subject - the subject
      startDate - the start date
      currency - the currency
      year - the year
      month - the month
  • 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 MaturityDatesSubjectInfo.
      Returns:
      the startDate
    • getCurrency

      public String getCurrency()
      Returns the currency parsed to create this MaturityDatesSubjectInfo.
      Returns:
      the currency
    • getYear

      public String getYear()
      Returns the year parsed to create this MaturityDatesSubjectInfo.
      Returns:
      the year
    • getMonth

      public String getMonth()
      Returns the month parsed to create this MaturityDatesSubjectInfo.
      Returns:
      the month