edu.cuny.cat.event
Class SubscriptionEvent

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

public class SubscriptionEvent
extends AuctionEvent
implements java.lang.Cloneable

An event notifying of the subscription of a trader/specialist to the information on activities at a specialist.

Version:
$Revision: 1.10 $
Author:
Jinzhong Niu

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

subscriberId

protected java.lang.String subscriberId

specialistId

protected java.lang.String specialistId
Constructor Detail

SubscriptionEvent

public SubscriptionEvent(java.lang.String subscriberId,
                         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

getSubscriberId

public java.lang.String getSubscriberId()

getSpecialistId

public java.lang.String getSpecialistId()

toString

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