<commit_before>package  uk.ac.ebi.gxa.model;

import java.util.List;
import java.util.ArrayList;

/**
 * Simple search object, used to retrieve gene.
 * User: Andrey
 * Date: Oct 14, 2009
 * Time: 5:07:41 PM
 * To change this template use File | Settings | File Templates.
 */

public class GeneQuery extends AccessionQuery<GeneQuery> {

    private List<ExperimentQuery> experimentQueries = new ArrayList<ExperimentQuery>();
    private List<PropertyQuery> propertyQueries = new ArrayList<PropertyQuery>();
    private List<PropertyQuery> propertyNotQueries = new ArrayList<PropertyQuery>();

    public GeneQuery(){};

    public GeneQuery(AccessionQuery accessionQuery){
        super(accessionQuery);
    } 

    public GeneQuery usedInExperiments(ExperimentQuery experimentQuery) {
        experimentQueries.add(experimentQuery);
        return this;
    }

    public GeneQuery hasProperty(PropertyQuery propertyQuery) {
        propertyQueries.add(propertyQuery);
        return this;
    }

    public GeneQuery hasNotProperty(PropertyQuery propertyQuery) {
        propertyNotQueries.add(propertyQuery);
        return this;
    }

    public List<ExperimentQuery> getExperimentQueries() {
        return experimentQueries;
    }

    public List<PropertyQuery> getPropertyQueries() {
        return propertyQueries;
    }

}<commit_msg>DAO - GeneQuery - hasSpecies, getSpecies<commit_after>package  uk.ac.ebi.gxa.model;

import java.util.List;
import java.util.ArrayList;

/**
 * Simple search object, used to retrieve gene.
 * User: Andrey
 * Date: Oct 14, 2009
 * Time: 5:07:41 PM
 * To change this template use File | Settings | File Templates.
 */

public class GeneQuery extends AccessionQuery<GeneQuery> {
    private String species = null;

    private List<ExperimentQuery> experimentQueries = new ArrayList<ExperimentQuery>();
    private List<PropertyQuery> propertyQueries = new ArrayList<PropertyQuery>();
    private List<PropertyQuery> propertyNotQueries = new ArrayList<PropertyQuery>();

    public GeneQuery(){};

    public GeneQuery(AccessionQuery accessionQuery){
        super(accessionQuery);
    } 

    public GeneQuery usedInExperiments(ExperimentQuery experimentQuery) {
        experimentQueries.add(experimentQuery);
        return this;
    }

    public GeneQuery hasProperty(PropertyQuery propertyQuery) {
        propertyQueries.add(propertyQuery);
        return this;
    }

    public GeneQuery hasNotProperty(PropertyQuery propertyQuery) {
        propertyNotQueries.add(propertyQuery);
        return this;
    }

    public List<ExperimentQuery> getExperimentQueries() {
        return experimentQueries;
    }

    public List<PropertyQuery> getPropertyQueries() {
        return propertyQueries;
    }

    public GeneQuery hasSpecies(String species){
        this.species = species;
        return this;
    }

    public String getSpecies(){
        return this.species;
    }

}
{'fraction_non_alphanumeric': 0.08563630160354828, 'fraction_numerical': 0.007505970658478335, 'mean_word_length': 3.5598755832037323, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '1216148', 'n_tokens_mistral': 819, 'n_tokens_neox': 775, 'n_words': 196}