fix #10110 move barcode to general page
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / occurrence / DerivedUnitGeneralDetailElement.java
index 633eb375f6b9a30b376f8968a2328e79130605bd..f62d0f4a236ba08bcbf13729b5014e45de7aa333 100644 (file)
@@ -59,6 +59,7 @@ public class DerivedUnitGeneralDetailElement extends
        private TextWithLabelElement text_collectingNumber;
        private EntitySelectionElement<Collection> selection_collection;
        private TextWithLabelElement text_accessionNumber;
+    private TextWithLabelElement text_barcode;
        private GatheringEventUnitElement element_elevation;
        private UriWithLabelElement uriPreferredStableUri;
        private CheckboxElement checkIsPublish;
@@ -168,6 +169,8 @@ public class DerivedUnitGeneralDetailElement extends
                        getEntity().setCollection(selection_collection.getSelection());
                } else if (eventSource == text_accessionNumber) {
                        getEntity().setAccessionNumber(text_accessionNumber.getText());
+        } else if (eventSource == text_barcode) {
+            getEntity().setBarcode(text_barcode.getText());
                } else if (eventSource == combo_specorobstype) {
                        getEntity().setType(combo_specorobstype.getSelection());
                } else if (eventSource == uriPreferredStableUri) {