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 @ 40559

History | View | Annotate | Download (3.93 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
/* gvSIG. Geographic Information System of the Valencian Government
25
*
26
* Copyright (C) 2007-2008 Infrastructures and Transports Department
27
* of the Valencian Government (CIT)
28
* 
29
* This program is free software; you can redistribute it and/or
30
* modify it under the terms of the GNU General Public License
31
* as published by the Free Software Foundation; either version 2
32
* of the License, or (at your option) any later version.
33
* 
34
* This program is distributed in the hope that it will be useful,
35
* but WITHOUT ANY WARRANTY; without even the implied warranty of
36
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37
* GNU General Public License for more details.
38
* 
39
* You should have received a copy of the GNU General Public License
40
* along with this program; if not, write to the Free Software
41
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
42
* MA  02110-1301, USA.
43
* 
44
*/
45

    
46
/*
47
* AUTHORS (In addition to CIT):
48
* 2009 {Iver T.I.}   {Task}
49
*/
50
 
51
package org.gvsig.remoteclient.wfs.filters;
52
/**
53
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
54
 */
55
public interface Filter {
56
        //Concordancia values: Between 0 and 9
57
        public static final int CONCORDANCIA_EXACT = 0;
58
        public static final int CONCORDANCIA_ANY_WORD = 1;
59
        public static final int CONCORDANCIA_ALL_WORDS = 2;
60
        //Locgical operators: Between 10 and 19
61
        public static final int LOGICAL_OPERATOR_AND = 10;
62
        public static final int LOGICAL_OPERATOR_OR = 11;
63
        public static final int LOGICAL_OPERATOR_NOT = 12;
64
        //Geometric operators: Between 20 and 39
65
        public static final int GEOMETRIC_OPERATOR_EQUALS = 21;
66
        public static final int GEOMETRIC_OPERATOR_DISJOINT = 22;
67
        public static final int GEOMETRIC_OPERATOR_TOUCHES = 23;
68
        public static final int GEOMETRIC_OPERATOR_WITHIN = 24;
69
        public static final int GEOMETRIC_OPERATOR_OVERLAPS = 25;
70
        public static final int GEOMETRIC_OPERATOR_CROSSES = 26;
71
        public static final int GEOMETRIC_OPERATOR_INTERSECT = 27;
72
        public static final int GEOMETRIC_OPERATOR_CONTAINS = 28;
73
        public static final int GEOMETRIC_OPERATOR_DWITHIN = 29;
74
        public static final int GEOMETRIC_OPERATOR_BEYOND = 30;
75
        public static final int GEOMETRIC_OPERATOR_BBOX = 31;
76
        //Relational operator: Between 40 and 60
77
        public static final int RELATIONAL_OPERATOR_IS_EQUALS_TO = 40;
78
        public static final int RELATIONAL_OPERATOR_IS_NOT_EQUALS_TO = 41;
79
        public static final int RELATIONAL_OPERATOR_IS_LESS_THAN = 42;
80
        public static final int RELATIONAL_OPERATOR_IS_GREATER_THAN = 43;
81
        public static final int RELATIONAL_OPERATOR_IS_LESS_THAN_OR_EQUAL_TO = 44;
82
        public static final int RELATIONAL_OPERATOR_IS_GREATER_THAN_OR_EQUAL_TO = 45;
83
        public static final int RELATIONAL_OPERATOR_IS_LIKE = 46;
84
        public static final int RELATIONAL_OPERATOR_IS_NULL = 47;
85
        public static final int RELATIONAL_OPERATOR_IS_BETWEEN = 48;
86
        //Separators: Between 60 and 69
87
        public static final int SEPARATOR_OPENED = 60;
88
        public static final int SEPARATOR_CLOSED = 61; 
89
        //Other: greater that 70
90
        public static final int STRING_VALUE = 70;
91
        //BBOX
92
        public static final int BBOX_ENCLOSES = 81;
93
}
94