this.name = name;
try {
if (res.hasAttr("r_object_id")) {
IDfId id = res.getId("r_object_id");
IDfPersistentObject obj = ((DctmConnection)getConnection()).getSession().getObject(id);
this.meta = new DctmMeta(getDriver(),obj.enumAttrs());
loadData(obj);
} else {
loadData(res);
}
} catch (DfException e) {