add missing darwin core fields
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / occurrence / Determination.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.occurrence;
11
12
13 import eu.etaxonomy.cdm.model.agent.Agent;
14 import eu.etaxonomy.cdm.model.agent.Team;
15 import eu.etaxonomy.cdm.model.common.AnnotatableEntity;
16 import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
17 import eu.etaxonomy.cdm.model.taxon.Taxon;
18
19 import org.apache.log4j.Logger;
20 import eu.etaxonomy.cdm.model.Description;
21 import java.util.*;
22 import javax.persistence.*;
23
24 /**
25 * @author m.doering
26 * @version 1.0
27 * @created 08-Nov-2007 13:06:21
28 */
29 @Entity
30 public class Determination extends AnnotatableEntity {
31 static Logger logger = Logger.getLogger(Determination.class);
32 private Calendar identificationDate;
33 private Agent determiner;
34 private Taxon taxon;
35 private DeterminationModifier modifier;
36
37 public DeterminationModifier getModifier() {
38 return modifier;
39 }
40
41 public void setModifier(DeterminationModifier modifier) {
42 this.modifier = modifier;
43 }
44
45 public Taxon getTaxon(){
46 return this.taxon;
47 }
48
49 /**
50 *
51 * @param taxon taxon
52 */
53 public void setTaxon(Taxon taxon){
54 this.taxon = taxon;
55 }
56
57
58 @Temporal(TemporalType.DATE)
59 public Calendar getIdentificationDate(){
60 return this.identificationDate;
61 }
62
63 /**
64 *
65 * @param identificationDate identificationDate
66 */
67 public void setIdentificationDate(Calendar identificationDate){
68 this.identificationDate = identificationDate;
69 }
70
71 protected Agent getDeterminer() {
72 return determiner;
73 }
74
75 protected void setDeterminer(Agent determiner) {
76 this.determiner = determiner;
77 }
78
79 }