AdapterRegistry

Registry for entity adapters. This is an internal API used by the library and generated code.

Functions

Link copied to clipboard
fun <T : Any> getAdapter(clazz: KClass<T>): EntityAdapter<T>?

Retrieves the registered adapter for a specific entity class.

Link copied to clipboard
fun <T : Any> registerAdapter(clazz: KClass<T>, adapter: EntityAdapter<T>)

Registers an adapter for a specific entity class.