Project

General

Profile

« Previous | Next » 

Revision 4a3c0817

Added by Andreas Kohlbecker almost 7 years ago

ref #6724 SpecimenTypeDesignationWorkingsetEditor with Types sub section for contained SpecimenTypeDesignation

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/model/registration/SpecimenTypeDesignationWorkingSetDTO.java
8 8
*/
9 9
package eu.etaxonomy.cdm.vaadin.model.registration;
10 10

  
11
import java.util.ArrayList;
11 12
import java.util.List;
12 13
import java.util.Set;
13 14

  
......
36 37

  
37 38
    List<SpecimenTypeDesignation> specimenTypeDesignations;
38 39

  
40
    List<SpecimenTypeDesignationDTO> specimenTypeDesignationsDTOs = new ArrayList<>();
41

  
39 42
    VersionableEntity owner;
40 43

  
41 44
    /**
......
53 56
            }
54 57
        }
55 58
        this.specimenTypeDesignations = specimenTypeDesignations;
59
        specimenTypeDesignations.forEach(std -> specimenTypeDesignationsDTOs.add(new SpecimenTypeDesignationDTO(std)));
56 60
    }
57 61

  
58 62
    /**
......
80 84
        return specimenTypeDesignations;
81 85
    }
82 86

  
87
    public List<SpecimenTypeDesignationDTO> getSpecimenTypeDesignationDTOs(){
88
        return specimenTypeDesignationsDTOs;
89
    }
90

  
83 91
    /**
84 92
     * The IdentifiableEntity which contains the DerivedUnit in this working set.
85 93
     *

Also available in: Unified diff