<commit_before>/**
 * <p>Title: AdvanceSearchForm Class>
 * <p>Description:  This Class is used to encapsulate all the request parameters passed 
 * from ParticipantSearch.jsp/CollectionProtocolRegistrationSearch.jsp/
 * SpecimenCollectionGroupSearch.jsp & SpecimenSearch.jsp pages. </p>
 * Copyright:    Copyright (c) year
 * Company: Washington University, School of Medicine, St. Louis.
 * @author <NAME>
 * @version 1.00
 * Created on Jul 15, 2005
 */

package edu.wustl.catissuecore.actionForm;

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import edu.wustl.catissuecore.util.global.ApplicationProperties;
import edu.wustl.catissuecore.util.global.Validator;
import edu.wustl.common.beans.NameValueBean;
import edu.wustl.common.util.SearchUtil;

/**
 * This Class is used to encapsulate all the request parameters passed from Search Pages.
 * @author aniruddha_phadnis
 */
public class AdvanceSearchForm extends ActionForm
{
	/**
	 * A map that handles all the values of Advanced Search pages
	 */
    private Map values = new HashMap();
    
    /**
	 * A map that handles event parameters' data
	 */
    private Map eventMap = new HashMap();
    
    /**
	 * Objectname of the advancedConditionNode Object
	 */
    private String objectName=new String();
    
    /**
	 * Selected node from the query tree
	 */
    private String selectedNode = new String();
    
    /**
	 * A counter that holds the number of event parameter rows
	 */
    private int eventCounter = 1;
    
    
    String itemNodeId = "";
    
    /**
     * Returns the selected node from a query tree.
     * @return The selected node from a query tree.
     * @see #setSelectedNode(String)
     */
	public String getSelectedNode()<commit_msg>Fields added for configuration<commit_after>/**
 * <p>Title: AdvanceSearchForm Class>
 * <p>Description:  This Class is used to encapsulate all the request parameters passed 
 * from ParticipantSearch.jsp/CollectionProtocolRegistrationSearch.jsp/
 * SpecimenCollectionGroupSearch.jsp & SpecimenSearch.jsp pages. </p>
 * Copyright:    Copyright (c) year
 * Company: Washington University, School of Medicine, St. Louis.
 * @author <NAME>
 * @version 1.00
 * Created on Jul 15, 2005
 */

package edu.wustl.catissuecore.actionForm;

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import edu.wustl.catissuecore.util.global.ApplicationProperties;
import edu.wustl.catissuecore.util.global.Validator;
import edu.wustl.common.beans.NameValueBean;
import edu.wustl.common.util.SearchUtil;

/**
 * This Class is used to encapsulate all the request parameters passed from Search Pages.
 * @author aniruddha_phadnis
 */
public class AdvanceSearchForm extends ActionForm
{
	/**
	 * @return Returns the columnNames.
	 */
	public String[] getColumnNames() {
		return columnNames;
	}
	/**
	 * @param columnNames The columnNames to set.
	 */
	public void setColumnNames(String[] columnNames) {
		this.columnNames = columnNames;
	}
	/**
	 * @return Returns the selectedColumnNames.
	 */
	public String[] getSelectedColumnNames() {
		return selectedColumnNames;
	}
	/**
	 * @param selectedColumnNames The selectedColumnNames to set.
	 */
	public void setSelectedColumnNames(String[] selectedColumnNames) {
		this.selectedColumnNames = selectedColumnNames;
	}
	/**
	 * @return Returns the tableName.
	 */
	public String getTableName() {
		return tableName;
	}
	/**
	 * @param tableName The tableName to set.
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	/**
	 * A map that handles all the values of Advanced Search pages
	 */
    private Map values = new HashMap();
    
    /**
	 * A map that handles event parameters' data
	 */
    private Map eventMap = new HashMap();
    
    /**
	 * Objectname of the advancedConditionNode Object
	 */
    private String objectName=new String();
    
    /**
	 * Selected node from the query tree
	 */
    private String selectedNode = new String();
    
    /**
	 * A counter that holds the number of event parameter rows
	 */
    private int eventCounter = 1;
    
    
    String itemNodeId = "";
    
    //Variables neccessary for Configuration of Advance Search Results 
    
     private String tableName;
     private String []selectedColumnNames;
     private String []columnNames;
    
    /**
     * Returns the selected node from a query tree.
     * @return The selected node from a query tree.
     * @see #setSelectedNode(String)
     */
	public String getSelectedNode()
{'fraction_non_alphanumeric': 0.0957573354480571, 'fraction_numerical': 0.003965107057890563, 'mean_word_length': 3.561482820976492, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6648047', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1412, 'n_words': 436}