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
.name
;
13 import eu
.etaxonomy
.cdm
.model
.agent
.Team
;
14 import org
.apache
.log4j
.Logger
;
15 import eu
.etaxonomy
.cdm
.model
.Description
;
17 import javax
.persistence
.*;
20 * Taxon name class for all non viral taxa.
21 * Parentetical authorship is derived from basionym relationship.
24 * @created 02-Nov-2007 19:36:21
27 public class NonViralName
extends TaxonNameBase
{
28 static Logger logger
= Logger
.getLogger(NonViralName
.class);
30 //The suprageneric or the genus name
31 @Description("The suprageneric or the genus name")
32 private String uninomial
;
33 //Genus subdivision epithet
34 @Description("Genus subdivision epithet")
35 private String infraGenericEpithet
;
37 @Description("species epithet")
38 private String specificEpithet
;
39 //Species subdivision epithet
40 @Description("Species subdivision epithet")
41 private String infraSpecificEpithet
;
42 //Full authorship string
43 @Description("Full authorship string")
44 private String fullAuthorship
;
46 * Author team that published the present combination
48 private Team combinationAuthorTeam
;
50 * Author team that contributed to the publication of the present combination
52 private Team exCombinationAuthorTeam
;
54 public Team
getCombinationAuthorTeam(){
55 return combinationAuthorTeam
;
60 * @param combinationAuthorTeam
62 public void setCombinationAuthorTeam(Team combinationAuthorTeam
){
66 public Team
getExCombinationAuthorTeam(){
67 return exCombinationAuthorTeam
;
72 * @param exCombinationAuthorTeam
74 public void setExCombinationAuthorTeam(Team exCombinationAuthorTeam
){
78 public String
getUninomial(){
86 public void setUninomial(String uninomial
){
90 public String
getInfraGenericEpithet(){
91 return infraGenericEpithet
;
96 * @param infraGenericEpithet
98 public void setInfraGenericEpithet(String infraGenericEpithet
){
102 public String
getSpecificEpithet(){
103 return specificEpithet
;
108 * @param specificEpithet
110 public void setSpecificEpithet(String specificEpithet
){
114 public String
getInfraSpecificEpithet(){
115 return infraSpecificEpithet
;
120 * @param infraSpecificEpithet
122 public void setInfraSpecificEpithet(String infraSpecificEpithet
){
127 * returns concatenated und formated authorteams including basionym and
128 * combination authors
130 public String
getFullAuthorship(){
133 public setFullAuthorship(String fullAuthorship
){
134 fullAuthorship
=fullAuthorship
;
138 public String
generateTitle() {
139 // TODO Auto-generated method stub