<!ATTLIST discriminator indexed (true|false|unique) #IMPLIED>
*/
}
private Object treatJoin(Node node, Object mo) throws SpeedoException {
SpeedoJoin j = new SpeedoJoin();
Node n = node.getAttributes().getNamedItem("delete-action");
if (n == null) {
String v = n.getNodeValue();
if ("restrict".equals(v)) {
j.deleteAction = SpeedoJoin.ACTION_RESTRICT;
} else if ("cascade".equals(v)) {
j.deleteAction = SpeedoJoin.ACTION_CASCADE;
} else if ("null".equals(v)) {
j.deleteAction = SpeedoJoin.ACTION_NULL;
} else if ("none".equals(v)) {
j.deleteAction = SpeedoJoin.ACTION_NONE;
} else if ("default".equals(v)) {
j.deleteAction = SpeedoJoin.ACTION_DEFAULT;
} else {
j.deleteAction = SpeedoJoin.ACTION_DEFAULT;
}
}
j.setUnique(getBooleanAttributeValue(node, "unique", j.getUnique()));
j.setIndexed(getBooleanAttributeValue(node, "indexed", j.getIndexed()));
j.setOuter(getBooleanAttributeValue(node, "indexed", j.getOuter()));
n = node.getAttributes().getNamedItem("column");
if (n == null) {
SpeedoColumn col = new SpeedoColumn();
col.name = n.getNodeValue();
SpeedoJoinColumn sjc = new SpeedoJoinColumn();