haifa.shopsim
Class WillingRestStartedEvent

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

public class WillingRestStartedEvent
extends ShopChangeEvent

A ShopChangeEvent that siginifies that a machine started a willing rest.

Version:
1.1
See Also:
Serialized Form

Field Summary
private  int machineNumber
          The machine that finished the processing.
 
Fields inherited from class haifa.shopsim.ShopChangeEvent
time
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WillingRestStartedEvent(java.lang.Object source, double time, int machineNumber_)
          Constructor.
 
Method Summary
 int getMachineNumber()
          Returns the machineNumber of the machine that started to rest.
 java.lang.String toString()
          to String represtntation.
 
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

machineNumber

private int machineNumber
The machine that finished the processing.
Constructor Detail

WillingRestStartedEvent

public WillingRestStartedEvent(java.lang.Object source,
                               double time,
                               int machineNumber_)
Constructor.
Method Detail

toString

public java.lang.String toString()
to String represtntation.
Overrides:
toString in class ShopChangeEvent

getMachineNumber

public int getMachineNumber()
Returns the machineNumber of the machine that started to rest.