Revision 16805

View differences:

branches/v10/applications/appCatalogAndGazetteerClient/src/es/gva/cit/catalog/languages/FilterEncoding.java
75 75
	private String singleChar = null;
76 76
	private String escape = null;
77 77
	private String namespace = null;
78
	private String wildCardLabel = "wildCard";
79
	private String escapeCharLabel = "escapeChar";
80
	private String singleCharLabel = "singleChar";
78 81

  
79 82
	/**
80 83
	 * Create a new Filter Encoding Parser
......
237 240
		cadena = "<" + prefix + relationship;
238 241
		if (relationship.equals("PropertyIsLike")) {
239 242
			if (this.wildCard != null) {
240
				cadena = cadena + " wildCard=\"" + this.wildCard + "\"";
243
				cadena = cadena + " " + getWildCardLabel() + "=\"" + this.wildCard + "\"";
241 244
			}
242 245
			if (this.singleChar != null) {
243
				cadena = cadena + " singleChar=\"" + this.singleChar + "\"";
246
				cadena = cadena + " " + getSingleCharLabel() + "=\"" + this.singleChar + "\"";
244 247
			}
245 248
			if (this.escape != null) {
246
				cadena = cadena + " escapeChar=\"" + this.escape + "\"";
249
				cadena = cadena + " " + getEscapeCharLabel() + "=\"" + this.escape + "\"";
247 250
			}
248 251
		}
249 252
		cadena = cadena + ">" + enterLabel(propertyName, TYPE_TWO_PROPERTIES);
......
286 289
	 */
287 290
	public String getWildCard() {
288 291
		return wildCard;
292
	}
293

  
294
	/**
295
	 * @return the wildCardLabel
296
	 */
297
	public String getWildCardLabel() {
298
		return wildCardLabel;
299
	}
300

  
301
	/**
302
	 * @param wildCardLabel the wildCardLabel to set
303
	 */
304
	public void setWildCardLabel(String wildCardLabel) {
305
		this.wildCardLabel = wildCardLabel;
306
	}
307

  
308
	/**
309
	 * @return the escapeCharLabel
310
	 */
311
	public String getEscapeCharLabel() {
312
		return escapeCharLabel;
313
	}
314

  
315
	/**
316
	 * @param escapeCharLabel the escapeCharLabel to set
317
	 */
318
	public void setEscapeCharLabel(String escapeCharLabel) {
319
		this.escapeCharLabel = escapeCharLabel;
320
	}
321

  
322
	/**
323
	 * @return the singleCharLabel
324
	 */
325
	public String getSingleCharLabel() {
326
		return singleCharLabel;
327
	}
328

  
329
	/**
330
	 * @param singleCharLabel the singleCharLabel to set
331
	 */
332
	public void setSingleCharLabel(String singleCharLabel) {
333
		this.singleCharLabel = singleCharLabel;
289 334
	} 
290 335
}

Also available in: Unified diff