Module is.codion.framework.domain
Interface ColumnCondition.Factory<T>
- Type Parameters:
T
- the attribute value type
- All Known Subinterfaces:
Column<T>
- Enclosing interface:
- ColumnCondition<T>
public static interface ColumnCondition.Factory<T>
Creates
ColumnCondition
s.-
Method Summary
Modifier and TypeMethodDescriptionReturns a 'between'ColumnCondition
.betweenExclusive
(T lowerBound, T upperBound) Returns a 'betweenExclusive'ColumnCondition
.Returns a 'equalTo'ColumnCondition
or 'isNull' in case the value is null.equalToIgnoreCase
(Character value) Returns a case-insensitive 'equalTo'ColumnCondition
or 'isNull' in case the value is null.equalToIgnoreCase
(String value) Returns a case-insensitive 'equalTo'ColumnCondition
or 'isNull' in case the value is null.greaterThan
(T value) Returns a 'greaterThan'ColumnCondition
.greaterThanOrEqualTo
(T value) Returns a 'greaterThanOrEqualTo'ColumnCondition
.in
(Collection<? extends T> values) Returns a 'in'ColumnCondition
.Returns a 'in'ColumnCondition
.inIgnoreCase
(String... values) Returns a case-insensitive 'in'ColumnCondition
.inIgnoreCase
(Collection<String> values) Returns a case-insensitive 'in'ColumnCondition
.Returns a 'isNotNull'ColumnCondition
.isNull()
Returns a 'isNull'ColumnCondition
.Returns a 'lessThan'ColumnCondition
.lessThanOrEqualTo
(T value) Returns a 'lessThanOrEqualTo'ColumnCondition
.Returns a 'like'ColumnCondition
or 'isNull' in case the value is null.likeIgnoreCase
(String value) Returns a case-insensitive 'like'ColumnCondition
or 'isNull' in case the value is null.notBetween
(T lowerBound, T upperBound) Returns a 'notBetween'ColumnCondition
.notBetweenExclusive
(T lowerBound, T upperBound) Returns a 'notBetweenExclusive'ColumnCondition
.notEqualTo
(T value) Returns a 'equalTo'ColumnCondition
or 'isNotNull' in case the value is null.notEqualToIgnoreCase
(Character value) Returns a case-insensitive 'notEqualTo'ColumnCondition
or 'isNotNull' in case the value is null.notEqualToIgnoreCase
(String value) Returns a case-insensitive 'notEqualTo'ColumnCondition
or 'isNotNull' in case the value is null.notIn
(Collection<? extends T> values) Returns a 'notIn'ColumnCondition
.Returns a 'notIn'ColumnCondition
.notInIgnoreCase
(String... values) Returns a case-insensitive 'notIn'ColumnCondition
.notInIgnoreCase
(Collection<String> values) Returns a case-insensitive 'notIn'ColumnCondition
.Returns a 'like'ColumnCondition
or 'isNotNull' in case the value is null.notLikeIgnoreCase
(String value) Returns a case-insensitive 'notLike'ColumnCondition
or 'isNotNull' in case the value is null.
-
Method Details
-
equalTo
Returns a 'equalTo'ColumnCondition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
notEqualTo
Returns a 'equalTo'ColumnCondition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
equalToIgnoreCase
Returns a case-insensitive 'equalTo'ColumnCondition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
equalToIgnoreCase
Returns a case-insensitive 'equalTo'ColumnCondition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
notEqualToIgnoreCase
Returns a case-insensitive 'notEqualTo'ColumnCondition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
notEqualToIgnoreCase
Returns a case-insensitive 'notEqualTo'ColumnCondition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
like
Returns a 'like'ColumnCondition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
notLike
Returns a 'like'ColumnCondition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
likeIgnoreCase
Returns a case-insensitive 'like'ColumnCondition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
notLikeIgnoreCase
Returns a case-insensitive 'notLike'ColumnCondition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
in
Returns a 'in'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
notIn
Returns a 'notIn'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
in
Returns a 'in'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
notIn
Returns a 'notIn'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
inIgnoreCase
Returns a case-insensitive 'in'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
notInIgnoreCase
Returns a case-insensitive 'notIn'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
inIgnoreCase
Returns a case-insensitive 'in'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
notInIgnoreCase
Returns a case-insensitive 'notIn'ColumnCondition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
ColumnCondition
- Throws:
NullPointerException
- in casevalues
is null
-
lessThan
Returns a 'lessThan'ColumnCondition
.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
lessThanOrEqualTo
Returns a 'lessThanOrEqualTo'ColumnCondition
.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
greaterThan
Returns a 'greaterThan'ColumnCondition
.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
greaterThanOrEqualTo
Returns a 'greaterThanOrEqualTo'ColumnCondition
.- Parameters:
value
- the value to use in the condition- Returns:
- a
ColumnCondition
-
betweenExclusive
Returns a 'betweenExclusive'ColumnCondition
.- Parameters:
lowerBound
- the lower boundupperBound
- the upper bound- Returns:
- a
ColumnCondition
-
between
Returns a 'between'ColumnCondition
.- Parameters:
lowerBound
- the lower boundupperBound
- the upper bound- Returns:
- a
ColumnCondition
-
notBetweenExclusive
Returns a 'notBetweenExclusive'ColumnCondition
.- Parameters:
lowerBound
- the lower boundupperBound
- the upper bound- Returns:
- a
ColumnCondition
-
notBetween
Returns a 'notBetween'ColumnCondition
.- Parameters:
lowerBound
- the lower boundupperBound
- the upper bound- Returns:
- a
ColumnCondition
-
isNull
ColumnCondition<T> isNull()Returns a 'isNull'ColumnCondition
.- Returns:
- a
ColumnCondition
-
isNotNull
ColumnCondition<T> isNotNull()Returns a 'isNotNull'ColumnCondition
.- Returns:
- a
ColumnCondition
-