Module is.codion.common.model
Package is.codion.common.model.table
Interface ColumnConditionModel.Builder<C,T>
- Enclosing interface:
- ColumnConditionModel<C,
T>
public static interface ColumnConditionModel.Builder<C,T>
Builds a
ColumnConditionModel
instance.-
Method Summary
Modifier and TypeMethodDescriptionautoEnable
(boolean autoEnable) automaticWildcard
(ColumnConditionModel.AutomaticWildcard automaticWildcard) build()
caseSensitive
(boolean caseSensitive) dateTimePattern
(String dateTimePattern) wildcard
(char wildcard)
-
Method Details
-
operators
- Parameters:
operators
- the conditional operators available to this condition model- Returns:
- this builder instance
-
wildcard
- Parameters:
wildcard
- the character to use as wildcard- Returns:
- this builder instance
-
format
- Parameters:
format
- the format to use when presenting the values, numbers for example- Returns:
- this builder instance
-
dateTimePattern
- Parameters:
dateTimePattern
- the date/time format pattern to use in case of a date/time column- Returns:
- this builder instance
-
automaticWildcard
ColumnConditionModel.Builder<C,T> automaticWildcard(ColumnConditionModel.AutomaticWildcard automaticWildcard) - Parameters:
automaticWildcard
- the automatic wildcard type to use- Returns:
- this builder instance
-
caseSensitive
- Parameters:
caseSensitive
- true if the model should be case-sensitive- Returns:
- this builder instance
-
autoEnable
- Parameters:
autoEnable
- true if the model should auto-enable- Returns:
- this builder instance
-
build
ColumnConditionModel<C,T> build()- Returns:
- a new
ColumnConditionModel
instance based on this builder
-