person.addPersonRoleByRoleType(RoleType.STUDENT);
    public Registration run(PersonBean personBean, ExecutionDegreeBean executionDegreeBean,	    PrecedentDegreeInformationBean precedentDegreeInformationBean,	    IngressionInformationBean ingressionInformationBean) {	// create person	Person person = new Person(personBean);	// create student	new Student(person);	// create candidacy	StudentCandidacy studentCandidacy = StudentCandidacy.createStudentCandidacy(executionDegreeBean		.getExecutionDegree(), person);	new RegisteredCandidacySituation(studentCandidacy);	//set ingression information	studentCandidacy.setIngression(ingressionInformationBean.getIngression().getName());	studentCandidacy.setEntryPhase(ingressionInformationBean.getEntryPhase());		// edit precedent degree information	studentCandidacy.getPrecedentDegreeInformation().edit(precedentDegreeInformationBean);	// create registration	Registration registration = new Registration(person, StudentKind.readByStudentType(StudentType.NORMAL), executionDegreeBean		.getDegreeCurricularPlan(), studentCandidacy);	// create qualification	new Qualification(person, studentCandidacy.getPrecedentDegreeInformation());	// add roles	person.addPersonRoleByRoleType(RoleType.PERSON);	person.addPersonRoleByRoleType(RoleType.STUDENT);	return registration;    }