de.upb.swtpra05.group03.shuttle
Class RepairShuttleTask

java.lang.Object
  extended byde.upb.swtpra05.group03.shuttle.Task
      extended byde.upb.swtpra05.group03.shuttle.RepairShuttleTask

public class RepairShuttleTask
extends Task

Description of the Class

Version:
$Revision: 1.3 $

Field Summary
 
Fields inherited from class de.upb.swtpra05.group03.shuttle.Task
active, costs, duration, executed, orderId, stationId
 
Constructor Summary
RepairShuttleTask(int cost, int duration, int stationId)
          Constructor for the RepairShuttleTask object
 
Method Summary
 de.upb.swtpra.kernel.message.Message execute(de.upb.swtpra.kernel.id.ID sender, de.upb.swtpra.kernel.id.ID receiver)
          Description of the Method
 java.lang.String toString()
          Description of the Method
 java.util.Vector toStringVector()
          Description of the Method
 
Methods inherited from class de.upb.swtpra05.group03.shuttle.Task
getCosts, getDuration, getOrderId, getStationId, isActive, isExecuted, setActive, setCosts, setDuration, setExecuted, setOrderId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepairShuttleTask

public RepairShuttleTask(int cost,
                         int duration,
                         int stationId)
Constructor for the RepairShuttleTask object

Parameters:
cost - Description of the Parameter
duration - Description of the Parameter
stationId - Description of the Parameter
Method Detail

execute

public de.upb.swtpra.kernel.message.Message execute(de.upb.swtpra.kernel.id.ID sender,
                                                    de.upb.swtpra.kernel.id.ID receiver)
Description of the Method

Specified by:
execute in class Task
Parameters:
sender - Description of the Parameter
receiver - Description of the Parameter
Returns:
Description of the Return Value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class Task
Returns:
Description of the Return Value

toStringVector

public java.util.Vector toStringVector()
Description of the Method

Overrides:
toStringVector in class Task
Returns:
Description of the Return Value