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 org
.apache
.log4j
.Logger
;
15 import eu
.etaxonomy
.cdm
.io
.common
.DbImportStateBase
;
16 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
28 public class DbImportMapperBase
<STATE
extends DbImportStateBase
<?
,?
>> {
29 @SuppressWarnings("unused")
30 private static final Logger logger
= Logger
.getLogger(DbImportMapperBase
.class);
33 private String tableName
;
34 private Class
<?
extends CdmBase
> cdmClass
;
41 public void initialize(STATE state
, Class
<?
extends CdmBase
> cdmClass
) {
43 this.tableName
= tableName
;
44 this.cdmClass
= cdmClass
;
50 public STATE
getState() {
55 * @return the tableName
57 public String
getTableName() {
62 * @param tableName the tableName to set
64 public void setTableName(String tableName
) {
65 this.tableName
= tableName
;
69 * @param cdmClass the cdmClass to set
71 public void setCdmClass(Class
<?
extends CdmBase
> cdmClass
) {
72 this.cdmClass
= cdmClass
;
76 * @return the cdmClass
78 public Class
<?
extends CdmBase
> getCdmClass() {