/** * I'm done with the model, free the resources. * Note: This does not free the associated record. it just nulls the reference. * (although freeing the record will free this table). */ public void free() { if (m_record != null) // First, release the record for this table { // Do not free this.getFieldList() (may be current record) m_record.setTable(null); // Don't try to free me m_record.free(); m_record = null; } } /**
if (fieldListNew != null) fieldListNew.setTable(fieldList.getTable()); // This fakes JScreen into not linking to the remote DB fieldListNew.setEditMode(Constants.EDIT_ADD); if (fieldListNew != null) fieldListNew.setTable(null); // This fakes JScreen into not linking to the remote DB fieldListNew.setEditMode(Constants.EDIT_NONE);