Coverage Summary for Class: SelectFrom4 (com.kotlinorm.orm.join)

Class Class, % Method, % Branch, % Line, % Instruction, %
SelectFrom4 100% (1/1) 100% (2/2) 100% (17/17) 100% (163/163)


 /**
 * Copyright 2022-2025 kronos-orm
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
 package com.kotlinorm.orm.join
 
 import com.kotlinorm.cache.kPojoAllColumnsCache
 import com.kotlinorm.cache.kPojoLogicDeleteCache
 import com.kotlinorm.interfaces.KPojo
 import com.kotlinorm.orm.pagination.PagedClause
 import kotlin.reflect.KClass
 
 // Generated by generate-join-clause.gradle.kts
 class SelectFrom4<T1: KPojo, T2: KPojo, T3: KPojo, T4: KPojo>(
     override var t1: T1,
     var t2: T2, var t3: T3, var t4: T4
 ) : SelectFrom<T1>(t1) {
     override var tableName = t1.kronosTableName()
     override var paramMap = (t1.toDataMap() + t2.toDataMap() + t3.toDataMap() + t4.toDataMap()).toMutableMap()
     private var kClass1 = t1.kClass()
     private var kClass2 = t2.kClass()
     private var kClass3 = t3.kClass()
     private var kClass4 = t4.kClass()
     override var logicDeleteStrategy = kPojoLogicDeleteCache[kClass1]
     override var allFields = kPojoAllColumnsCache[kClass1]!!
     override var listOfPojo: MutableList<Pair<KClass<KPojo>, KPojo>> = mutableListOf(
         kClass1 to t1, 
         kClass2 to t2, 
         kClass3 to t3, 
         kClass4 to t4
     )
     
     fun withTotal(): PagedClause<T1, SelectFrom4<T1, T2, T3, T4>> {
         return PagedClause(this)
     }
 }