Class StartTenorDatesSubjectInfo

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

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

    • StartTenorDatesSubjectInfo

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

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