uk.ac.liv.auction.event
Class TransactionExecutedEvent

java.lang.Object
  extended byuk.ac.liv.auction.event.AuctionEvent
      extended byuk.ac.liv.auction.event.TransactionExecutedEvent

public class TransactionExecutedEvent
extends AuctionEvent

Version:
$Revision: 1.2 $
Author:
Steve Phelps

Field Summary
protected  Shout ask
           
protected  Shout bid
           
protected  double price
           
protected  int quantity
           
protected  int time
           
 
Fields inherited from class uk.ac.liv.auction.event.AuctionEvent
auction
 
Constructor Summary
TransactionExecutedEvent(Auction auction, int time, Shout ask, Shout bid, double price, int quantity)
           
 
Method Summary
 Shout getAsk()
           
 Shout getBid()
           
 double getPrice()
           
 int getQuantity()
           
 int getTime()
           
 
Methods inherited from class uk.ac.liv.auction.event.AuctionEvent
getAuction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected int time

ask

protected Shout ask

bid

protected Shout bid

price

protected double price

quantity

protected int quantity
Constructor Detail

TransactionExecutedEvent

public TransactionExecutedEvent(Auction auction,
                                int time,
                                Shout ask,
                                Shout bid,
                                double price,
                                int quantity)
Method Detail

getAsk

public Shout getAsk()

getBid

public Shout getBid()

getPrice

public double getPrice()

getQuantity

public int getQuantity()

getTime

public int getTime()