All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.intermine.objectstore.query.QueryPathExpressionWithSelect Maven / Gradle / Ivy

package org.intermine.objectstore.query;

/*
 * Copyright (C) 2002-2022 FlyMine
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  See the LICENSE file for more
 * information or http://www.gnu.org/copyleft/lesser.html.
 *
 */

/**
 * A Path Expression that has a Select list.
 *
 * @author Matthew Wakeling
 */
public interface QueryPathExpressionWithSelect extends QueryPathExpression
{
    /**
     * Adds an element to the SELECT list. If the SELECT list is left empty, then the collection
     * will use default behaviour.
     *
     * @param selectable a QuerySelectable
     */
    void addToSelect(QuerySelectable selectable);

    /**
     * Returns the QueryClass of which the field is a member.
     *
     * @return a QueryClass
     */
    QueryClass getQueryClass();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy