InfoGrantOwner infoGrantOwner) throws ExcepcaoPersistencia {
InfoGrantOwner infoGrantOwner, Integer maxNumber) throws ExcepcaoPersistencia {
    private GrantOwner prepareGrantOwner(GrantOwner grantOwner, Person person,            InfoGrantOwner infoGrantOwner) throws ExcepcaoPersistencia {        grantOwner.setPerson(person);        grantOwner.setCardCopyNumber(infoGrantOwner.getCardCopyNumber());        grantOwner.setDateSendCGD(infoGrantOwner.getDateSendCGD());        if (infoGrantOwner.getGrantOwnerNumber() == null) {            // Generate the GrantOwner's number            Integer maxNumber = GrantOwner.readMaxGrantOwnerNumber();            int aux = maxNumber + 1;            Integer nextNumber = Integer.valueOf(aux);            grantOwner.setNumber(nextNumber);        } else            grantOwner.setNumber(infoGrantOwner.getGrantOwnerNumber());        return grantOwner;    }