Revision 2658 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/querys/CSWQuery.java

View differences:

CSWQuery.java
42 42
		FilterEncoding query = new FilterEncoding("ogc:","*","#","!","xmlns:ogc=\"http://www.opengis.net/ogc\"");
43 43

  
44 44
		if (this.getTitle() != null) 
45
			query.addClauses("title",this.getTitle(),getOperator(this.getTitleFilter()));
45
			query.addClauses("Title",this.getTitle(),this.getTitleFilter());
46 46
		
47 47
		if (this.getAbstract() != null) 
48
			query.addClauses("abstract",this.getAbstract(),"E");
48
			query.addClauses("Abstract",this.getAbstract(),"E");
49 49
		
50
		if (this.getThemeKey() != null) 
51
			//query.addClauses("2002", "6", "3", this.getThemeKey(),"Y");
52
							
53
		if (this.getScale() != null) 
54
			//query.addClauses("1024", "109", "1", this.getScale(),"E");
50 55
		
56
		if (this.getProvider() != null) 
57
			//query.addClauses("1005", "6", "3",this.getProvider(),"E");
58
		
59
		//Beginning Date  (begdate, 2072), Date(210)
60
		if (this.getDateFrom() != null) 
61
			//query.addClauses("Modified",this.getDateFrom(),"E");
62

  
63
		//Ending Date (enddate, 2073), Date(210)		
64
		if (this.getDateTo() != null) 
65
			//query.addClauses("Modified",this.getDateTo(),"E");
66

  
67
		if (this.getCoordenates() != null)
68
		
51 69
		pregunta = query.toString();
52 70

  
53 71
		return pregunta; 

Also available in: Unified diff