(no commit message)
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / name / CultivarPlantName.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 java.util.*;
16 import javax.persistence.*;
17
18 /**
19 * Taxon name class for cultivars. {only possible for CULTIVAR, GREX, CONVAR,
20 * CULTIVAR_GROUP, GRAFT_CHIMAERA and DENOMINATION_CLASS ranks}
21 * @author m.doering
22 * @version 1.0
23 * @created 08-Nov-2007 13:06:18
24 */
25 @Entity
26 public class CultivarPlantName extends BotanicalName {
27 public CultivarPlantName(Rank rank) {
28 super(rank);
29 }
30
31 static Logger logger = Logger.getLogger(CultivarPlantName.class);
32 //the caracteristical name of the cultivar
33 private String cultivarName;
34
35 public String getCultivarName(){
36 return this.cultivarName;
37 }
38
39 /**
40 *
41 * @param cultivarName cultivarName
42 */
43 public void setCultivarName(String cultivarName){
44 this.cultivarName = cultivarName;
45 }
46
47 }