Revision 10392 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wfs/filters/AFilter.java
AFilter.java | ||
---|---|---|
60 | 60 |
private String currentClause; |
61 | 61 |
private ISQLExpressionFormat formatter; |
62 | 62 |
private Rectangle2D bbox = null; |
63 |
private String bboxPropertyName = null; |
|
64 |
private String srs = null; |
|
63 | 65 |
private int bboxOption = -1; |
64 | 66 |
//Concordancia values: Between 0 and 9 |
65 | 67 |
public static final int CONCORDANCIA_EXACT = 0; |
... | ... | |
119 | 121 |
} |
120 | 122 |
} |
121 | 123 |
|
122 |
public void setBBox(Rectangle2D bbox,int option){ |
|
123 |
this.bbox = bbox; |
|
124 |
this.bboxOption = option; |
|
124 |
public void setBBox(Rectangle2D bbox,String bboxPropertyName, String srs, int option){ |
|
125 |
if ((bbox != null) && (bboxPropertyName != null) &&(srs != null)){ |
|
126 |
this.bbox = bbox; |
|
127 |
this.bboxOption = option; |
|
128 |
this.srs = srs; |
|
129 |
this.bboxPropertyName = bboxPropertyName; |
|
130 |
} |
|
125 | 131 |
} |
126 | 132 |
|
127 | 133 |
public void addClause(String value){ |
... | ... | |
357 | 363 |
*/ |
358 | 364 |
public int getBboxOption() { |
359 | 365 |
return bboxOption; |
366 |
} |
|
367 |
|
|
368 |
public String getBboxPropertyName() { |
|
369 |
return bboxPropertyName; |
|
370 |
} |
|
371 |
|
|
372 |
public void setBboxPropertyName(String bboxPropertyName) { |
|
373 |
this.bboxPropertyName = bboxPropertyName; |
|
374 |
} |
|
375 |
|
|
376 |
public String getSrs() { |
|
377 |
return srs; |
|
378 |
} |
|
379 |
|
|
380 |
public void setSrs(String srs) { |
|
381 |
this.srs = srs; |
|
360 | 382 |
} |
361 | 383 |
|
362 | 384 |
|
Also available in: Unified diff