visidia.simulation.evtack
Class VisidiaEvent

java.lang.Object
  extended by visidia.simulation.evtack.VisidiaEvent
All Implemented Interfaces:
java.io.Serializable

public class VisidiaEvent
extends java.lang.Object
implements java.io.Serializable

This class corresponds to a simulation event.

See Also:
Serialized Form

Constructor Summary
VisidiaEvent(java.lang.Long lockId, Command command, Console console)
          Instantiates a new event.
 
Method Summary
 Command getCommand()
          Gets the command.
 Console getConsole()
          Gets the console.
 java.lang.Long getLockId()
          Gets the lock id.
 void setConsole(Console console)
          Sets the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisidiaEvent

public VisidiaEvent(java.lang.Long lockId,
                    Command command,
                    Console console)
Instantiates a new event.

Parameters:
lockId - the lock id
command - the command
console - the console
Method Detail

getLockId

public java.lang.Long getLockId()
Gets the lock id.

Returns:
the lock id

getCommand

public Command getCommand()
Gets the command.

Returns:
the command

getConsole

public Console getConsole()
Gets the console.

Returns:
the console

setConsole

public void setConsole(Console console)
Sets the console.

Parameters:
console - the new console