Project

General

Profile

Download (869 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2007 EDIT
3
 * European Distributed Institute of Taxonomy
4
 * http://www.e-taxonomy.eu
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9

    
10
package eu.etaxonomy.cdm.io.common.mapping;
11

    
12
import java.sql.ResultSet;
13
import java.sql.SQLException;
14

    
15
import eu.etaxonomy.cdm.io.common.DbImportStateBase;
16
import eu.etaxonomy.cdm.model.common.CdmBase;
17

    
18
/**
19
 * @author a.mueller
20
 * @since 12.05.2009
21
 */
22
public interface IDbImportMapper<STATE extends DbImportStateBase<?,?>, CDM_BASE extends CdmBase> {
23

    
24
	public void initialize(STATE state, Class<? extends CdmBase> destinationClass);
25

    
26
//	public void initialize(T state, String tableName);
27

    
28
	public CDM_BASE invoke(ResultSet rs, CDM_BASE cdmBase) throws SQLException;
29

    
30
}
(42-42/51)