public class DefaultSailChangedEvent extends Object implements SailChangedEvent
Constructor and Description |
---|
DefaultSailChangedEvent(Sail sail)
Creates a new DefaultSailChangedEvent in which all possible changes are set to false.
|
Modifier and Type | Method and Description |
---|---|
Sail |
getSail()
The Sail object that sent this event.
|
void |
setStatementsAdded(boolean statementsAdded) |
void |
setStatementsRemoved(boolean statementsRemoved) |
boolean |
statementsAdded()
Indicates if statements were added to the Sail.
|
boolean |
statementsRemoved()
Indicates if statements were removed from the Sail.
|
public DefaultSailChangedEvent(Sail sail)
public Sail getSail()
SailChangedEvent
getSail
in interface SailChangedEvent
public boolean statementsAdded()
SailChangedEvent
statementsAdded
in interface SailChangedEvent
public void setStatementsAdded(boolean statementsAdded)
public boolean statementsRemoved()
SailChangedEvent
statementsRemoved
in interface SailChangedEvent
public void setStatementsRemoved(boolean statementsRemoved)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.