IEnrolment enrolment = null;
IEnrollment enrolment = null;
    public static IFrequenta copyInfoFrequenta2IFrequenta(InfoFrequenta infoFrequenta)    {        IFrequenta frequenta = new Frequenta();        InfoStudent infoStudent = infoFrequenta.getAluno();        IStudent student = Cloner.copyInfoStudent2IStudent(infoStudent);        InfoExecutionCourse infoExecutionCourse = infoFrequenta.getDisciplinaExecucao();        IExecutionCourse disciplinaExecucao =            Cloner.copyInfoExecutionCourse2ExecutionCourse(infoExecutionCourse);        InfoEnrolment infoEnrolment = infoFrequenta.getInfoEnrolment();        IEnrolment enrolment = null;        if (infoEnrolment != null)        {            enrolment = Cloner.copyInfoEnrolment2IEnrolment(infoEnrolment);        }        frequenta.setIdInternal(infoFrequenta.getIdInternal());        frequenta.setAluno(student);        frequenta.setDisciplinaExecucao(disciplinaExecucao);        frequenta.setEnrolment(enrolment);        return frequenta;    }