add objects option to range filter builder

This commit is contained in:
kimchy 2010-08-26 16:39:39 +03:00
parent d56b4d266e
commit a49af6072b
1 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
/** /**
* The from part of the filter query. Null indicates unbounded. * The from part of the filter query. Null indicates unbounded.
*/ */
public RangeFilterBuilder from(String from) { public RangeFilterBuilder from(Object from) {
this.from = from; this.from = from;
return this; return this;
} }
@ -92,7 +92,7 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
/** /**
* The from part of the filter query. Null indicates unbounded. * The from part of the filter query. Null indicates unbounded.
*/ */
public RangeFilterBuilder gt(String from) { public RangeFilterBuilder gt(Object from) {
this.from = from; this.from = from;
this.includeLower = false; this.includeLower = false;
return this; return this;
@ -137,7 +137,7 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
/** /**
* The from part of the filter query. Null indicates unbounded. * The from part of the filter query. Null indicates unbounded.
*/ */
public RangeFilterBuilder gte(String from) { public RangeFilterBuilder gte(Object from) {
this.from = from; this.from = from;
this.includeLower = true; this.includeLower = true;
return this; return this;
@ -182,7 +182,7 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
/** /**
* The to part of the filter query. Null indicates unbounded. * The to part of the filter query. Null indicates unbounded.
*/ */
public RangeFilterBuilder to(String to) { public RangeFilterBuilder to(Object to) {
this.to = to; this.to = to;
return this; return this;
} }
@ -222,7 +222,7 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
/** /**
* The to part of the filter query. Null indicates unbounded. * The to part of the filter query. Null indicates unbounded.
*/ */
public RangeFilterBuilder lt(String to) { public RangeFilterBuilder lt(Object to) {
this.to = to; this.to = to;
this.includeUpper = false; this.includeUpper = false;
return this; return this;