Module is.codion.framework.domain
Interface ForeignKeyCondition.Factory
- All Known Subinterfaces:
ForeignKey
- Enclosing interface:
- ForeignKeyCondition
public static interface ForeignKeyCondition.Factory
Creates
ForeignKeyCondition
s.-
Method Summary
Modifier and TypeMethodDescriptionReturns a 'equalTo'Condition
or 'isNull' in case the value is null.Returns a 'in'Condition
.in
(Collection<? extends Entity> values) Returns a 'in'Condition
.Returns a 'isNotNull'Condition
.isNull()
Returns a 'isNull'Condition
.notEqualTo
(Entity value) Returns a 'notEqualTo'Condition
or 'isNotNull' in case the value is null.Returns a 'notIn'Condition
.notIn
(Collection<? extends Entity> values) Returns a 'notIn' condition.
-
Method Details
-
equalTo
Returns a 'equalTo'Condition
or 'isNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
Condition
-
notEqualTo
Returns a 'notEqualTo'Condition
or 'isNotNull' in case the value is null.- Parameters:
value
- the value to use in the condition- Returns:
- a
Condition
-
in
Returns a 'in'Condition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
Condition
- Throws:
NullPointerException
- in casevalues
is null
-
notIn
Returns a 'notIn'Condition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
Condition
- Throws:
NullPointerException
- in casevalues
is null
-
in
Returns a 'in'Condition
.- Parameters:
values
- the values to use in the condition- Returns:
- a
Condition
- Throws:
NullPointerException
- in casevalues
is null
-
notIn
Returns a 'notIn' condition.- Parameters:
values
- the values to use in the condition- Returns:
- a
Condition
- Throws:
IllegalArgumentException
- in casevalues
is null
-
isNull
Condition isNull()Returns a 'isNull'Condition
.- Returns:
- a
Condition
-
isNotNull
Condition isNotNull()Returns a 'isNotNull'Condition
.- Returns:
- a
Condition
-