(no commit message)
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / name / BacterialName.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 org.apache.log4j.Logger;
14
15 import javax.persistence.*;
16
17 /**
18 * Taxon name class for bacteria
19 * @author m.doering
20 * @version 1.0
21 * @created 08-Nov-2007 13:06:11
22 */
23 @Entity
24 public class BacterialName extends NonViralName {
25 static Logger logger = Logger.getLogger(BacterialName.class);
26
27 //Author team and year of the subgenus name
28 private String subGenusAuthorship;
29 //Approbation of name according to approved list, validation list,or validly published, paper in IJSB after 1980
30 private String nameApprobation;
31
32 public BacterialName(Rank rank) {
33 super(rank);
34 }
35
36
37 public String getSubGenusAuthorship(){
38 return this.subGenusAuthorship;
39 }
40
41 /**
42 *
43 * @param subGenusAuthorship subGenusAuthorship
44 */
45 public void setSubGenusAuthorship(String subGenusAuthorship){
46 this.subGenusAuthorship = subGenusAuthorship;
47 }
48
49 public String getNameApprobation(){
50 return this.nameApprobation;
51 }
52
53 /**
54 *
55 * @param nameApprobation nameApprobation
56 */
57 public void setNameApprobation(String nameApprobation){
58 this.nameApprobation = nameApprobation;
59 }
60
61 }