org.intermine.dataconversion
Interface DataConverterStoreHook

All Known Implementing Classes:
BioStoreHook

public interface DataConverterStoreHook

A hook that is called immediately before each Item is stored by the DataConverter.


Method Summary
 void processItem(DataConverter dataConverter, Item item)
          This method is called before storing an Item.
 

Method Detail

processItem

void processItem(DataConverter dataConverter,
                 Item item)
This method is called before storing an Item. The method is able to create new Items and call dataConverter.store(), but must not call store() on the "item" argument to the method.

Parameters:
dataConverter - the DataConverter
item - the Item