net.sf.urlchecker.events
Class BasicChainEvent

Package class diagram package BasicChainEvent
java.lang.Object
  extended by net.sf.urlchecker.events.BasicChainEvent
All Implemented Interfaces:
ChainEvent

public class BasicChainEvent
extends Object
implements ChainEvent

The Class BasicChainEvent. Immutable.

$Id: BasicChainEvent.java 180 2010-12-12 18:47:56Z georgosn $

Version:
$LastChangedRevision: 180 $
Author:
$LastChangedBy: georgosn $

Constructor Summary
BasicChainEvent(Command command, Context context, EventTypes eventType)
          Instantiates a new basic chain event.
 
Method Summary
 boolean equals(Object obj)
          
 Command getCommand()
          Gets the command.
 Context getContext()
          Gets the context.
 EventTypes getEventType()
          Gets the event type.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicChainEvent

public BasicChainEvent(Command command,
                       Context context,
                       EventTypes eventType)
Instantiates a new basic chain event.

Parameters:
command - the command
context - the context
eventType - the event type
Method Detail

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

getCommand

public Command getCommand()
Gets the command.

Specified by:
getCommand in interface ChainEvent
Returns:
the command

getContext

public Context getContext()
Gets the context.

Specified by:
getContext in interface ChainEvent
Returns:
the context

getEventType

public EventTypes getEventType()
Gets the event type.

Specified by:
getEventType in interface ChainEvent
Returns:
the eventType

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.