com.shimari.fxtp
Class FXTP_Claim

java.lang.Object
  extended bycom.shimari.fxtp.FXTP_Book
      extended bycom.shimari.fxtp.FXTP_Claim

public class FXTP_Claim
extends FXTP_Book

A Bean representing a claim on FX


Constructor Summary
FXTP_Claim(java.lang.String symbol, java.lang.String description, int bid, int ask, int last, int people, int pairs, int status, java.util.List bids, java.util.List asks)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getAsk()
           
 java.lang.String getAskQueue(int size)
           
 double getAverageAsk(FXTP_UserId exclude, double cost)
           
 double getAverageBid(FXTP_UserId exclude, double cost)
           
 double getAveragePrice(FXTP_UserId exclude, double cost)
           
 int getBid()
           
 java.lang.String getBidQueue(int size)
           
 java.lang.String getDescription()
           
 int getLast()
           
 int getPairs()
           
 int getPeople()
           
 double getSpread(FXTP_UserId exclude, double cost)
           
 java.lang.String getStatus()
           
 java.lang.String getSymbol()
           
 int hashCode()
           
 boolean isActive()
           
 java.lang.String toString()
           
 
Methods inherited from class com.shimari.fxtp.FXTP_Book
getAsks, getBids, getBook
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FXTP_Claim

public FXTP_Claim(java.lang.String symbol,
                  java.lang.String description,
                  int bid,
                  int ask,
                  int last,
                  int people,
                  int pairs,
                  int status,
                  java.util.List bids,
                  java.util.List asks)
Method Detail

isActive

public boolean isActive()

getSymbol

public java.lang.String getSymbol()

getDescription

public java.lang.String getDescription()

getBid

public int getBid()

getAsk

public int getAsk()

getLast

public int getLast()

getPairs

public int getPairs()

getPeople

public int getPeople()

getAverageBid

public double getAverageBid(FXTP_UserId exclude,
                            double cost)

getAverageAsk

public double getAverageAsk(FXTP_UserId exclude,
                            double cost)

getAveragePrice

public double getAveragePrice(FXTP_UserId exclude,
                              double cost)

getSpread

public double getSpread(FXTP_UserId exclude,
                        double cost)

getStatus

public java.lang.String getStatus()

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getBidQueue

public java.lang.String getBidQueue(int size)

getAskQueue

public java.lang.String getAskQueue(int size)