public abstract class AbstractDataSourceChangeEvent extends java.lang.Object implements DataSourceChangeEvent
Modifier and Type | Field and Description |
---|---|
private java.util.Set<DataSource> |
old |
private DataSet |
source |
Constructor and Description |
---|
AbstractDataSourceChangeEvent(DataSet source,
java.util.Set<DataSource> old)
Create a Data Source change event
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<DataSource> |
getOldDataSources()
Gets the previous data source list
|
DataSet |
getSource()
Gets the data set that triggered this selection event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdded, getDataSources, getRemoved, isNop
private java.util.Set<DataSource> old
public AbstractDataSourceChangeEvent(DataSet source, java.util.Set<DataSource> old)
source
- The DataSet that is originating the changeold
- The previous set of DataSourcespublic java.util.Set<DataSource> getOldDataSources()
DataSourceChangeEvent
This collection cannot be modified and will not change.
getOldDataSources
in interface DataSourceChangeEvent
public DataSet getSource()
DataSourceChangeEvent
getSource
in interface DataSourceChangeEvent