Package is.codion.swing.framework.model
Interface SwingForeignKeyConditionModel
- All Superinterfaces:
AttributeConditionModel<Entity>,ConditionModel<Entity>,ForeignKeyConditionModel
A condition model using a
EntityComboBoxModel for the Operator.EQUAL operand
and a EntitySearchModel for the Operator.IN operands.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for aSwingForeignKeyConditionModelNested 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.framework.model.AttributeConditionModel
accepts, autoEnable, caseSensitive, clear, condition, dateTimePattern, enabled, format, locked, operands, operator, operators, set, valueClassMethods inherited from interface is.codion.common.model.condition.ConditionModel
changedMethods inherited from interface is.codion.framework.model.ForeignKeyConditionModel
attribute, equalSearchModel, inSearchModel
-
Method Details
-
equalComboBoxModel
EntityComboBoxModel equalComboBoxModel()- Returns:
- an
EntityComboBoxModelto use for the EQUAL operand - Throws:
IllegalStateException- in case no such model is available
-
builder
- Parameters:
foreignKey- the foreign key- Returns:
- a new
SwingForeignKeyConditionModel.Builder
-