Skip navigation links

Package de.aristaflow.adept2.model.filter

This package contains classes that model a system of filters that can be applied to specially annotated classes.

See: Description

Package de.aristaflow.adept2.model.filter Description

This package contains classes that model a system of filters that can be applied to specially annotated classes.

A filter is a function that maps an input object to a Boolean value indicating whether the filter matches or not. All filters implement the Filter interface.

An object to which a filter can be applied must annotate the filterable methods with the @UseInFilter annotation. In this context, these methods are called attributes. Attribute methods must be getters for primitive data types, other filterable objects or collections of the former types and must not have any parameters.

The AttributeFactory interface provides methods to parse classes and to build valid attribute paths for filters.

The FilterFactory interface provides methods to create different types of filters. In detail, the following filter types are available:

Skip navigation links