Changeset 6935 for FCSSimpleEndpoint/trunk/src/main/java/eu/clarin/sru/server/fcs/parser/SimpleWithin.java
- Timestamp:
- 02/03/16 23:24:10 (8 years ago)
- 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 */ 1 17 package eu.clarin.sru.server.fcs.parser; 2 18 19 20 /** 21 * A FCS-QL expression tree SIMPLE WITHIN query node. 22 */ 3 23 public class SimpleWithin extends QueryNode { 24 /** 25 * The within scope. 26 */ 4 27 public enum Scope { 28 /** 29 * sentence scope (small). 30 */ 5 31 SENTENCE { 6 32 @Override … … 10 36 11 37 }, 38 /** 39 * utterance scope (small). 40 */ 12 41 UTTERANCE { 13 42 @Override … … 17 46 18 47 }, 48 /** 49 * paragraph scope (medium). 50 */ 19 51 PARAGRAPH { 20 52 @Override … … 24 56 25 57 }, 58 /** 59 * turn scope (medium). 60 */ 26 61 TURN { 27 62 @Override … … 30 65 } 31 66 }, 67 /** 68 * text scope (large). 69 */ 32 70 TEXT { 33 71 @Override … … 36 74 } 37 75 }, 76 /** 77 * session scope (large). 78 */ 38 79 SESSION { 39 80 @Override … … 48 89 49 90 50 public SimpleWithin(Scope scope) { 91 /** 92 * Constructor. 93 * 94 * @param scope 95 * the scope 96 */ 97 SimpleWithin(Scope scope) { 51 98 super(QueryNodeType.SIMPLE_WITHIN); 52 99 this.scope = scope; … … 54 101 55 102 103 /** 104 * Get the simple within scope 105 * 106 * @return the simple within scope 107 */ 56 108 public Scope getScope() { 57 109 return scope;
Note: See TracChangeset
for help on using the changeset viewer.