eu.etaxonomy.cdm.io.common.events
Class IoEventBase

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.events.IoEventBase
All Implemented Interfaces:
IIoEvent
Direct Known Subclasses:
IoProblemEvent, IoProgressEvent

public abstract class IoEventBase
extends Object
implements IIoEvent

Base class for all IO events.

Author:
a.mueller

Constructor Summary
IoEventBase()
           
 
Method Summary
 String getLocation()
          The location in the data where this event was thrown
 String getMessage()
          A string explaining this event to humans.
 Class getThrowingClass()
          The class that threw this event.
 void setLocation(String location)
           
 void setMessage(String message)
           
 void setThrowingClass(Class throwingClass)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IoEventBase

public IoEventBase()
Method Detail

setThrowingClass

public void setThrowingClass(Class throwingClass)
Specified by:
setThrowingClass in interface IIoEvent

getThrowingClass

public Class getThrowingClass()
Description copied from interface: IIoEvent
The class that threw this event.

Specified by:
getThrowingClass in interface IIoEvent
Returns:

setMessage

public void setMessage(String message)
Specified by:
setMessage in interface IIoEvent

getMessage

public String getMessage()
Description copied from interface: IIoEvent
A string explaining this event to humans.

Specified by:
getMessage in interface IIoEvent
Returns:

setLocation

public void setLocation(String location)
Specified by:
setLocation in interface IIoEvent

getLocation

public String getLocation()
Description copied from interface: IIoEvent
The location in the data where this event was thrown

Specified by:
getLocation in interface IIoEvent
Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2013 EDIT. All Rights Reserved.