org.keridwen.core.data.storage.manager.event
Class DataStorageEvent

java.lang.Object
  extended by org.keridwen.core.data.storage.manager.event.DataStorageEvent

public class DataStorageEvent
extends Object

Event thrown when the state of the data packet has changed.


Constructor Summary
DataStorageEvent(Object aSource, DataStorage aStorage, DataStorageEventType aType)
          Builds a data storage event with the given source, data storage and type.
 
Method Summary
 DataStorage getDataStorage()
          Gets the data storage associated with the event.
 Object getSource()
          Gets the sender of the event.
 DataStorageEventType getType()
          Gets the event type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStorageEvent

public DataStorageEvent(Object aSource,
                        DataStorage aStorage,
                        DataStorageEventType aType)
Builds a data storage event with the given source, data storage and type.

Parameters:
aSource - the sender of the event
aStorage - the storage the event is about
aType - the type of the event
Method Detail

getType

public final DataStorageEventType getType()
Gets the event type.

Returns:
the type of the event

getSource

public final Object getSource()
Gets the sender of the event.

Returns:
the event source

getDataStorage

public final DataStorage getDataStorage()
Gets the data storage associated with the event.

Returns:
the data storage


Copyright © 2010-2013 Artenum. All Rights Reserved.