docs: public void setPTableRef(PTable pTable, PhysicalDatabaseParent dbOwner)
      {
          m_pTable = pTable;
          if (pTable == null)
              if (dbOwner != null)
          {
              FieldList record = this.getRecord();
              if (record != null)
              {
                  PDatabase pDatabase = dbOwner.getPDatabase(record.getDatabaseName(), ThinPhysicalDatabase.MEMORY_TYPE, true);
                  pDatabase.addPDatabaseOwner(this);
                  if (pDatabase != null)
                      pTable = pDatabase.getPTable(record, true);
                  pTable.addPTableOwner(this);
                  m_pTable = pTable;
              }
          }
      }