ru.biosoft.access
Class FilteredDataCollection
ru.biosoft.access.DataElementSupport
|
+--ru.biosoft.access.AbstractDataCollection
|
+--ru.biosoft.access.DerivedDataCollection
|
+--ru.biosoft.access.FilteredDataCollection
- public class FilteredDataCollection
- extends DerivedDataCollection
- implements DataCollectionListener
- todo high document and test
- pending high event issues
| Field Summary |
final static String | FILTER_PROPERTY Key for setting filter in properties. |
| Methods inherited from class ru.biosoft.access.AbstractDataCollection |
addDataCollectionListener, close, getCompleteName, getDescription, getInfo, isNotificationEnabled, isPropagationEnabled, propagateElementChanged, propagateElementWillChange, release, removeDataCollectionListener, setNotificationEnabled, setPropagationEnabled |
FILTER_PROPERTY
public final static String FILTER_PROPERTY
- Key for setting filter in properties.
FilteredDataCollection
public FilteredDataCollection(DataCollection parent, Properties properties)
throws java.lang.Exception
- Constructor to be used by CollectionFactory.
Obligatory properties are
- Parameters:
- parent - filtered data collection parent.
- properties - Properties for filtered collection.
FilteredDataCollection
public FilteredDataCollection(DataCollection parent, String name, DataCollection primaryCollection, Filter filter, FunctionJobControl jobControl, Properties properties)
- Creates FilteredDataCollection with the specified parent, name,
primary data collection and filter.
- Parameters:
- parent - parent for this data collection.
- parent - name of this data collection.
- primaryCollection - primary data collection.
- filter - filter to be applied to primary data collection.
- properties - Properties to initialise DataCollectionInfo. Can be null.
contains
public boolean contains(String name)
elementAdded
public void elementAdded(DataCollectionEvent event)
throws java.lang.Exception
elementChanged
public void elementChanged(DataCollectionEvent event)
throws java.lang.Exception
- todo URGENT Use filter
- peding firing events removed because of endless loop, should be checked
elementRemoved
public void elementRemoved(DataCollectionEvent event)
throws java.lang.Exception
elementWillAdd
public void elementWillAdd(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
elementWillChange
public void elementWillChange(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
- todo URGENT Use filter
- peding firing events removed because of endless loop, should be checked
elementWillRemove
public void elementWillRemove(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
get
public DataElement get(String name)
throws java.lang.Exception
getNameList
public List getNameList()
getSize
public int getSize()
iterator
public Iterator iterator()
put
public DataElement put(DataElement de)
throws java.lang.Exception
remove
public void remove(String name)
throws java.lang.Exception
to Class java.lang.String- Key for setting filter in properties.
to Class ru.biosoft.access.Filter
to Class java.util.List
to Class java.lang.String
BOTTOM