public class DataStoreRegister extends HashSet<DataStore>
Constructor and Description |
---|
DataStoreRegister() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(DataStore o)
Adds the specified element to this set if it is not already present.
|
void |
addCreoleListener(CreoleListener l)
Registers a new
CreoleListener with this
DataStoreRegister. |
void |
clear()
Removes all of the elements from this set.
|
protected void |
fireDatastoreClosed(CreoleEvent e)
Notifies all registered
CreoleListener s that a
DataStore has been closed. |
protected void |
fireDatastoreCreated(CreoleEvent e)
Notifies all registered
CreoleListener s that a new
DataStore has been created. |
protected void |
fireDatastoreOpened(CreoleEvent e)
Notifies all registered
CreoleListener s that a
DataStore has been opened. |
static Map<String,String> |
getDataStoreClassNames()
All the DataStore classes available.
|
boolean |
remove(Object o)
Removes the given element from this set if it is present.
|
void |
removeCreoleListener(CreoleListener l)
Removes a previously registered
CreoleListener from the
list of listeners for this DataStoreRegister. |
clone, contains, isEmpty, iterator, size, spliterator
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
public static Map<String,String> getDataStoreClassNames()
public boolean add(DataStore o)
public boolean remove(Object o)
public void clear()
public void removeCreoleListener(CreoleListener l)
CreoleListener
from the
list of listeners for this DataStoreRegister. Normally the only listener
that is registered with the DataStoreRegister is the CreoleRegister
which can be obtained through Gate.getCreoleRegister()
public void addCreoleListener(CreoleListener l)
CreoleListener
with this
DataStoreRegister. Normally the only listener that is registered with the
DataStoreRegister is the CreoleRegister
which can be obtained
through Gate.getCreoleRegister()
protected void fireDatastoreOpened(CreoleEvent e)
CreoleListener
s that a
DataStore
has been opened. Normally the only listener that is
registered with the DataStoreRegister is the CreoleRegister
which
can be obtained through Gate.getCreoleRegister()
protected void fireDatastoreCreated(CreoleEvent e)
CreoleListener
s that a new
DataStore
has been created. Normally the only listener that is
registered with the DataStoreRegister is the CreoleRegister
which
can be obtained through Gate.getCreoleRegister()
protected void fireDatastoreClosed(CreoleEvent e)
CreoleListener
s that a
DataStore
has been closed. Normally the only listener that is
registered with the DataStoreRegister is the CreoleRegister
which
can be obtained through Gate.getCreoleRegister()
Copyright © 2024 GATE. All rights reserved.