Revision d1ea8316
Added by Andreas Müller almost 2 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/term/ILoadableTerm.java | ||
---|---|---|
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 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.model.term; |
11 | 10 |
|
12 | 11 |
import java.util.List; |
... | ... | |
18 | 17 |
public interface ILoadableTerm<T extends IDefinedTerm>{ |
19 | 18 |
|
20 | 19 |
/** |
21 |
* Fills the {@link ILoadableTerm term} with contents from a csvLine. If the csvLine represents the default language |
|
22 |
* the csvLine attributes are merged into the existing default language and the default Language is returned. |
|
23 |
* @return |
|
20 |
* Fills the {@link ILoadableTerm term} with contents from a csvLine. If the csvLine |
|
21 |
* represents the default language the csvLine attributes are merged into the |
|
22 |
* existing default language and the default Language is returned. |
|
23 |
* <BR> |
|
24 |
* Typically the first 5 strings are UUID, URI, label, description and abbreviated label. |
|
24 | 25 |
*/ |
25 | 26 |
public T readCsvLine(Class<T> termClass, List<String> csvLine, TermType termType, Map<UUID,DefinedTermBase> terms, boolean abbrevAsId); |
26 | 27 |
|
Also available in: Unified diff
cleanup