Registration registration = createNewRegistration();   StudentCurricularPlan.createBolonhaStudentCurricularPlan(registration, ((DFACandidacy) candidacy).getExecutionDegree().getDegreeCurricularPlan(), StudentCurricularPlanState.ACTIVE, new YearMonthDay(), ExecutionPeriod .readActualExecutionPeriod());
Registration registration = createNewRegistration((DFACandidacy) candidacy);
    private void registerDFACandidacy(Candidacy candidacy) {	Person person = candidacy.getPerson();	Student student = person.getStudent();	if (student == null) {	    student = new Student(person);	}	// create registration	Registration registration = createNewRegistration();	// create scp	StudentCurricularPlan.createBolonhaStudentCurricularPlan(registration,		((DFACandidacy) candidacy).getExecutionDegree().getDegreeCurricularPlan(),		StudentCurricularPlanState.ACTIVE, new YearMonthDay(), ExecutionPeriod			.readActualExecutionPeriod());	createQualification();	((DFACandidacy) getCandidacy()).setRegistration(registration);    }