edu.cuny.cat.event
Class ShoutPostedEvent

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

public class ShoutPostedEvent
extends AuctionEvent
implements java.lang.Cloneable

An event that is fired to notify a subscriber that a shout is placed in an auction. It differs from ShoutPlacedEvent in the sense that the latter is used to notify a trader or a market that a shout by the trader is placed at the market.

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

Field Summary
protected  Shout shout
          The shout that led to this event.
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
ShoutPostedEvent(Shout shout)
           
 
Method Summary
 java.lang.Object clone()
           
 Shout getShout()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cuny.cat.event.AuctionEvent
getDay, getRound, getTick, getTime, notify, setTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shout

protected Shout shout
The shout that led to this event.

Constructor Detail

ShoutPostedEvent

public ShoutPostedEvent(Shout shout)
Method Detail

getShout

public Shout getShout()

clone

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

toString

public java.lang.String toString()
Overrides:
toString in class AuctionEvent