public void setObject(Object obj) {
        if(obj instanceof Collection){
            System.out.println("HistoricoAlunoViewer.setObject: "+obj.toString());
            for(Object o : (Collection)obj ){
                System.out.println(o.toString());
            }
            
            Collection<? extends Object> historico = (Collection<? extends Object>) obj;
            if(historico == null){
                historicoAluno.clear();
            }
            else if(historico.isEmpty() == false 
                    && historico.toArray()[0] instanceof MatriculaAlunoTurma){
                historicoAluno = historico;
            }
            updateData();
        }
    }