Revision fa63b6b4
Added by Andreas Müller about 5 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/mapping/IDbImportMapper.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
... | ... | |
18 | 18 |
/** |
19 | 19 |
* @author a.mueller |
20 | 20 |
* @since 12.05.2009 |
21 |
* @version 1.0 |
|
22 | 21 |
*/ |
23 | 22 |
public interface IDbImportMapper<STATE extends DbImportStateBase<?,?>, CDM_BASE extends CdmBase> { |
24 | 23 |
|
25 | 24 |
public void initialize(STATE state, Class<? extends CdmBase> destinationClass); |
26 | 25 |
|
27 | 26 |
// public void initialize(T state, String tableName); |
28 |
|
|
27 |
|
|
29 | 28 |
public CDM_BASE invoke(ResultSet rs, CDM_BASE cdmBase) throws SQLException; |
30 | 29 |
|
31 | 30 |
} |
Also available in: Unified diff
cleanup