edu.cuny.cat.event
Class RegistrationEvent

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

public class RegistrationEvent
extends AuctionEvent
implements java.lang.Cloneable

An event notifying the registration of a trader with a specialist.

Version:
$Revision: 1.9 $
Author:
Kai Cai

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

specialistId

protected java.lang.String specialistId
Constructor Detail

RegistrationEvent

public RegistrationEvent(java.lang.String traderId,
                         java.lang.String specialistId)
Method Detail

clone

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

getTraderId

public java.lang.String getTraderId()

getSpecialistId

public java.lang.String getSpecialistId()

toString

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