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
.remote
.dto
;
12 import java
.util
.ArrayList
;
13 import java
.util
.HashSet
;
14 import java
.util
.List
;
17 import eu
.etaxonomy
.cdm
.model
.name
.HomotypicalGroup
;
18 import eu
.etaxonomy
.cdm
.model
.name
.NameTypeDesignation
;
22 * Data Transfer Object representing a taxonomic Name. The fields are mainly derived from the
23 * domain object {@link TaxonNameBase}. The field <code>typeDesignations</code> however is not
24 * included since these will obtained by a separate call to the web service.
26 * @author a.kohlbecker
28 * @version 1.0 $Id: NameTO.java 1108 2007-12-14 18:03:12Z m.doering $
29 * @created 11.12.2007 11:04:42
31 public class NameTO
extends BaseTO
{
33 private String fullname
;
34 private List
<TaggedText
> taggedName
= new ArrayList
<TaggedText
>();
36 private Set
<LocalisedTermTO
> status
= new HashSet
<LocalisedTermTO
>();
37 private LocalisedTermTO rank
;
38 private ReferenceTO nomenclaturalReference
;
40 private NameTO basionym
;
41 private Set
<NameRelationshipTO
> nameRelations
= new HashSet
<NameRelationshipTO
>();
42 private Set
<NameTO
> newCombinations
= new HashSet
<NameTO
>();
44 private List
<NameTypeDesignationSTO
> nameTypeDesignations
= new ArrayList
<NameTypeDesignationSTO
>();
45 private List
<SpecimenTypeDesignationSTO
> typeDesignations
= new ArrayList
<SpecimenTypeDesignationSTO
>();