svn-gvsig-desktop / tags / J2ME_compat_v1_2_Build_1209 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / rendering / sld2gvl / filters / CompareFilter.java @ 19509
History | View | Annotate | Download (617 Bytes)
1 |
package com.iver.cit.gvsig.fmap.rendering.sld2gvl.filters; |
---|---|
2 |
|
3 |
import com.hardcode.gdbms.engine.values.Value; |
4 |
|
5 |
public class CompareFilter implements Filter{ |
6 |
private Value left;
|
7 |
private Value right;
|
8 |
private String type; |
9 |
public CompareFilter(String type) { |
10 |
this.type=type;
|
11 |
} |
12 |
public void addLeftValue(Value value) { |
13 |
left=value; |
14 |
} |
15 |
public void addRightValue(Value value) { |
16 |
right=value; |
17 |
} |
18 |
public Value getLeftValue() {
|
19 |
return left;
|
20 |
} |
21 |
public Value getRightValue() {
|
22 |
return right;
|
23 |
} |
24 |
public int getNumFilters() { |
25 |
return 1; |
26 |
} |
27 |
public String getType() { |
28 |
return type;
|
29 |
} |
30 |
} |