Module is.codion.framework.model
Package is.codion.framework.model
Class DefaultEntityEditor.DefaultComponentModels
java.lang.Object
is.codion.framework.model.DefaultEntityEditor.DefaultComponentModels
- All Implemented Interfaces:
EntityEditor.ComponentModels
- Direct Known Subclasses:
SwingEntityEditor.SwingComponentModels
- Enclosing class:
DefaultEntityEditor
public static class DefaultEntityEditor.DefaultComponentModels
extends Object
implements EntityEditor.ComponentModels
A default EntityEditor.ComponentModels implementation providing foreign key based EntitySearchModel.
Override to customize search model behaviour.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSearchModel(ForeignKey foreignKey, EntityEditor editor) Creates aEntitySearchModelfor looking up entities of the type referenced by the given foreign key, using the search attributes defined for that entity type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface is.codion.framework.model.EntityEditor.ComponentModels
configure
-
Constructor Details
-
DefaultComponentModels
public DefaultComponentModels()
-
-
Method Details
-
createSearchModel
Description copied from interface:EntityEditor.ComponentModelsCreates a
EntitySearchModelfor looking up entities of the type referenced by the given foreign key, using the search attributes defined for that entity type.- Specified by:
createSearchModelin interfaceEntityEditor.ComponentModels- Parameters:
foreignKey- the foreign key for which to create aEntitySearchModeleditor- the editor- Returns:
- a new
EntitySearchModelfor looking up entities of the type referenced by the given foreign key attribute,
-