/* (non-Javadoc)
   * @see org.dspace.browse.BrowseDAO#setTable(java.lang.String)
   */
  public void setTable(String table) {
    this.table = table;

    // FIXME Rather than assume from the browse table, join the query to item to get the correct
    // values
    // Check to see if this is the withdrawn browse index - if it is,
    // we need to set the flags appropriately for when we create the BrowseItems
    if (table.equals(BrowseIndex.getWithdrawnBrowseIndex().getTableName())) {
      itemsInArchive = false;
      itemsWithdrawn = true;
    } else {
      itemsInArchive = true;
      itemsWithdrawn = false;
    }

    this.rebuildQuery = true;
  }