edu.cuny.cat.event
Class TransactionPostedEvent

java.lang.Object
  extended by edu.cuny.cat.event.AuctionEvent
      extended by edu.cuny.cat.event.TransactionPostedEvent
All Implemented Interfaces:
edu.cuny.event.Event<AuctionEventListener>, java.lang.Cloneable

public class TransactionPostedEvent
extends AuctionEvent
implements java.lang.Cloneable

An event that is fired to notify subscribers of a transaction. In contrast, TransactionExecutedEvent is used to tell a market that a transaction is made in the market.

Version:
$Revision: 1.2 $
Author:
Jinzhong Niu
See Also:
TransactionExecutedEvent

Field Summary
protected  Transaction transaction
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
TransactionPostedEvent(Transaction transaction)
           
 
Method Summary
 java.lang.Object clone()
           
 Transaction getTransaction()
           
 
Methods inherited from class edu.cuny.cat.event.AuctionEvent
getDay, getRound, getTick, getTime, notify, setTime, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

transaction

protected Transaction transaction
Constructor Detail

TransactionPostedEvent

public TransactionPostedEvent(Transaction transaction)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getTransaction

public Transaction getTransaction()