Project

General

Profile

« Previous | Next » 

Revision 10a9a8cd

Added by Andreas Müller over 2 years ago

rename getMediainHierarchy to getMediaInHierarchy

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/abcd206/in/Abcd206Import.java
687 687
                        if (media == null) {
688 688
                            continue;
689 689
                        }
690
                        derivedUnitFacade.addDerivedUnitMedia(media);
691
                        if (state.getConfig().isAddMediaAsMediaSpecimen()) {
690
                        if (!state.getConfig().isAddMediaAsMediaSpecimen()) {
691
                            derivedUnitFacade.addDerivedUnitMedia(media);
692
                        } else {
692 693
                            // add media also as specimen scan
693 694
                            MediaSpecimen mediaSpecimen = MediaSpecimen
694 695
                                    .NewInstance(SpecimenOrObservationType.StillImage);
......
703 704
                            derivationEvent.addDerivative(mediaSpecimen);
704 705
                            derivedUnitFacade.innerDerivedUnit().addDerivationEvent(derivationEvent);
705 706
                        }
706

  
707 707
                    } catch (MalformedURLException e) {
708 708
                        // TODO Auto-generated catch block
709 709
                        e.printStackTrace();

Also available in: Unified diff