sel.setColumn( table.defineColumn(prop.getColumn().getColumnName()) );
sel.setColumn(table.defineColumn(prop.getColumn()));
    void buildQuery() {        Query query = getQuery();        Set elements = getJoinElements();        for (Iterator it = elements.iterator(); it.hasNext(); ) {            JoinElement je = (JoinElement) it.next();            Column from = defineTable(je.getFrom().getTableName()).                         defineColumn(je.getFrom().getColumnName());            Column to   = defineTable(je.getTo().getTableName()).                         defineColumn(je.getTo().getColumnName());            query.addCondition(new Condition(from, to));        }        for (Iterator it = getSelections().iterator(); it.hasNext(); ) {            Selection sel = (Selection) it.next();            Property prop = sel.getProperty();            Table table = defineTable(prop.getColumn().getTableName());            sel.setColumn(                table.defineColumn(prop.getColumn().getColumnName())                );        }    }