<commit_before>package gov.nih.nci.cabig.caaers.dao;

import edu.nwu.bioinformatics.commons.CollectionUtils;
import gov.nih.nci.cabig.caaers.domain.Investigator;
import gov.nih.nci.cabig.caaers.domain.Organization;
import gov.nih.nci.cabig.caaers.domain.SiteInvestigator;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * This class implements the Data access related operations for the SiteInvestigator domain object.
 * 
 * @author Kulasekaran
 */
public class SiteInvestigatorDao extends GridIdentifiableDao<SiteInvestigator> {

    private static final List<String> SUBSTRING_MATCH_PROPERTIES = Arrays.asList(
                    "investigator.firstName", "investigator.lastName");
    
    private static final List<String> NCIIDENTIFIER_MATCH_PROPERTIES = Arrays.asList("investigator.nci_identifier");

    private static final List<String> EXACT_MATCH_PROPERTIES = Collections.emptyList();

    private static final List<Object> EXTRA_PARAMS = Collections.emptyList();

    /**
     * Get the Class representation of the domain object that this DAO is representing.
     * 
     * @return Class representation of the domain object that this DAO is representing.
     */
    public Class<SiteInvestigator> domainClass() {
        return SiteInvestigator.class;
    }

    /**
     * Get Site investigator belonging to specified organization.
     * 
     * @param organization
     *                The organization.
     * @param investigator
     *                The investigator.
     * @return The site investigator.
     */
    @SuppressWarnings("unchecked")<commit_msg>Fixed the table to class identification<commit_after>package gov.nih.nci.cabig.caaers.dao;

import edu.nwu.bioinformatics.commons.CollectionUtils;
import gov.nih.nci.cabig.caaers.domain.Investigator;
import gov.nih.nci.cabig.caaers.domain.Organization;
import gov.nih.nci.cabig.caaers.domain.SiteInvestigator;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * This class implements the Data access related operations for the SiteInvestigator domain object.
 * 
 * @author Kulasekaran
 */
public class SiteInvestigatorDao extends GridIdentifiableDao<SiteInvestigator> {

    private static final List<String> SUBSTRING_MATCH_PROPERTIES = Arrays.asList(
                    "investigator.firstName", "investigator.lastName");
    
    private static final List<String> NCIIDENTIFIER_MATCH_PROPERTIES = Arrays.asList("investigator.nciIdentifier");

    private static final List<String> EXACT_MATCH_PROPERTIES = Collections.emptyList();

    private static final List<Object> EXTRA_PARAMS = Collections.emptyList();

    /**
     * Get the Class representation of the domain object that this DAO is representing.
     * 
     * @return Class representation of the domain object that this DAO is representing.
     */
    public Class<SiteInvestigator> domainClass() {
        return SiteInvestigator.class;
    }

    /**
     * Get Site investigator belonging to specified organization.
     * 
     * @param organization
     *                The organization.
     * @param investigator
     *                The investigator.
     * @return The site investigator.
     */
    @SuppressWarnings("unchecked")
{'fraction_non_alphanumeric': 0.08458473797119215, 'fraction_numerical': 0.0, 'mean_word_length': 3.4347826086956523, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4673486', 'n_tokens_mistral': 957, 'n_tokens_neox': 906, 'n_words': 228}