CompositeEntityClass
constructor(table: IdTable<CompositeID>, entityType: Class<E>? = null, entityCtor: (EntityID<CompositeID>) -> E? = null)
Parameters
table
The table whose rows are mapped to entities of this class.
entityType
The CompositeEntity 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.