j.setUnique(getBooleanAttributeValue(joinNode, "unique", j.getUnique()));
j.setIndexed(getBooleanAttributeValue(joinNode, "indexed", j.getIndexed()));
j.setOuter(getBooleanAttributeValue(joinNode, "indexed", j.getOuter()));
n = joinNode.getAttributes().getNamedItem("column");
if (n != null) {
SpeedoJoinColumn sjc = new SpeedoJoinColumn(new SpeedoColumn(n.getNodeValue()));
j.columns.add(sjc);
}
Map joinChildren = groupChildrenByName(joinNode);
List l = (List) joinChildren.get("column");
if (l != null) {
for (int i = 0; i < l.size(); i++) {
j.columns.add(new SpeedoJoinColumn(getColumn((Node) l.get(i))));
}
}
n = joinNode.getAttributes().getNamedItem("table");
String tableName = null;
if (n != null) {