haifa.shopsim
Class JobFinishedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--haifa.shopsim.ShopChangeEvent
              |
              +--haifa.shopsim.JobFinishedEvent
All Implemented Interfaces:
java.io.Serializable

public class JobFinishedEvent
extends ShopChangeEvent

Signifies that a job finished it's processing in the job shop.

Version:
1.1
See Also:
Serialized Form

Field Summary
private  int routeNumber
          The route on which the job finished.
 
Fields inherited from class haifa.shopsim.ShopChangeEvent
time
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JobFinishedEvent(java.lang.Object source, double time, int routeNumber_)
          Constructor.
 
Method Summary
 int getRouteNumber()
           
 java.lang.String toString()
          Returns time.
 
Methods inherited from class haifa.shopsim.ShopChangeEvent
getTime
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

routeNumber

private int routeNumber
The route on which the job finished.
Constructor Detail

JobFinishedEvent

public JobFinishedEvent(java.lang.Object source,
                        double time,
                        int routeNumber_)
Constructor.
Method Detail

toString

public java.lang.String toString()
Description copied from class: ShopChangeEvent
Returns time.
Overrides:
toString in class ShopChangeEvent

getRouteNumber

public int getRouteNumber()