ru.biosoft.access
Class TransformedDataCollection
ru.biosoft.access.DataElementSupport
|
+--ru.biosoft.access.AbstractDataCollection
|
+--ru.biosoft.access.DerivedDataCollection
|
+--ru.biosoft.access.TransformedDataCollection
- public class TransformedDataCollection
- extends DerivedDataCollection
- implements DataCollectionListener
Implemnation note: we are not propagate DataCollectionEvents, because this work is done
by primary DataCollection (it has the same parent).
- todo check DataElement type for Transformer
TransformedDataCollection
public TransformedDataCollection(DataCollection parent, Properties properties)
throws java.lang.Exception
- Constructs transformed data collection with parent.
- Parameters:
- parent - Parent data collection.
- properties - Properties for creating data collection (may be changed).
- Throws:
- Exception - any errors
doGet
public DataElement doGet(String name)
throws java.lang.Exception
- Implements specific get action for transformed data collection
to get the specified by name data element from the collection.
- Parameters:
- name - The name of data element
- Throws:
- Exception - If any errors.
- See Also:
- AbstractDataCollection.put(ru.biosoft.access.DataElement)
doPut
public void doPut(DataElement element)
throws java.lang.Exception
- Implements specific put action for transformed data collection
to put the specified data element into the primary collection.
- Parameters:
- element - The put DataElement
- Throws:
- Exception - If any errors.
- See Also:
- AbstractDataCollection.put(ru.biosoft.access.DataElement)
doRemove
public void doRemove(DataElement de)
throws java.lang.Exception
elementAdded
public void elementAdded(DataCollectionEvent dce)
throws java.lang.Exception
elementChanged
public void elementChanged(DataCollectionEvent dce)
throws java.lang.Exception
elementRemoved
public void elementRemoved(DataCollectionEvent dce)
throws java.lang.Exception
elementWillAdd
public void elementWillAdd(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillChange
public void elementWillChange(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillRemove
public void elementWillRemove(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
getDataElementType
public Class getDataElementType()
- Gets class of output data element.
- Returns: transformer output element
getTransformer
public final Transformer getTransformer()
iterator
public Iterator iterator()
toString
public String toString()
- todo Temp implementation
to Class ru.biosoft.access.Transformer
to Class ru.biosoft.access.DataElement
to Class ru.biosoft.access.DataElement
BOTTOM