Revision 1eaef993
Added by Andreas Müller over 6 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/in/IConverter.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2009 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.cdm.io.dwca.in; |
10 | 10 |
|
11 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
|
11 | 12 |
|
12 | 13 |
/** |
13 | 14 |
* Interface for all converters from some input to some output. |
14 | 15 |
* Supports mapping of input to output and identifier identification. |
15 |
*
|
|
16 |
* |
|
16 | 17 |
* @author a.mueller |
17 | 18 |
* @date 23.11.2011 |
18 | 19 |
* |
19 | 20 |
*/ |
20 | 21 |
public interface IConverter<IN extends IConverterInput, OUT extends IConverterOutput, SOURCE_ID extends Object> { |
21 | 22 |
|
22 |
public IReader<MappedCdmBase> map(IN item);
|
|
23 |
|
|
23 |
public IReader<MappedCdmBase<? extends CdmBase>> map(IN item);
|
|
24 |
|
|
24 | 25 |
/** |
25 | 26 |
* Returns the identifier (if any) of the input |
26 | 27 |
* @param item |
Also available in: Unified diff
cleanup