Package | Description |
---|---|
net.akaish.kitty.orm |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Class<M>,KittyMMEntry> |
KittyDatabase.modelMapperInstanceStorage
Map of Model classes as keys and ready to use pairs of instances of Models and Mappers
May be generated automatically or set manually for faster initialization by implementing
KittyDatabase.getStaticRegistry() |
Modifier and Type | Method and Description |
---|---|
<D extends KittyMapper,M extends KittyModel> |
KittyMMEntryFactory.newMMEntry(java.lang.Class<D> mapperClass,
KittyTableConfiguration tableCfg)
Creates MM entry for specified mapper class and with usage of current table configuration
|
Modifier and Type | Method and Description |
---|---|
protected <M extends KittyModel> |
KittyDatabase.generateMMInstanceStorageFromRegistry(java.util.Map<java.lang.Class<M>,java.lang.Class<KittyMapper>> registry,
KittyMMEntryFactory entryFactory,
KittyDatabaseConfiguration databaseConfiguration) |
protected java.util.Map<java.lang.Class<M>,KittyMMEntry> |
KittyDatabase.getStaticModelMapperInstancesStorage()
Returns static map where keys are model's classes and entries are pairs of models and mappers
instances.
|