/*
 * The Gemma project
 * 
 * Copyright (c) 2006 University of British Columbia
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package ubic.gemma.web.controller.diff;

import java.io.Serializable;
import java.util.Collection;

import org.apache.commons.lang.StringUtils;

/**
 * @author keshav
 * @version $Id$
 */
public class DiffExpressionSearchCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    /* analysis */
    private Collection<Long> geneIds;

    private Double threshold;

    private Long taxonId;

    /* meta analysis */
    private Collection<Long> eeIds;

    public Collection<Long> getGeneIds() {
        return geneIds;
    }

    public void setGeneIds( Collection<Long> geneIds ) {
        this.geneIds = geneIds;
    }

    public Long getTaxonId() {
        return taxonId;
    }

    public void setTaxonId( Long taxonId ) {
        this.taxonId = taxonId;
    }

    public Double getThreshold() {
        return threshold;
    }

    public void setThreshold( Double threshold ) {
        this.threshold = threshold;
    }

    public Collection<Long> getEeIds() {
        return eeIds;
    }

    public void setEeIds( Collection<Long> eeIds ) {
        this.eeIds = eeIds;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "GeneIds=" + StringUtils.join( getGeneIds(), "," ) + " taxon=" + getTaxonId() + " Threshold="
                + threshold;
    }
}

@@ -1125,24 +1125,581 @@
 ng%3E eeIds;%0A%0A
+    private String eeQuery;%0A    %0A    private Long eeSetId;%0A    %0A    private String eeSetName;%0A    %0A    public String getEeQuery() %7B%0A        return eeQuery;%0A    %7D%0A%0A    public void setEeQuery( String eeQuery ) %7B%0A        this.eeQuery = eeQuery;%0A    %7D%0A%0A    public Long getEeSetId() %7B%0A        return eeSetId;%0A    %7D%0A%0A    public void setEeSetId( Long eeSetId ) %7B%0A        this.eeSetId = eeSetId;%0A    %7D%0A%0A    public String getEeSetName() %7B%0A        return eeSetName;%0A    %7D%0A%0A    public void setEeSetName( String eeSetName ) %7B%0A        this.eeSetName = eeSetName;%0A    %7D%0A%0A
     public C

fix for missing command object properties that the server was passing back