Class NullFilter

java.lang.Object
com.blazebit.persistence.view.AttributeFilterProvider<Object>
com.blazebit.persistence.view.filter.NullFilter

public abstract class NullFilter
extends AttributeFilterProvider<Object>
A placeholder for a filter implementation that implements a is null and is not null filter. This placeholder can be used in a AttributeFilter annotation. A null filter accepts an object. The Object.toString() representation of that object will be parsed to a boolean if the object is not instance of Boolean. If the resulting boolean is true, the filter will apply an is null restriction, otherwise an is not null restriction.
Since:
1.0.0
Author:
Christian Beikov