Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityApplicationModel.EntityModels<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>>
- Type Parameters:
M
- the type ofEntityModel
this application model is based onE
- the type ofEntityEditModel
used by thisEntityModel
T
- the type ofEntityTableModel
used by thisEntityModel
- Enclosing interface:
EntityApplicationModel<M extends EntityModel<M,
E, T>, E extends EntityEditModel, T extends EntityTableModel<E>>
public static interface EntityApplicationModel.EntityModels<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>>
Manages the
EntityModel
s for a EntityApplicationModel
-
Method Summary
-
Method Details
-
contains
- Parameters:
modelClass
- the application model class- Returns:
- true if this model contains a EntityModel instance of the given class
-
contains
- Parameters:
entityType
- the entityType- Returns:
- true if this model contains a EntityModel for the given entityType
-
contains
- Parameters:
entityModel
- the entity model- Returns:
- true if this model contains the given EntityModel
-
get
Collection<M> get()- Returns:
- an unmodifiable Collection containing the EntityModel instances contained in this EntityApplicationModel
-
get
- Type Parameters:
C
- the model type- Parameters:
modelClass
- the model class- Returns:
- the EntityModel of the given type
-
get
- Parameters:
entityType
- the entityType- Returns:
- the EntityModel based on the given entityType
-