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

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

package br.com.objectos.sql;

import br.com.objectos.db.Selectable;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;

@Generated("br.com.objectos.sql.BootProcessor")
public final class Row5 extends Row {
  private final T1 column1;

  private final T2 column2;

  private final T3 column3;

  private final T4 column4;

  private final T5 column5;

  private Row5(T1 column1, T2 column2, T3 column3, T4 column4, T5 column5) {
    this.column1 = column1;
    this.column2 = column2;
    this.column3 = column3;
    this.column4 = column4;
    this.column5 = column5;
  }

  public static  Row5 of(T1 column1, T2 column2, T3 column3, T4 column4, T5 column5) {
    return new Row5<>(column1, column2, column3, column4, column5);
  }

  public T1 column1() {
    return column1;
  }

  public T2 column2() {
    return column2;
  }

  public T3 column3() {
    return column3;
  }

  public T4 column4() {
    return column4;
  }

  public T5 column5() {
    return column5;
  }

  @Override
  List valueList() {
    return Arrays.asList(column1, column2, column3, column4, column5);
  }
}