All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easy.query.api.proxy.entity.select.abstraction.AbstractEntityQueryable7 Maven / Gradle / Ivy

There is a newer version: 2.0.106
Show newest version
package com.easy.query.api.proxy.entity.select.abstraction;

import com.easy.query.api.proxy.entity.select.EntityQueryable7;
import com.easy.query.api.proxy.entity.select.extension.queryable7.override.AbstractOverrideEntityQueryable7;
import com.easy.query.core.basic.api.select.ClientQueryable7;
import com.easy.query.core.proxy.ProxyEntity;

/**
 * create time 2023/6/23 22:08
 * 文件说明
 *
 * @author xuejiaming
 */
public abstract class AbstractEntityQueryable7, T1,
        T2Proxy extends ProxyEntity, T2,
        T3Proxy extends ProxyEntity, T3,
        T4Proxy extends ProxyEntity, T4,
        T5Proxy extends ProxyEntity, T5,
        T6Proxy extends ProxyEntity, T6,
        T7Proxy extends ProxyEntity, T7>
        extends AbstractOverrideEntityQueryable7
        implements EntityQueryable7 {


    protected final T2Proxy t2Proxy;
    protected final T3Proxy t3Proxy;
    protected final T4Proxy t4Proxy;
    protected final T5Proxy t5Proxy;
    protected final T6Proxy t6Proxy;
    protected final T7Proxy t7Proxy;

    public AbstractEntityQueryable7(T1Proxy t1Proxy, T2Proxy t2Proxy, T3Proxy t3Proxy, T4Proxy t4Proxy, T5Proxy t5Proxy, T6Proxy t6Proxy, T7Proxy t7Proxy, ClientQueryable7 entityQueryable) {
        super(t1Proxy, entityQueryable);
        this.t2Proxy = t2Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(1).getEntityTable(),t1Proxy.getEntitySQLContext());
        this.t3Proxy = t3Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(2).getEntityTable(),t1Proxy.getEntitySQLContext());
        this.t4Proxy = t4Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(3).getEntityTable(),t1Proxy.getEntitySQLContext());
        this.t5Proxy = t5Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(4).getEntityTable(),t1Proxy.getEntitySQLContext());
        this.t6Proxy = t6Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(5).getEntityTable(),t1Proxy.getEntitySQLContext());
        this.t7Proxy = t7Proxy.create(entityQueryable.getSQLEntityExpressionBuilder().getTable(6).getEntityTable(),t1Proxy.getEntitySQLContext());
    }

    @Override
    public T2Proxy get2Proxy() {
        return t2Proxy;
    }

    @Override
    public T3Proxy get3Proxy() {
        return t3Proxy;
    }

    @Override
    public T4Proxy get4Proxy() {
        return t4Proxy;
    }
    @Override
    public T5Proxy get5Proxy() {
        return t5Proxy;
    }
    @Override
    public T6Proxy get6Proxy() {
        return t6Proxy;
    }
    @Override
    public T7Proxy get7Proxy() {
        return t7Proxy;
    }

    @Override
    public ClientQueryable7 getClientQueryable7() {
        return entityQueryable7;
    }


    @Override
    public EntityQueryable7 getQueryable7() {
        return this;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy