code: private void addInverseLinkValue(String targetObjID) {
          int shardNo = m_tableDef.getShardNumber(m_dbObj);
          if (shardNo > 0 && m_invLinkDef.isSharded()) {
              m_dbTran.addShardedLinkValue(targetObjID, m_invLinkDef, m_dbObj.getObjectID(), shardNo);
          } else {
              m_dbTran.addLinkValue(targetObjID, m_invLinkDef, m_dbObj.getObjectID());
          }
          
          // Add the "_ID" field to the inverse object's primary record.
          m_dbTran.addIDValueColumn(m_invTableDef, targetObjID);
          
          // Add the target object's ID to its all-objects row.
          int targetShardNo = getTargetObjectShardNumber(targetObjID);
          m_dbTran.addAllObjectsColumn(m_invTableDef, targetObjID, targetShardNo);
      }
docs: for the inverse reference.