protected String getEditText(DbObject dbParent, DbObject dbo) throws DbException { MetaField editableMetafield = getEditableMetaField(dbo); String editText = null; if (editableMetafield == null) editText = dbo.getName(); else editText = (String) dbo.get(editableMetafield); return editText == null ? "" : editText; }
// Overridden protected DbObject getDbParent(DbObject dbo, int which) throws DbException { return (DbObject) dbo.get(DbObject.fComposite, which); }