Package org.cxbox.core.controller.param
Class FilterParameter
- java.lang.Object
-
- org.cxbox.core.controller.param.AbstractQueryParameter
-
- org.cxbox.core.controller.param.FilterParameter
-
- All Implemented Interfaces:
QueryParameter
public class FilterParameter extends AbstractQueryParameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterParameter.Builder-
Nested classes/interfaces inherited from interface org.cxbox.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> Rapply(BiFunction<String,String,R> biFunction)BigDecimalgetBigDecimalValue()List<BigDecimal>getBigDecimalValuesAsList()BooleangetBooleanValue()LocalDateTimegetDateValue()List<LocalDateTime>getDateValueAsList()DoublegetDoubleValue()IntegergetIntegerValue()LonggetLongValue()List<Long>getLongValuesAsList()List<String>getStringValuesAsList()<T> TgetValue(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 org.cxbox.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()
-
-