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
.taxeditor
.newWizard
;
12 import eu
.etaxonomy
.cdm
.api
.service
.IOccurrenceService
;
13 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldUnit
;
14 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
17 * <p>NewFieldUnitWizard class.</p>
20 * @created Jun 17, 2010
23 public class NewFieldUnitWizard
extends AbstractNewEntityWizard
<FieldUnit
> {
26 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#createNewEntity()
30 protected FieldUnit
createNewEntity() {
35 * @see eu.etaxonomy.taxeditor.editor.newWizard.AbstractNewEntityWizard#saveEntity()
39 protected void saveEntity() {
40 CdmStore
.getService(IOccurrenceService
.class).merge(getEntity(), true);
45 protected String
getEntityName() {