2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.common
;
12 import java
.util
.List
;
14 import java
.util
.UUID
;
16 import au
.com
.bytecode
.opencsv
.CSVWriter
;
18 public interface ILoadableTerm
<T
extends IDefinedTerm
>{
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.
26 public T
readCsvLine(Class
<T
> termClass
, List
<String
> csvLine
, Map
<UUID
,DefinedTermBase
> terms
);
28 public void writeCsvLine(CSVWriter writer
, T term
);