Ignore:
Timestamp:
02/03/16 23:24:10 (8 years ago)
Author:
Oliver Schonefeld
Message:
  • update/add copyright
  • fix typo in class name
  • minor changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCSSimpleEndpoint/trunk/src/main/java/eu/clarin/sru/server/fcs/parser/SimpleWithin.java

    r6882 r6935  
     1/**
     2 * This software is copyright (c) 2013-2016 by
     3 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
     4 * This is free software. You can redistribute it
     5 * and/or modify it under the terms described in
     6 * the GNU General Public License v3 of which you
     7 * should have received a copy. Otherwise you can download
     8 * it from
     9 *
     10 *   http://www.gnu.org/licenses/gpl-3.0.txt
     11 *
     12 * @copyright Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
     13 *
     14 * @license http://www.gnu.org/licenses/gpl-3.0.txt
     15 *  GNU General Public License v3
     16 */
    117package eu.clarin.sru.server.fcs.parser;
    218
     19
     20/**
     21 * A FCS-QL expression tree SIMPLE WITHIN query node.
     22 */
    323public class SimpleWithin extends QueryNode {
     24    /**
     25     * The within scope.
     26     */
    427    public enum Scope {
     28        /**
     29         * sentence scope (small).
     30         */
    531        SENTENCE {
    632            @Override
     
    1036
    1137        },
     38        /**
     39         * utterance scope (small).
     40         */
    1241        UTTERANCE {
    1342            @Override
     
    1746
    1847        },
     48        /**
     49         * paragraph scope (medium).
     50         */
    1951        PARAGRAPH {
    2052            @Override
     
    2456
    2557        },
     58        /**
     59         * turn scope (medium).
     60         */
    2661        TURN {
    2762            @Override
     
    3065            }
    3166        },
     67        /**
     68         * text scope (large).
     69         */
    3270        TEXT {
    3371            @Override
     
    3674            }
    3775        },
     76        /**
     77         * session scope (large).
     78         */
    3879        SESSION {
    3980            @Override
     
    4889
    4990
    50     public SimpleWithin(Scope scope) {
     91    /**
     92     * Constructor.
     93     *
     94     * @param scope
     95     *            the scope
     96     */
     97    SimpleWithin(Scope scope) {
    5198        super(QueryNodeType.SIMPLE_WITHIN);
    5299        this.scope = scope;
     
    54101
    55102
     103    /**
     104     * Get the simple within scope
     105     *
     106     * @return the simple within scope
     107     */
    56108    public Scope getScope() {
    57109        return scope;
Note: See TracChangeset for help on using the changeset viewer.