org.openrdf.sail
Interface SailChangedEvent

All Known Implementing Classes:
DefaultSailChangedEvent

public interface SailChangedEvent

Event object that is send to SailChangedListeners to indicate that the contents of the Sail that sent the event have changed.


Method Summary
 Sail getSail()
          The Sail object that sent this event.
 boolean statementsAdded()
          Indicates if statements were added to the Sail.
 boolean statementsRemoved()
          Indicates if statements were removed from the Sail.
 

Method Detail

getSail

Sail getSail()
The Sail object that sent this event.


statementsAdded

boolean statementsAdded()
Indicates if statements were added to the Sail.

Returns:
true if statements were added during a transaction, false otherwise.

statementsRemoved

boolean statementsRemoved()
Indicates if statements were removed from the Sail.

Returns:
true if statements were removed during a transaction, false otherwise.


Copyright © 2001-2007 Aduna. All Rights Reserved.