Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / wfs / filters / Filter.java @ 40769

History | View | Annotate | Download (2.99 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
 
25
package org.gvsig.remoteclient.wfs.filters;
26
/**
27
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
28
 */
29
public interface Filter {
30
        //Concordancia values: Between 0 and 9
31
        public static final int CONCORDANCIA_EXACT = 0;
32
        public static final int CONCORDANCIA_ANY_WORD = 1;
33
        public static final int CONCORDANCIA_ALL_WORDS = 2;
34
        //Locgical operators: Between 10 and 19
35
        public static final int LOGICAL_OPERATOR_AND = 10;
36
        public static final int LOGICAL_OPERATOR_OR = 11;
37
        public static final int LOGICAL_OPERATOR_NOT = 12;
38
        //Geometric operators: Between 20 and 39
39
        public static final int GEOMETRIC_OPERATOR_EQUALS = 21;
40
        public static final int GEOMETRIC_OPERATOR_DISJOINT = 22;
41
        public static final int GEOMETRIC_OPERATOR_TOUCHES = 23;
42
        public static final int GEOMETRIC_OPERATOR_WITHIN = 24;
43
        public static final int GEOMETRIC_OPERATOR_OVERLAPS = 25;
44
        public static final int GEOMETRIC_OPERATOR_CROSSES = 26;
45
        public static final int GEOMETRIC_OPERATOR_INTERSECT = 27;
46
        public static final int GEOMETRIC_OPERATOR_CONTAINS = 28;
47
        public static final int GEOMETRIC_OPERATOR_DWITHIN = 29;
48
        public static final int GEOMETRIC_OPERATOR_BEYOND = 30;
49
        public static final int GEOMETRIC_OPERATOR_BBOX = 31;
50
        //Relational operator: Between 40 and 60
51
        public static final int RELATIONAL_OPERATOR_IS_EQUALS_TO = 40;
52
        public static final int RELATIONAL_OPERATOR_IS_NOT_EQUALS_TO = 41;
53
        public static final int RELATIONAL_OPERATOR_IS_LESS_THAN = 42;
54
        public static final int RELATIONAL_OPERATOR_IS_GREATER_THAN = 43;
55
        public static final int RELATIONAL_OPERATOR_IS_LESS_THAN_OR_EQUAL_TO = 44;
56
        public static final int RELATIONAL_OPERATOR_IS_GREATER_THAN_OR_EQUAL_TO = 45;
57
        public static final int RELATIONAL_OPERATOR_IS_LIKE = 46;
58
        public static final int RELATIONAL_OPERATOR_IS_NULL = 47;
59
        public static final int RELATIONAL_OPERATOR_IS_BETWEEN = 48;
60
        //Separators: Between 60 and 69
61
        public static final int SEPARATOR_OPENED = 60;
62
        public static final int SEPARATOR_CLOSED = 61; 
63
        //Other: greater that 70
64
        public static final int STRING_VALUE = 70;
65
        //BBOX
66
        public static final int BBOX_ENCLOSES = 81;
67
}
68