Module is.codion.framework.model
Package is.codion.framework.model
Interface ForeignKeyConditionModel
- All Superinterfaces:
ConditionModel<Entity>
- All Known Subinterfaces:
SwingForeignKeyConditionModel
A default foreign key condition model using
EntitySearchModel
for
both the Operator.EQUAL
and Operator.IN
operands.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface is.codion.common.model.condition.ConditionModel
ConditionModel.Operands<T>, ConditionModel.SetCondition<T>, ConditionModel.Wildcard
-
Field Summary
Fields inherited from interface is.codion.common.model.condition.ConditionModel
CASE_SENSITIVE, WILDCARD, WILDCARD_CHARACTER
-
Method Summary
Methods inherited from interface is.codion.common.model.condition.ConditionModel
accepts, autoEnable, caseSensitive, changed, clear, dateTimePattern, enabled, format, locked, operands, operator, operators, set, valueClass
-
Method Details
-
equalSearchModel
EntitySearchModel equalSearchModel()- Returns:
- a
EntitySearchModel
to use for the EQUAL operand - Throws:
IllegalStateException
- in case no such model is available
-
inSearchModel
EntitySearchModel inSearchModel()- Returns:
- a
EntitySearchModel
to use for the IN operand - Throws:
IllegalStateException
- in case no such model is available
-
builder
- Returns:
- a new
ForeignKeyConditionModel.Builder
-