Project

General

Profile

« Previous | Next » 

Revision 3971a637

Added by Katja Luther over 5 years ago

ref #7854: adapt DTOs and merge Method for Distributions

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/TaxonDescriptionDTO.java
30 30
    Set<TaxonDescription> descriptions = new HashSet();
31 31

  
32 32
    public TaxonDescriptionDTO(Taxon taxon){
33
      //  this.taxon = taxon;
33
       this.taxonUUID = taxon.getUuid();
34 34
        for (TaxonDescription desc: taxon.getDescriptions()){
35 35
            for (DescriptionElementBase element: desc.getElements()){
36 36
                if (element instanceof Distribution){

Also available in: Unified diff