add lt(Object) to range filter builder

This commit is contained in:
kimchy 2011-01-15 02:15:29 +02:00
parent 771e028e54
commit 998f5f4188
1 changed files with 9 additions and 0 deletions

View File

@ -313,6 +313,15 @@ public class RangeFilterBuilder extends BaseFilterBuilder {
return this;
}
/**
* The to part of the filter query. Null indicates unbounded.
*/
public RangeFilterBuilder lte(Object to) {
this.to = to;
this.includeUpper = true;
return this;
}
/**
* Should the lower bound be included or not. Defaults to <tt>true</tt>.
*/