Class TenorDateSubjectInfo

  • All Implemented Interfaces:
    SubjectInfo
    Direct Known Subclasses:
    UserTenorDateSubjectInfo

    public class TenorDateSubjectInfo
    extends java.lang.Object
    implements SubjectInfo
    A class representing the fields parsed from a tenor date subject.
    • Constructor Summary

      Constructors 
      Constructor Description
      TenorDateSubjectInfo​(java.lang.String subject, java.lang.String currencyPair)
      Creates a TenorDateSubjectInfo with the given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCurrencyPair()
      Returns the currency pair that was parsed to create this TenorDateSubjectInfo
      java.lang.String getSubject()
      Returns the original subject that was parsed to create this SubjectInfo
      • Methods inherited from class java.lang.Object

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

      • TenorDateSubjectInfo

        public TenorDateSubjectInfo​(java.lang.String subject,
                                    java.lang.String currencyPair)
        Creates a TenorDateSubjectInfo with the given parameters.
        Parameters:
        subject - The subject.
        currencyPair - The currency pair.
    • 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.
      • getCurrencyPair

        public java.lang.String getCurrencyPair()
        Returns the currency pair that was parsed to create this TenorDateSubjectInfo
        Returns:
        The currency pair.