code: @Override
      public int join(final OneSelect _oneSelect,
                      final SQLSelect _select,
                      final int _relIndex)
      {
          final int relIndex = super.join(_oneSelect, _select, _relIndex);
          Integer ret;
          ret = _oneSelect.getTableIndex(AbstractStoreResource.TABLENAME_STORE, "ID", relIndex, null);
          if (ret == null) {
              ret = _oneSelect.getNewTableIndex(AbstractStoreResource.TABLENAME_STORE, "ID", relIndex, null);
              _select.leftJoin(AbstractStoreResource.TABLENAME_STORE, ret, "ID", relIndex, "ID");
          }
          _select.column(ret, "ID");
          return ret;
      }
docs: {@inheritDoc}