class ExecutedScenarioTransformer {

    ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO toFullyDetailledDto(ExecutedScenario scenario) {
        ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO result = new ExecutedScenarioWithTeamIdsAndErrorsAndProblemsDTO();
        result.setId(0L);
        if (null != scenario) {
            this.fillDto(result, scenario);
            result.setHandling(scenario.getHandling());
            result.setErrors(errorTransformer.toDtos(scenario.getErrors()));
        }
        return result;
    }

}