code: public Integer getIndex4SqlTable(final SQLTable _sqlTable)
      {
          final Integer ret;
          if (this.sqlTable2Index.containsKey(_sqlTable)) {
              ret = this.sqlTable2Index.get(_sqlTable);
          } else {
              Integer max = 0;
              for (final Integer index : this.sqlTable2Index.values()) {
                  if (index > max) {
                      max = index;
                  }
              }
              ret = max + 1;
              this.sqlTable2Index.put(_sqlTable, ret);
          }
          return ret;
      }
docs: Get the index for a SQLTable if the table is not existing the table is
  added and a new index given.
  
  @param _sqlTable SQLTable the index is wanted for
  @return index of the SQLTable