1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.remote.dto;
|
11
|
|
12
|
import java.util.ArrayList;
|
13
|
import java.util.List;
|
14
|
|
15
|
/**
|
16
|
* @author m.doering
|
17
|
* List of taxa that are homotypic.
|
18
|
* Sorted chronologically starting with the basionym if existing
|
19
|
*/
|
20
|
public class HomotypicTaxonGroupSTO extends BaseSTO{
|
21
|
|
22
|
private List<SynonymRelationshipTO> synonyms = new ArrayList<SynonymRelationshipTO>();
|
23
|
private List<TypeDesignationSTO> typeDesignations = new ArrayList<TypeDesignationSTO>();
|
24
|
|
25
|
public List<SynonymRelationshipTO> getSynonyms() {
|
26
|
return synonyms;
|
27
|
}
|
28
|
public void setSynonyms(List<SynonymRelationshipTO> synonyms) {
|
29
|
this.synonyms = synonyms;
|
30
|
}
|
31
|
public void addSynonym(SynonymRelationshipTO synonym){
|
32
|
this.synonyms.add(synonym);
|
33
|
}
|
34
|
|
35
|
public List<TypeDesignationSTO> getTypeDesignations() {
|
36
|
return typeDesignations;
|
37
|
}
|
38
|
public void setTypeDesignations(
|
39
|
List<TypeDesignationSTO> typeDesignations) {
|
40
|
this.typeDesignations = typeDesignations;
|
41
|
}
|
42
|
|
43
|
}
|