c84bfa6d6aaae3a7d4cbed5c61f08d55dbfad073
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / name / NonViralName.java
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.model.name;
11
12
13 import eu.etaxonomy.cdm.model.agent.Team;
14 import org.apache.log4j.Logger;
15 import eu.etaxonomy.cdm.model.Description;
16 import java.util.*;
17 import javax.persistence.*;
18
19 /**
20 * Taxon name class for all non viral taxa.
21 * Parentetical authorship is derived from basionym relationship.
22 * @author m.doering
23 * @version 1.0
24 * @created 02-Nov-2007 19:36:21
25 */
26 @Entity
27 public class NonViralName extends TaxonNameBase {
28 static Logger logger = Logger.getLogger(NonViralName.class);
29
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;
36 //species epithet
37 @Description("species epithet")
38 private String specificEpithet;
39 //Species subdivision epithet
40 @Description("Species subdivision epithet")
41 private String infraSpecificEpithet;
42 /**
43 * Author team that published the present combination
44 */
45 private Team combinationAuthorTeam;
46 /**
47 * Author team that contributed to the publication of the present combination
48 */
49 private Team exCombinationAuthorTeam;
50
51 public Team getCombinationAuthorTeam(){
52 return combinationAuthorTeam;
53 }
54
55 /**
56 *
57 * @param combinationAuthorTeam
58 */
59 public void setCombinationAuthorTeam(Team combinationAuthorTeam){
60 ;
61 }
62
63 public Team getExCombinationAuthorTeam(){
64 return exCombinationAuthorTeam;
65 }
66
67 /**
68 *
69 * @param exCombinationAuthorTeam
70 */
71 public void setExCombinationAuthorTeam(Team exCombinationAuthorTeam){
72 ;
73 }
74
75 public String getUninomial(){
76 return uninomial;
77 }
78
79 /**
80 *
81 * @param uninomial
82 */
83 public void setUninomial(String uninomial){
84 ;
85 }
86
87 public String getInfraGenericEpithet(){
88 return infraGenericEpithet;
89 }
90
91 /**
92 *
93 * @param infraGenericEpithet
94 */
95 public void setInfraGenericEpithet(String infraGenericEpithet){
96 ;
97 }
98
99 public String getSpecificEpithet(){
100 return specificEpithet;
101 }
102
103 /**
104 *
105 * @param specificEpithet
106 */
107 public void setSpecificEpithet(String specificEpithet){
108 ;
109 }
110
111 public String getInfraSpecificEpithet(){
112 return infraSpecificEpithet;
113 }
114
115 /**
116 *
117 * @param infraSpecificEpithet
118 */
119 public void setInfraSpecificEpithet(String infraSpecificEpithet){
120 ;
121 }
122
123 /**
124 * returns concatenated und formated authorteams including basionym and
125 * combination authors
126 */
127 @Transient
128 public String getFullAuthorship(){
129 return "";
130 }
131
132 @Override
133 public String generateTitle() {
134 // TODO Auto-generated method stub
135 return null;
136 }
137
138 }