for (IPerson person : persons) { if (person.getNome().equals(personName)) {
for (IGrantOwner grantOwner : grantOwners) { if (grantOwner.getPerson().getNome().equals(personName)) {
    public Integer countAllGrantOwnerByName(String personName) {        List<IPerson> persons = (List<IPerson>) readAll(Person.class);        Integer result = 0;        for (IPerson person : persons) {            if (person.getNome().equals(personName)) {                result++;            }        }        return result;    }