setSQLBlocks(om, type, role, blocks);
setSQLBlocks(om, ev, type, role, blocks);
    private void addEvent(ObjectMap om, EventNd ev, EventNd.Type type,			  String role) {        if (type.equals(EventNd.RETRIEVE) &&            role != null) {            Mapping m = getMapping(om, role);            m.setRetrieve(getBlock(ev));            return;        } else if (type.equals(EventNd.RETRIEVE_ALL)) {            om.setRetrieveAll(getBlock(ev));            return;        }        ArrayList blocks = new ArrayList();        for (Iterator it = ev.getSQL().iterator(); it.hasNext(); ) {            SQLBlockNd nd = (SQLBlockNd) it.next();            blocks.add(getBlock(nd));        }        setSQLBlocks(om, type, role, blocks);    }