UUIDEntityClass

constructor(table: IdTable<UUID>, entityType: Class<E>? = null, entityCtor: (EntityID<UUID>) -> E? = null)

Parameters

table

The table whose rows are mapped to entities of this class.

entityType

The UUIDEntity class to map. Defaults to the class that encloses this companion object.

entityCtor

Called to instantiate an entity for a row. Defaults to the entity's primary constructor, looked up by reflection on first access; pass a reference such as ::Film to skip that lookup.