3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.io
.common
.mapping
;
13 import java
.sql
.ResultSet
;
14 import java
.sql
.SQLException
;
16 import eu
.etaxonomy
.cdm
.io
.common
.DbImportStateBase
;
17 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
24 public interface IDbImportMapper
<T
extends DbImportStateBase
<?
>, CDM_BASE
extends CdmBase
> {
26 // public void initialize(PreparedStatement stmt, IndexCounter index);
28 // public void initialize(PreparedStatement stmt, IndexCounter index, T state, String tableName);
30 public CDM_BASE
invoke(ResultSet rs
, CDM_BASE cdmBase
) throws SQLException
;