Class RangeFilter<FIELD_TYPE extends Comparable<? super FIELD_TYPE>>

java.lang.Object
tech.jhipster.service.filter.Filter<FIELD_TYPE>
tech.jhipster.service.filter.RangeFilter<FIELD_TYPE>
Type Parameters:
FIELD_TYPE - the type of filter.
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BigDecimalFilter, DoubleFilter, DurationFilter, FloatFilter, InstantFilter, IntegerFilter, LocalDateFilter, LongFilter, ShortFilter, ZonedDateTimeFilter

public class RangeFilter<FIELD_TYPE extends Comparable<? super FIELD_TYPE>> extends Filter<FIELD_TYPE>
Filter class for Comparable types, where less than / greater than / etc relations could be interpreted. It can be added to a criteria class as a member, to support the following query parameters:
      fieldName.equals=42
      fieldName.notEquals=42
      fieldName.specified=true
      fieldName.specified=false
      fieldName.in=43,42
      fieldName.notIn=43,42
      fieldName.greaterThan=41
      fieldName.lessThan=44
      fieldName.greaterThanOrEqual=42
      fieldName.lessThanOrEqual=44
 
Due to problems with the type conversions, the descendant classes should be used, where the generic type parameter is materialized.
See Also: