* See LICENSE.TXT at the top of this package for the full license terms.
*/
-package eu.etaxonomy.taxeditor.editor.newWizard;
+package eu.etaxonomy.taxeditor.newWizard;
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacadeNotSupportedException;
import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase;
import eu.etaxonomy.cdm.model.occurrence.Specimen;
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
-import eu.etaxonomy.taxeditor.section.occurrence.DerivedUnitBaseWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.FieldObservationWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.GatheringEventWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.GeneralWizardPage;
import eu.etaxonomy.taxeditor.store.CdmStore;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.DerivedUnitBaseWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.FieldObservationWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.GatheringEventWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.GeneralWizardPage;
/**
* <p>NewDerivedUnitBaseWizard class.</p>
/** {@inheritDoc} */
@Override
protected void saveEntity() {
- CdmStore.getService(IOccurrenceService.class).saveOrUpdate(entity);
+ CdmStore.getService(IOccurrenceService.class).saveOrUpdate(getEntity());
}
}