Package org.teamapps.data.value.filter
Class TextFilter
- java.lang.Object
-
- org.teamapps.data.value.filter.AbstractFilter
-
- org.teamapps.data.value.filter.TextFilter
-
- All Implemented Interfaces:
Filter
public class TextFilter extends AbstractFilter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextFilter.Comparator
-
Constructor Summary
Constructors Constructor Description TextFilter(java.lang.String property, java.lang.String value, TextFilter.Comparator comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringexplain(int filterLevel)TextFilter.ComparatorgetComparator()FilterTypegetType()java.lang.StringgetValue()booleanmatches(DataRecord record, boolean treatNullAsDefaultValue)-
Methods inherited from class org.teamapps.data.value.filter.AbstractFilter
getProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teamapps.data.value.filter.Filter
and, asOrFilter, createLevelIndentString, explain, matches, or
-
-
-
-
Constructor Detail
-
TextFilter
public TextFilter(java.lang.String property, java.lang.String value, TextFilter.Comparator comparator)
-
-
Method Detail
-
getType
public FilterType getType()
-
matches
public boolean matches(DataRecord record, boolean treatNullAsDefaultValue)
-
explain
public java.lang.String explain(int filterLevel)
-
getValue
public java.lang.String getValue()
-
getComparator
public TextFilter.Comparator getComparator()
-
-