class ExecutionTransformer {

    public ExecutionWithCountryDeploymentsAndRunsAndExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO toFullyDetailledDto(Execution execution) {
        ExecutionWithCountryDeploymentsAndRunsAndExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO result = new ExecutionWithCountryDeploymentsAndRunsAndExecutedScenariosAndTeamIdsAndErrorsAndProblemsDTO();
        result.setId(0L);
        if (null != execution) {
            this.fillDto(result, execution);
            result.setCountryDeployments(countryDeploymentTransformer.toDtos(execution.getCountryDeployments()));
            result.setRuns(runTransformer.toFullyDetailledDtos(execution.getRuns()));
        }
        return result;
    }

}