com.shimari.fxtp
Class FXTP_Tick
java.lang.Object
com.shimari.fxtp.FXTP_Tick
- All Implemented Interfaces:
- java.lang.Comparable
- public class FXTP_Tick
- extends java.lang.Object
- implements java.lang.Comparable
A bean representing a transaction on ideosphere--someone sold
something to someone else at a particular moment in time. It
should be a subclass of FXTP_Position but isn't currently.
Constructor Summary |
FXTP_Tick(java.lang.String symbol,
java.util.Date date,
FXTP_UserId seller,
FXTP_UserId buyer,
int quantity,
int price,
int people,
int pairs)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FXTP_Tick
public FXTP_Tick(java.lang.String symbol,
java.util.Date date,
FXTP_UserId seller,
FXTP_UserId buyer,
int quantity,
int price,
int people,
int pairs)
equals
public boolean equals(java.lang.Object o)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
hashCode
public int hashCode()
toString
public java.lang.String toString()
getSymbol
public java.lang.String getSymbol()
getDate
public java.util.Date getDate()
getSeller
public FXTP_UserId getSeller()
getBuyer
public FXTP_UserId getBuyer()
getQuantity
public int getQuantity()
getPeople
public int getPeople()
getPrice
public int getPrice()
getLastPrice
public int getLastPrice()
setLastPrice
public void setLastPrice(int lastPrice)
getPairs
public int getPairs()