edu.cuny.cat.event
Class PrivateValueAssignedEvent

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

public class PrivateValueAssignedEvent
extends AuctionEvent
implements java.lang.Cloneable

An event announcing the list of private values for the specified trader.

Version:
$Revision: 1.10 $
Author:
Kai Cai

Field Summary
protected  double privateValue
           
protected  java.lang.String traderId
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
PrivateValueAssignedEvent(java.lang.String traderId, double privateValue)
           
 
Method Summary
 java.lang.Object clone()
           
 double getPrivateValue()
           
 java.lang.String getTraderId()
           
 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

traderId

protected java.lang.String traderId

privateValue

protected double privateValue
Constructor Detail

PrivateValueAssignedEvent

public PrivateValueAssignedEvent(java.lang.String traderId,
                                 double privateValue)
Method Detail

getTraderId

public java.lang.String getTraderId()

getPrivateValue

public double getPrivateValue()

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