2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.occurrence
;
13 import eu
.etaxonomy
.cdm
.model
.agent
.Agent
;
14 import eu
.etaxonomy
.cdm
.model
.taxon
.Taxon
;
15 import org
.apache
.log4j
.Logger
;
17 import eu
.etaxonomy
.cdm
.model
.common
.EventBase
;
20 import javax
.persistence
.*;
25 * @created 08-Nov-2007 13:06:21
28 public class DeterminationEvent
extends EventBase
{
29 static Logger logger
= Logger
.getLogger(DeterminationEvent
.class);
31 private SpecimenOrObservationBase identifiedUnit
;
33 private DeterminationModifier modifier
;
40 public static DeterminationEvent
NewInstance(){
41 return new DeterminationEvent();
47 protected DeterminationEvent() {
52 public DeterminationModifier
getModifier() {
56 public void setModifier(DeterminationModifier modifier
) {
57 this.modifier
= modifier
;
61 public Taxon
getTaxon(){
69 public void setTaxon(Taxon taxon
){
75 public Calendar
getIdentificationDate(){
76 return this.getTimeperiod().getStart();
81 * @param identificationDate identificationDate
83 public void setIdentificationDate(Calendar identificationDate
){
84 this.getTimeperiod().setStart(identificationDate
);
88 public Agent
getDeterminer() {
89 return this.getActor();
91 public void setDeterminer(Agent determiner
) {
92 this.setActor(determiner
);
96 public SpecimenOrObservationBase
getIdentifiedUnit() {
97 return identifiedUnit
;
100 public void setIdentifiedUnit(SpecimenOrObservationBase identifiedUnit
) {
101 this.identifiedUnit
= identifiedUnit
;