Class MaturityDatesSubjectInfo

  • All Implemented Interfaces:
    SubjectInfo
    Direct Known Subclasses:
    UserMaturityDatesSubjectInfo

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

      Constructors 
      Constructor Description
      MaturityDatesSubjectInfo​(java.lang.String subject, java.lang.String startDate, java.lang.String currency, java.lang.String year, java.lang.String month)
      Creates a MaturityDatesSubjectInfo with the given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCurrency()
      Returns the currency parsed to create this MaturityDatesSubjectInfo.
      java.lang.String getMonth()
      Returns the month parsed to create this MaturityDatesSubjectInfo.
      java.lang.String getStartDate()
      Returns the start date parsed to create this MaturityDatesSubjectInfo.
      java.lang.String getSubject()
      Returns the original subject that was parsed to create this SubjectInfo
      java.lang.String getYear()
      Returns the year parsed to create this MaturityDatesSubjectInfo.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaturityDatesSubjectInfo

        public MaturityDatesSubjectInfo​(java.lang.String subject,
                                        java.lang.String startDate,
                                        java.lang.String currency,
                                        java.lang.String year,
                                        java.lang.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 Detail

      • getSubject

        public java.lang.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 java.lang.String getStartDate()
        Returns the start date parsed to create this MaturityDatesSubjectInfo.
        Returns:
        the startDate
      • getCurrency

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

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

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