Class TradeSubjectInfo

  • All Implemented Interfaces:
    SubjectInfo

    public class TradeSubjectInfo
    extends java.lang.Object
    implements SubjectInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      TradeSubjectInfo​(java.lang.String subject, java.lang.String username, java.lang.String tradeId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getSubject()
      Returns the original subject that was parsed to create this SubjectInfo
      java.lang.String getTradeId()  
      java.lang.String getUsername()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TradeSubjectInfo

        public TradeSubjectInfo​(java.lang.String subject,
                                java.lang.String username,
                                java.lang.String tradeId)
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
      • getTradeId

        public java.lang.String getTradeId()
      • 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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object