Project

General

Profile

Download (945 Bytes) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
 * Copyright (C) 2007 EDIT
4
 * European Distributed Institute of Taxonomy 
5
 * http://www.e-taxonomy.eu
6
 * 
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.
9
 */
10

    
11
package eu.etaxonomy.cdm.io.common.mapping.out;
12

    
13
import java.sql.PreparedStatement;
14
import java.sql.SQLException;
15

    
16
import eu.etaxonomy.cdm.io.common.DbExportStateBase;
17
import eu.etaxonomy.cdm.model.common.CdmBase;
18

    
19
/**
20
 * @author a.mueller
21
 * @created 12.05.2009
22
 * @version 1.0
23
 */
24
public interface IDbExportMapper<T extends DbExportStateBase<?, TRANSFORM> , TRANSFORM extends IExportTransformer> {
25

    
26
//	public void initialize(PreparedStatement stmt, IndexCounter index);
27

    
28
	public void initialize(PreparedStatement stmt, IndexCounter index, T state, String tableName);
29
	
30
	public boolean invoke(CdmBase cdmBase) throws SQLException;
31

    
32
}
(35-35/40)