final InfoSite infoSite = InfoSite.newInfoFromDomain(section.getSite()); infoSite.setInfoExecutionCourse(InfoExecutionCourse.newInfoFromDomain(section.getSite().getExecutionCourse()));
ExecutionCourseSite site = (ExecutionCourseSite) section.getSite(); final InfoSite infoSite = InfoSite.newInfoFromDomain(site); infoSite.setInfoExecutionCourse(InfoExecutionCourse.newInfoFromDomain(site.getExecutionCourse()));
    public void copyFromDomain(Section section) {        super.copyFromDomain(section);        if (section != null) {            final InfoSite infoSite = InfoSite.newInfoFromDomain(section.getSite());            infoSite.setInfoExecutionCourse(InfoExecutionCourse.newInfoFromDomain(section.getSite().getExecutionCourse()));            setInfoSite(infoSite);            if (section.getSuperiorSection() != null) {                setSuperiorInfoSection(InfoSectionWithAll                        .newInfoFromDomain(section.getSuperiorSection()));            }        }    }