(no commit message)
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / name / TypeDesignation.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.specimen.Specimen;
14 import eu.etaxonomy.cdm.model.common.VersionableEntity;
15 import org.apache.log4j.Logger;
16 import java.util.*;
17 import javax.persistence.*;
18
19 /**
20 * @author Andreas Mueller
21 * @version 1.0
22 * @created 15-Aug-2007 18:36:17
23 */
24 @Entity
25 public class TypeDesignation extends VersionableEntity {
26 static Logger logger = Logger.getLogger(TypeDesignation.class);
27
28 private Specimen typeSpecimen;
29 private TypeDesignationStatus typeStatus;
30
31 public Specimen getTypeSpecimen(){
32 return typeSpecimen;
33 }
34
35 public TypeDesignationStatus getTypeStatus(){
36 return typeStatus;
37 }
38
39 /**
40 *
41 * @param newVal
42 */
43 public void setTypeSpecimen(Specimen newVal){
44 typeSpecimen = newVal;
45 }
46
47 /**
48 *
49 * @param newVal
50 */
51 public void setTypeStatus(TypeDesignationStatus newVal){
52 typeStatus = newVal;
53 }
54
55 }