if (((Collection) newValue).stream().allMatch(o->o instanceof TermDto) ){
dtos = (List<TermDto>)newValue;
}
-// List<UUID> termUuids = dtos.stream().map(dto->dto.getUuid()).collect(Collectors.toList());
-// List<DefinedTermBase> terms = CdmStore.getService(ITermService.class).load(termUuids, null);
-// List<State> states = new ArrayList<>();
-// for (DefinedTermBase definedTermBase : terms) {
-// if(definedTermBase instanceof State){
-// states.add((State) definedTermBase);
-// }
-// }
+
rowWrapper.setDataValueForCategoricalData(feature.getUuid(), dtos);
matrix.putRowToMerge(rowWrapper);
}
.createTaxonDescription(descriptiveDataSet.getUuid(), node.getUuid(), getDescriptionType());
matrixPart.getMatrix().getCdmEntitiySession().load(taxonRowWrapperDTO.getDescription(), true);
matrixPart.getMatrix().getDescriptions().add(taxonRowWrapperDTO);
+ matrixPart.getMatrix().redraw();
}
protected abstract DescriptionType getDescriptionType();