Project

General

Profile

Download (935 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.out;
11

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

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

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

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

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

    
31
}
(35-35/40)