3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.editor
.newWizard
;
13 import org
.apache
.log4j
.Logger
;
15 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldObservation
;
16 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
20 * @created Jun 17, 2010
23 public class NewFieldObservationWizard
extends AbstractNewEntityWizard
<FieldObservation
> {
24 private static final Logger logger
= Logger
25 .getLogger(NewFieldObservationWizard
.class);
28 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#createNewEntity()
31 protected FieldObservation
createNewEntity() {
32 // TODO Auto-generated method stub
37 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#saveEntity()
40 protected void saveEntity() {
41 CdmStore
.getOccurrenceService().saveOrUpdate(entity
);