Class StartDatesSubjectInfo

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

public class StartDatesSubjectInfo extends Object implements SubjectInfo
Class representation of the fields parsed from an Start Dates Subject.
  • Constructor Details

    • StartDatesSubjectInfo

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

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

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

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