Package io.tesler.core.controller.param
Class FilterParameter
- java.lang.Object
-
- io.tesler.core.controller.param.AbstractQueryParameter
-
- io.tesler.core.controller.param.FilterParameter
-
- All Implemented Interfaces:
QueryParameter
public class FilterParameter extends AbstractQueryParameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilterParameter.Builder
-
Nested classes/interfaces inherited from interface io.tesler.core.controller.param.QueryParameter
QueryParameter.StringListTypeReference
-
-
Constructor Summary
Constructors Constructor Description FilterParameter(String name, SearchOperation operation, String stringValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
apply(BiFunction<String,String,R> biFunction)
BigDecimal
getBigDecimalValue()
List<BigDecimal>
getBigDecimalValuesAsList()
Boolean
getBooleanValue()
LocalDateTime
getDateValue()
List<LocalDateTime>
getDateValueAsList()
Double
getDoubleValue()
Integer
getIntegerValue()
Long
getLongValue()
List<Long>
getLongValuesAsList()
List<String>
getStringValuesAsList()
<T> T
getValue(Class<T> clazz)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.tesler.core.controller.param.QueryParameter
getName
-
-
-
-
Constructor Detail
-
FilterParameter
public FilterParameter(String name, SearchOperation operation, String stringValue)
-
-
Method Detail
-
apply
public <R> R apply(BiFunction<String,String,R> biFunction)
-
getValue
public <T> T getValue(Class<T> clazz)
-
getIntegerValue
public Integer getIntegerValue()
-
getLongValue
public Long getLongValue()
-
getDoubleValue
public Double getDoubleValue()
-
getBigDecimalValue
public BigDecimal getBigDecimalValue()
-
getBooleanValue
public Boolean getBooleanValue()
-
getDateValue
public LocalDateTime getDateValue()
-
getDateValueAsList
public List<LocalDateTime> getDateValueAsList()
-
getBigDecimalValuesAsList
public List<BigDecimal> getBigDecimalValuesAsList()
-
-