removeRoleIfPresent(person, RoleType.EMPLOYEE);
    private static void removeDependencies(Person person, Role removedRole) {        switch (removedRole.getRoleType()) {        case PERSON:            removeRoleIfPresent(person, RoleType.TEACHER);            removeRoleIfPresent(person, RoleType.EMPLOYEE);            removeRoleIfPresent(person, RoleType.STUDENT);            removeRoleIfPresent(person, RoleType.GEP);            removeRoleIfPresent(person, RoleType.GRANT_OWNER);            removeRoleIfPresent(person, RoleType.MANAGER);            removeRoleIfPresent(person, RoleType.OPERATOR);            removeRoleIfPresent(person, RoleType.TIME_TABLE_MANAGER);            removeRoleIfPresent(person, RoleType.WEBSITE_MANAGER);            removeRoleIfPresent(person, RoleType.FIRST_TIME_STUDENT);            break;        case TEACHER:            removeRoleIfPresent(person, RoleType.COORDINATOR);            removeRoleIfPresent(person, RoleType.DIRECTIVE_COUNCIL);            removeRoleIfPresent(person, RoleType.SEMINARIES_COORDINATOR);            removeRoleIfPresent(person, RoleType.EMPLOYEE);            break;        case EMPLOYEE:            removeRoleIfPresent(person, RoleType.DEGREE_ADMINISTRATIVE_OFFICE);            removeRoleIfPresent(person, RoleType.DEGREE_ADMINISTRATIVE_OFFICE_SUPER_USER);            removeRoleIfPresent(person, RoleType.DEPARTMENT_CREDITS_MANAGER);            removeRoleIfPresent(person, RoleType.GRANT_OWNER_MANAGER);            removeRoleIfPresent(person, RoleType.MASTER_DEGREE_ADMINISTRATIVE_OFFICE);            removeRoleIfPresent(person, RoleType.TREASURY);            removeRoleIfPresent(person, RoleType.CREDITS_MANAGER);            removeRoleIfPresent(person, RoleType.DEPARTMENT_MEMBER);            break;        case STUDENT:            removeRoleIfPresent(person, RoleType.DELEGATE);            break;        }    }