コード例 #1
0
 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;
 }
コード例 #2
0
 // Overridden
 protected DbObject getDbParent(DbObject dbo, int which) throws DbException {
   return (DbObject) dbo.get(DbObject.fComposite, which);
 }