24 lines
491 B
Java
24 lines
491 B
Java
package com.dbgen;
|
|
|
|
import org.w3c.dom.Element;
|
|
|
|
import java.io.File;
|
|
import java.util.List;
|
|
|
|
public final class Project extends Naming {
|
|
Project(Root root, Element self) throws Exception {
|
|
super(root, self);
|
|
}
|
|
|
|
Ldb getLdb() {
|
|
List<Ldb> list = getChildren(Ldb.class);
|
|
return list.isEmpty() ? null : list.get(0);
|
|
}
|
|
|
|
public void make() {
|
|
Ldb ldb = getLdb();
|
|
if (ldb != null)
|
|
Ldbgen.make(ldb, LdbMain.outputPath);
|
|
}
|
|
}
|