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. |
FILTER_PROPERTY
public final static String FILTER_PROPERTY
- Key for setting filter in properties.
FilteredDataCollection
public FilteredDataCollection(DataCollection primaryDC, Properties properties)
- Create collection with specified properties.
- Parameters:
- primary - Primary collection (which will be filtered).
- properties - Properties for filtered collection.
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 DataElement 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
BOTTOM