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

br.com.objectos.sql.InsertValues21 Maven / Gradle / Ivy

package br.com.objectos.sql;

import br.com.objectos.db.Dialect;
import br.com.objectos.db.GeneratedKeyListener;
import br.com.objectos.db.InsertBuilder;
import br.com.objectos.db.InsertableValue;
import br.com.objectos.db.ParameterBinder;
import java.util.List;
import javax.annotation.Generated;

@Generated("br.com.objectos.sql.BootProcessor")
public class InsertValues21 extends InsertNode implements InsertValues, InsertableRow21, InsertableRow21.Values {
  final InsertValue val1;

  final InsertValue val2;

  final InsertValue val3;

  final InsertValue val4;

  final InsertValue val5;

  final InsertValue val6;

  final InsertValue val7;

  final InsertValue val8;

  final InsertValue val9;

  final InsertValue val10;

  final InsertValue val11;

  final InsertValue val12;

  final InsertValue val13;

  final InsertValue val14;

  final InsertValue val15;

  final InsertValue val16;

  final InsertValue val17;

  final InsertValue val18;

  final InsertValue val19;

  final InsertValue val20;

  final InsertValue val21;

  InsertValues21(InsertNode previous, T1 val1, T2 val2, T3 val3, T4 val4, T5 val5, T6 val6, T7 val7, T8 val8, T9 val9, T10 val10, T11 val11, T12 val12, T13 val13, T14 val14, T15 val15, T16 val16, T17 val17, T18 val18, T19 val19, T20 val20, T21 val21) {
    super(previous);
    this.val1 = InsertValue.of(val1);
    this.val2 = InsertValue.of(val2);
    this.val3 = InsertValue.of(val3);
    this.val4 = InsertValue.of(val4);
    this.val5 = InsertValue.of(val5);
    this.val6 = InsertValue.of(val6);
    this.val7 = InsertValue.of(val7);
    this.val8 = InsertValue.of(val8);
    this.val9 = InsertValue.of(val9);
    this.val10 = InsertValue.of(val10);
    this.val11 = InsertValue.of(val11);
    this.val12 = InsertValue.of(val12);
    this.val13 = InsertValue.of(val13);
    this.val14 = InsertValue.of(val14);
    this.val15 = InsertValue.of(val15);
    this.val16 = InsertValue.of(val16);
    this.val17 = InsertValue.of(val17);
    this.val18 = InsertValue.of(val18);
    this.val19 = InsertValue.of(val19);
    this.val20 = InsertValue.of(val20);
    this.val21 = InsertValue.of(val21);
  }

  private InsertValues21(InsertNode previous, InsertValue val1, InsertValue val2, InsertValue val3, InsertValue val4, InsertValue val5, InsertValue val6, InsertValue val7, InsertValue val8, InsertValue val9, InsertValue val10, InsertValue val11, InsertValue val12, InsertValue val13, InsertValue val14, InsertValue val15, InsertValue val16, InsertValue val17, InsertValue val18, InsertValue val19, InsertValue val20, InsertValue val21) {
    super(previous);
    this.val1 = val1;
    this.val2 = val2;
    this.val3 = val3;
    this.val4 = val4;
    this.val5 = val5;
    this.val6 = val6;
    this.val7 = val7;
    this.val8 = val8;
    this.val9 = val9;
    this.val10 = val10;
    this.val11 = val11;
    this.val12 = val12;
    this.val13 = val13;
    this.val14 = val14;
    this.val15 = val15;
    this.val16 = val16;
    this.val17 = val17;
    this.val18 = val18;
    this.val19 = val19;
    this.val20 = val20;
    this.val21 = val21;
  }

  @Override
  public InsertQuery compile(Dialect dialect) {
    return new SimpleInsertQuery(dialect, this);
  }

  @Override
  public InsertValues21 onGeneratedKey(GeneratedKeyListener listener) {
    return new OnGeneratedKey<>(this, val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21, listener);
  }

  @Override
  public InsertValues21 values(T1 val1, T2 val2, T3 val3, T4 val4, T5 val5, T6 val6, T7 val7, T8 val8, T9 val9, T10 val10, T11 val11, T12 val12, T13 val13, T14 val14, T15 val15, T16 val16, T17 val17, T18 val18, T19 val19, T20 val20, T21 val21) {
    return new More<>(this, val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21);
  }

  @Override
  ParameterBinder bind0(ParameterBinder binder) {
    val1.bind(binder);
    val2.bind(binder);
    val3.bind(binder);
    val4.bind(binder);
    val5.bind(binder);
    val6.bind(binder);
    val7.bind(binder);
    val8.bind(binder);
    val9.bind(binder);
    val10.bind(binder);
    val11.bind(binder);
    val12.bind(binder);
    val13.bind(binder);
    val14.bind(binder);
    val15.bind(binder);
    val16.bind(binder);
    val17.bind(binder);
    val18.bind(binder);
    val19.bind(binder);
    val20.bind(binder);
    val21.bind(binder);
    return binder;
  }

  @Override
  InsertBuilder write0(InsertBuilder sql) {
    return sql.values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21);
  }

  private static class OnGeneratedKey extends InsertValues21 {
    private final GeneratedKeyListener listener;

    public OnGeneratedKey(InsertNode previous, InsertValue val1, InsertValue val2, InsertValue val3, InsertValue val4, InsertValue val5, InsertValue val6, InsertValue val7, InsertValue val8, InsertValue val9, InsertValue val10, InsertValue val11, InsertValue val12, InsertValue val13, InsertValue val14, InsertValue val15, InsertValue val16, InsertValue val17, InsertValue val18, InsertValue val19, InsertValue val20, InsertValue val21, GeneratedKeyListener listener) {
      super(previous, val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21);
      this.listener = listener;
    }

    @Override
    void acceptListenerList(List listenerList) {
      super.acceptListenerList(listenerList);
      listenerList.add(listener);
    }

    @Override
    ParameterBinder bind0(ParameterBinder binder) {
      return binder;
    }

    @Override
    InsertBuilder write0(InsertBuilder sql) {
      return sql;
    }
  }

  private static class More extends InsertValues21 {
    public More(InsertNode previous, T1 val1, T2 val2, T3 val3, T4 val4, T5 val5, T6 val6, T7 val7, T8 val8, T9 val9, T10 val10, T11 val11, T12 val12, T13 val13, T14 val14, T15 val15, T16 val16, T17 val17, T18 val18, T19 val19, T20 val20, T21 val21) {
      super(previous, val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21);
    }

    @Override
    InsertBuilder write0(InsertBuilder sql) {
      return sql.moreValues(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21);
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy