public static class Filter.Range extends Filter.Default implements Filter, java.util.function.Predicate<Object>
Filter.Contains, Filter.Default, Filter.EndsWith, Filter.Equals, Filter.GreaterThan, Filter.LessThan, Filter.NotEquals, Filter.Range, Filter.StartsWith| Constructor and Description |
|---|
Range(String property,
Date from,
Date to) |
Range(String property,
long from,
long to) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFrom() |
long |
getTo() |
Long |
getValue() |
boolean |
isIncluding() |
void |
setFrom(long from) |
void |
setIncluding(boolean value) |
void |
setTo(long to) |
void |
setValue(Object value) |
boolean |
test(Object other) |
getProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, getStringFilter, setPropertyand, isEqual, negate, orpublic Range(String property, long from, long to)
public Long getValue()
getValue in interface FiltergetValue in class Filter.Defaultpublic void setValue(Object value)
setValue in interface FiltersetValue in class Filter.Defaultpublic long getFrom()
public void setFrom(long from)
public long getTo()
public void setTo(long to)
public boolean isIncluding()
public void setIncluding(boolean value)
public boolean test(Object other)
test in interface java.util.function.Predicate<Object>Copyright © 2018. All rights reserved.