miduo_server/jieling-dbgen/src/main/java/com/dbgen/Ldb.java

37 lines
641 B
Java

package com.dbgen;
import org.w3c.dom.Element;
import java.util.Collection;
import java.util.List;
public class Ldb extends Naming {
private static void compile(Ldb zdb) throws Exception {
Collection<Naming> unresoloved = zdb.getRoot().compile();
if (!unresoloved.isEmpty()) {
throw new Exception("has unresolved symobls");
}
}
private Ldb(Root root, Element self) throws Exception {
super(root, self);
}
public Ldb(Project parent, Element self) throws Exception {
super(parent, self);
}
private Ldb(Root root) {
super(root, "");
}
public List<Jbean> getJbeans() {
return getChildren(Jbean.class);
}
}