}
}
public Class getCodeClass(String codeName) {
try {
EntityQuery query = new EntityQuery(CodeMeta.class, "CodeMeta");
query.add(new Condition("CodeMeta.engName=:name", codeName));
List rs = (List) entityDao.search(query);
if (1 != rs.size()) {
throw new RuntimeException("ClassNotFoundException:" + codeName + " is not defined!");
} else {
return Class.forName(codeName);