aliquot.setGroupDescription(sample.getGroupDescription()); aliquot.setSampleClass(sampleClassService.getAll().stream() .filter(sampleClass -> {
dto.setGroupId(from.getGroupId()); if (from.getGroupDescription() != null) { dto.setGroupDescription(from.getGroupDescription());
DetailedSample dSource = (DetailedSample) source; dTarget.setArchived(dSource.getArchived()); dTarget.setGroupDescription(dSource.getGroupDescription()); dTarget.setGroupId(dSource.getGroupId()); dTarget.setCreationDate(dSource.getCreationDate());