com.shimari.fxtp
Class FXTP_Tick

java.lang.Object
  extended bycom.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)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 FXTP_UserId getBuyer()
           
 java.util.Date getDate()
           
 int getLastPrice()
           
 int getPairs()
           
 int getPeople()
           
 int getPrice()
           
 int getQuantity()
           
 FXTP_UserId getSeller()
           
 java.lang.String getSymbol()
           
 int hashCode()
           
 void setLastPrice(int lastPrice)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()