Revision 3069 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/querys/WFSGQuery.java
WFSGQuery.java | ||
---|---|---|
49 | 49 |
public class WFSGQuery extends Query implements IQuery{ |
50 | 50 |
|
51 | 51 |
public WFSGQuery(Query query){ |
52 |
super(query.getName(),query.getNameFilter(),query.getFeature(),query.getRecsByPage(), |
|
52 |
super(query.getName(),query.getNameFilter(),query.getFeature(),query.getFieldAttribute() ,query.getRecsByPage(),
|
|
53 | 53 |
query.getCoordinates(),query.getCoordinatesFilter()); |
54 | 54 |
} |
55 | 55 |
/** |
... | ... | |
60 | 60 |
* @param coordinates |
61 | 61 |
* @param coordinatesFilter |
62 | 62 |
*/ |
63 |
public WFSGQuery(String name, String nameFilter, ThesaurusName feature, int recsByPage, Coordinates coordinates, String coordinatesFilter) { |
|
64 |
super(name, nameFilter, feature, recsByPage, coordinates, coordinatesFilter); |
|
63 |
public WFSGQuery(String name, String nameFilter, ThesaurusName feature,String attribute, int recsByPage, Coordinates coordinates, String coordinatesFilter) {
|
|
64 |
super(name, nameFilter, feature, attribute, recsByPage, coordinates, coordinatesFilter);
|
|
65 | 65 |
// TODO Auto-generated constructor stub |
66 | 66 |
} |
67 | 67 |
|
... | ... | |
76 | 76 |
|
77 | 77 |
|
78 | 78 |
if (getName() != null) { |
79 |
query.addClauses("text", getName(), getNameFilter(),
|
|
79 |
query.addClauses( this.getFieldAttribute(), getName(), getNameFilter(),
|
|
80 | 80 |
"PropertyIsLike", "L", "And"); |
81 | 81 |
} |
82 |
|
|
82 | 83 |
/* |
83 | 84 |
if (this.getFeature() != null) { |
84 | 85 |
query.addClauses(equiv.getAbstract(), "*" + getAbstract() + "*", |
Also available in: Unified diff