if(result != null) {
resultPerFE = new ArrayList<Object>();
for (Object o : result) {
Object[] arrObj = (Object[]) o;
if (arrObj[0] instanceof Agenda && arrObj[1] instanceof Mutuo) {
Agenda notaObj = (Agenda)arrObj[0];
Mutuo mutuoObj = (Mutuo)arrObj[1];
AgendaPerScadenziario notaPerFE = new AgendaPerScadenziario();
notaPerFE.setNota(notaObj);
notaPerFE.setNumeroMutuo(mutuoObj.getNumeroMutuo());
notaPerFE.setNumeroMutuoCustom(mutuoObj.getNumeroMutuoCustom());