edu.cuny.cat.event
Class ShoutReceivedEvent
java.lang.Object
edu.cuny.cat.event.AuctionEvent
edu.cuny.cat.event.ShoutReceivedEvent
- All Implemented Interfaces:
- edu.cuny.event.Event<AuctionEventListener>, java.lang.Cloneable
public class ShoutReceivedEvent
- extends AuctionEvent
- implements java.lang.Cloneable
An event that is fired every time when a shout is received in a market (may
not be allowed to place eventually), in contrast to ShoutPlacedEvent
which
represents a shout that has been received and placed.
- Version:
- $Revision: 1.12 $
- Author:
- Jinzhong Niu
- See Also:
ShoutPlacedEvent
,
ShoutPostedEvent
Field Summary |
protected Shout |
shout
The shout that led to this event. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
shout
protected Shout shout
- The shout that led to this event.
ShoutReceivedEvent
public ShoutReceivedEvent(Shout shout)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
getShout
public Shout getShout()
toString
public java.lang.String toString()
- Overrides:
toString
in class AuctionEvent