Package com.caplin.motif.fx.trading
Class TradeSubjectInfo
- java.lang.Object
-
- com.caplin.motif.fx.trading.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 SubjectInfojava.lang.String
getTradeId()
java.lang.String
getUsername()
int
hashCode()
java.lang.String
toString()
-
-
-
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 interfaceSubjectInfo
- Returns:
- The original subject.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-