Revision fa63b6b4
Added by Andreas Müller over 5 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/mapping/DbSingleAttributeImportMapperBase.java | ||
---|---|---|
25 | 25 |
/** |
26 | 26 |
* @author a.mueller |
27 | 27 |
* @since 12.05.2009 |
28 |
* @version 1.0 |
|
29 | 28 |
*/ |
30 | 29 |
public abstract class DbSingleAttributeImportMapperBase<STATE extends DbImportStateBase<?,?>, CDM_BASE extends CdmBase> extends CdmSingleAttributeMapperBase implements IDbImportMapper<STATE, CDM_BASE> { |
31 | 30 |
private static final Logger logger = Logger.getLogger(DbSingleAttributeImportMapperBase.class); |
32 | 31 |
|
33 |
protected DbImportMapperBase<STATE> importMapperHelper = new DbImportMapperBase<STATE>();
|
|
32 |
protected DbImportMapperBase<STATE> importMapperHelper = new DbImportMapperBase<>(); |
|
34 | 33 |
// private Integer precision = null; |
35 | 34 |
protected boolean obligatory = true; |
36 |
protected boolean ignore = false;;
|
|
35 |
protected boolean ignore = false; |
|
37 | 36 |
|
38 | 37 |
protected Method destinationMethod = null; |
39 | 38 |
protected Class<?> targetClass; |
... | ... | |
179 | 178 |
return result; |
180 | 179 |
} |
181 | 180 |
|
182 |
|
|
183 |
/* (non-Javadoc) |
|
184 |
* @see eu.etaxonomy.cdm.io.berlinModel.out.mapper.IDbExportMapper#invoke(eu.etaxonomy.cdm.model.common.CdmBase) |
|
185 |
*/ |
|
186 | 181 |
@Override |
187 | 182 |
public CDM_BASE invoke(ResultSet rs, CDM_BASE cdmBase) throws SQLException { |
188 | 183 |
if (ignore){ |
Also available in: Unified diff
cleanup