com.ikokoon.serenity.persistence
Class DataBaseEvent

java.lang.Object
  extended by com.ikokoon.serenity.persistence.DataBaseEvent
All Implemented Interfaces:
IDataBaseEvent

public class DataBaseEvent
extends java.lang.Object
implements IDataBaseEvent


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ikokoon.serenity.persistence.IDataBaseEvent
IDataBaseEvent.Type
 
Constructor Summary
DataBaseEvent(IDataBase dataBase, IDataBaseEvent.Type type)
           
 
Method Summary
 IDataBase getDataBase()
          Access to the database that fired the event.
 IDataBaseEvent.Type getEventType()
          Access to the type of event the database is firing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBaseEvent

public DataBaseEvent(IDataBase dataBase,
                     IDataBaseEvent.Type type)
Method Detail

getDataBase

public IDataBase getDataBase()
Description copied from interface: IDataBaseEvent
Access to the database that fired the event.

Specified by:
getDataBase in interface IDataBaseEvent
Returns:
the database that fired the event

getEventType

public IDataBaseEvent.Type getEventType()
Description copied from interface: IDataBaseEvent
Access to the type of event the database is firing.

Specified by:
getEventType in interface IDataBaseEvent
Returns:
the event type


Copyright © 2010. All Rights Reserved.