示例#1
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class VAuthor
    extends org.jooq.impl.TableImpl<
        org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord> {

  private static final long serialVersionUID = -2015485500;

  /** The singleton instance of <code>PUBLIC.V_AUTHOR</code> */
  public static final org.jooq.test.jdbc.generatedclasses.tables.VAuthor V_AUTHOR =
      new org.jooq.test.jdbc.generatedclasses.tables.VAuthor();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord>
      getRecordType() {
    return org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord.class;
  }

  /** The column <code>PUBLIC.V_AUTHOR.ID</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.lang.Integer>
      ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, V_AUTHOR);

  /** The column <code>PUBLIC.V_AUTHOR.FIRST_NAME</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.lang.String>
      FIRST_NAME =
          createField("FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), V_AUTHOR);

  /** The column <code>PUBLIC.V_AUTHOR.LAST_NAME</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.lang.String>
      LAST_NAME = createField("LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), V_AUTHOR);

  /** The column <code>PUBLIC.V_AUTHOR.DATE_OF_BIRTH</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.sql.Date>
      DATE_OF_BIRTH = createField("DATE_OF_BIRTH", org.jooq.impl.SQLDataType.DATE, V_AUTHOR);

  /** The column <code>PUBLIC.V_AUTHOR.YEAR_OF_BIRTH</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.lang.Integer>
      YEAR_OF_BIRTH = createField("YEAR_OF_BIRTH", org.jooq.impl.SQLDataType.INTEGER, V_AUTHOR);

  /** The column <code>PUBLIC.V_AUTHOR.ADDRESS</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbc.generatedclasses.tables.records.VAuthorRecord, java.lang.String>
      ADDRESS = createField("ADDRESS", org.jooq.impl.SQLDataType.VARCHAR.length(50), V_AUTHOR);

  /** No further instances allowed */
  private VAuthor() {
    super("V_AUTHOR", org.jooq.test.jdbc.generatedclasses.Public.PUBLIC);
  }
}
示例#2
0
文件: T_785.java 项目: joe776/jOOQ
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings("all")
public class T_785
    extends org.jooq.impl.TableImpl<org.jooq.test.oracle3.generatedclasses.tables.records.T_785>
    implements java.lang.Cloneable {

  private static final long serialVersionUID = 1154163887;

  /** The singleton instance of <code>T_785</code> */
  public static final org.jooq.test.oracle3.generatedclasses.tables.T_785 T_785 =
      new org.jooq.test.oracle3.generatedclasses.tables.T_785();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.oracle3.generatedclasses.tables.records.T_785>
      getRecordType() {
    return org.jooq.test.oracle3.generatedclasses.tables.records.T_785.class;
  }

  /** The column <code>T_785.ID</code>. */
  public final org.jooq.TableField<
          org.jooq.test.oracle3.generatedclasses.tables.records.T_785, java.lang.Integer>
      ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this);

  /** The column <code>T_785.NAME</code>. */
  public final org.jooq.TableField<
          org.jooq.test.oracle3.generatedclasses.tables.records.T_785, java.lang.String>
      NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), this);

  /** The column <code>T_785.VALUE</code>. */
  public final org.jooq.TableField<
          org.jooq.test.oracle3.generatedclasses.tables.records.T_785, java.lang.String>
      VALUE = createField("VALUE", org.jooq.impl.SQLDataType.VARCHAR.length(50), this);

  /** Create a <code>T_785</code> table reference */
  public T_785() {
    super("T_785", org.jooq.test.oracle3.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);
  }

  /** Create an aliased <code>T_785</code> table reference */
  public T_785(java.lang.String alias) {
    super(
        alias,
        org.jooq.test.oracle3.generatedclasses.DefaultSchema.DEFAULT_SCHEMA,
        org.jooq.test.oracle3.generatedclasses.tables.T_785.T_785);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.test.oracle3.generatedclasses.tables.T_785 as(java.lang.String alias) {
    return new org.jooq.test.oracle3.generatedclasses.tables.T_785(alias);
  }
}
示例#3
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings("all")
public class F_TABLES3
    extends org.jooq.impl.AbstractRoutine<
        org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE>
    implements java.lang.Cloneable {

  private static final long serialVersionUID = 647038008;

  /** The parameter <code>TEST.F_TABLES3.RETURN_VALUE</code>. */
  public static final org.jooq.Parameter<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE>
      RETURN_VALUE =
          createParameter(
              "RETURN_VALUE",
              org.jooq.impl.SQLDataType.VARCHAR.asArrayDataType(
                  org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

  /** The parameter <code>TEST.F_TABLES3.IN_TABLE</code>. */
  public static final org.jooq.Parameter<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE>
      IN_TABLE =
          createParameter(
              "IN_TABLE",
              org.jooq.impl.SQLDataType.VARCHAR.asArrayDataType(
                  org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

  /** Create a new routine call instance */
  public F_TABLES3() {
    super(
        "F_TABLES3",
        org.jooq.test.oracle3.generatedclasses.TEST.TEST,
        org.jooq.impl.SQLDataType.VARCHAR.asArrayDataType(
            org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

    setReturnParameter(RETURN_VALUE);
    addInParameter(IN_TABLE);
  }

  /** Set the <code>IN_TABLE</code> parameter IN value to the routine */
  public void setIN_TABLE(org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE value) {
    setValue(org.jooq.test.oracle3.generatedclasses.routines.F_TABLES3.IN_TABLE, value);
  }

  /**
   * Set the <code>IN_TABLE</code> parameter to the function to be used with a {@link
   * org.jooq.Select} statement
   */
  public void setIN_TABLE(
      org.jooq.Field<org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE> field) {
    setField(IN_TABLE, field);
  }
}
示例#4
0
/**
 * This class is generated by jOOQ.
 *
 * <p>Check existence of an author
 */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class PAuthorExists extends org.jooq.impl.AbstractRoutine<java.lang.Void> {

  private static final long serialVersionUID = -149709969;

  /** The parameter <code>test.p_author_exists.author_name</code>. */
  public static final org.jooq.Parameter<java.lang.String> AUTHOR_NAME =
      createParameter("author_name", org.jooq.impl.SQLDataType.VARCHAR.length(50));

  /** The parameter <code>test.p_author_exists.result</code>. */
  public static final org.jooq.Parameter<java.lang.Integer> RESULT =
      createParameter("result", org.jooq.impl.SQLDataType.INTEGER);

  /** Create a new routine call instance */
  public PAuthorExists() {
    super("p_author_exists", org.jooq.test.mariadb.generatedclasses.Test.TEST);

    addInParameter(AUTHOR_NAME);
    addOutParameter(RESULT);
  }

  /** Set the <code>author_name</code> parameter IN value to the routine */
  public void setAuthorName(java.lang.String value) {
    setValue(org.jooq.test.mariadb.generatedclasses.routines.PAuthorExists.AUTHOR_NAME, value);
  }

  /** Get the <code>result</code> parameter OUT value from the routine */
  public java.lang.Integer getResult() {
    return getValue(RESULT);
  }
}
示例#5
0
 /** Create a new <code>U_STRING_TABLE</code> record */
 public U_STRING_TABLE(org.jooq.Configuration configuration) {
   super(
       org.jooq.test.oracle3.generatedclasses.DefaultSchema.DEFAULT_SCHEMA,
       "U_STRING_TABLE",
       org.jooq.impl.SQLDataType.VARCHAR.length(20),
       configuration);
 }
示例#6
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings("all")
public class P_TABLES3 extends org.jooq.impl.AbstractRoutine<java.lang.Void>
    implements java.lang.Cloneable {

  private static final long serialVersionUID = -1465963831;

  /** The parameter <code>P_TABLES3.IN_TABLE</code>. */
  public static final org.jooq.Parameter<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE>
      IN_TABLE =
          createParameter(
              "IN_TABLE",
              org.jooq.impl.SQLDataType.VARCHAR
                  .length(20)
                  .asArrayDataType(
                      org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

  /** The parameter <code>P_TABLES3.OUT_TABLE</code>. */
  public static final org.jooq.Parameter<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE>
      OUT_TABLE =
          createParameter(
              "OUT_TABLE",
              org.jooq.impl.SQLDataType.VARCHAR
                  .length(20)
                  .asArrayDataType(
                      org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

  /** Create a new routine call instance */
  public P_TABLES3() {
    super("P_TABLES3", org.jooq.test.oracle3.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);

    addInParameter(IN_TABLE);
    addOutParameter(OUT_TABLE);
  }

  /** Set the <code>IN_TABLE</code> parameter IN value to the routine */
  public void setIN_TABLE(org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE value) {
    setValue(org.jooq.test.oracle3.generatedclasses.routines.P_TABLES3.IN_TABLE, value);
  }

  /** Get the <code>OUT_TABLE</code> parameter OUT value from the routine */
  public org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE getOUT_TABLE() {
    return getValue(OUT_TABLE);
  }
}
示例#7
0
  /** Create a new routine call instance */
  public F_TABLES3() {
    super(
        "F_TABLES3",
        org.jooq.test.oracle3.generatedclasses.TEST.TEST,
        org.jooq.impl.SQLDataType.VARCHAR.asArrayDataType(
            org.jooq.test.oracle3.generatedclasses.udt.records.U_STRING_TABLE.class));

    setReturnParameter(RETURN_VALUE);
    addInParameter(IN_TABLE);
  }
示例#8
0
文件: T_785.java 项目: jeffska/jOOQ
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings("all")
public class T_785
    extends org.jooq.impl.TableImpl<
        org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record> {

  private static final long serialVersionUID = 1789838973;

  /** The singleton instance of <code>t_785</code> */
  public static final org.jooq.test.sqlite.generatedclasses.tables.T_785 T_785 =
      new org.jooq.test.sqlite.generatedclasses.tables.T_785();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record>
      getRecordType() {
    return org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record.class;
  }

  /** The column <code>t_785.ID</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record, java.lang.Integer>
      ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, T_785);

  /** The column <code>t_785.NAME</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record, java.lang.String>
      NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), T_785);

  /** The column <code>t_785.VALUE</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.T_785Record, java.lang.String>
      VALUE = createField("VALUE", org.jooq.impl.SQLDataType.VARCHAR.length(50), T_785);

  /** No further instances allowed */
  private T_785() {
    super("t_785", org.jooq.test.sqlite.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);
  }
}
示例#9
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class MLibrary
    extends org.jooq.impl.TableImpl<
        org.jooq.test.jdbcoracle.generatedclasses.test.tables.records.MLibraryRecord> {

  private static final long serialVersionUID = 1625880752;

  /** The singleton instance of <code>TEST.M_LIBRARY</code> */
  public static final org.jooq.test.jdbcoracle.generatedclasses.test.tables.MLibrary M_LIBRARY =
      new org.jooq.test.jdbcoracle.generatedclasses.test.tables.MLibrary();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<
          org.jooq.test.jdbcoracle.generatedclasses.test.tables.records.MLibraryRecord>
      getRecordType() {
    return org.jooq.test.jdbcoracle.generatedclasses.test.tables.records.MLibraryRecord.class;
  }

  /** The column <code>TEST.M_LIBRARY.AUTHOR</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbcoracle.generatedclasses.test.tables.records.MLibraryRecord,
          java.lang.String>
      AUTHOR = createField("AUTHOR", org.jooq.impl.SQLDataType.VARCHAR.length(101), M_LIBRARY);

  /** The column <code>TEST.M_LIBRARY.TITLE</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.jdbcoracle.generatedclasses.test.tables.records.MLibraryRecord,
          java.lang.String>
      TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(400), M_LIBRARY);

  /** No further instances allowed */
  private MLibrary() {
    super("M_LIBRARY", org.jooq.test.jdbcoracle.generatedclasses.test.Test.TEST);
  }
}
示例#10
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class PUnused extends org.jooq.impl.AbstractRoutine<java.lang.Void> {

  private static final long serialVersionUID = -1240874829;

  /** The parameter <code>test.p_unused.in1</code>. */
  public static final org.jooq.Parameter<java.lang.String> IN1 =
      createParameter("in1", org.jooq.impl.SQLDataType.VARCHAR.length(50));

  /** The parameter <code>test.p_unused.out1</code>. */
  public static final org.jooq.Parameter<java.lang.Byte> OUT1 =
      createParameter("out1", org.jooq.impl.SQLDataType.TINYINT);

  /** The parameter <code>test.p_unused.out2</code>. */
  public static final org.jooq.Parameter<java.lang.Byte> OUT2 =
      createParameter("out2", org.jooq.impl.SQLDataType.TINYINT);

  /** Create a new routine call instance */
  public PUnused() {
    super("p_unused", org.jooq.test.mysql.generatedclasses.Test.TEST);

    addInParameter(IN1);
    addOutParameter(OUT1);
    addInOutParameter(OUT2);
  }

  /** Set the <code>in1</code> parameter IN value to the routine */
  public void setIn1(java.lang.String value) {
    setValue(org.jooq.test.mysql.generatedclasses.routines.PUnused.IN1, value);
  }

  /** Set the <code>out2</code> parameter IN value to the routine */
  public void setOut2(java.lang.Byte value) {
    setValue(org.jooq.test.mysql.generatedclasses.routines.PUnused.OUT2, value);
  }

  /** Get the <code>out1</code> parameter OUT value from the routine */
  public java.lang.Byte getOut1() {
    return getValue(OUT1);
  }

  /** Get the <code>out2</code> parameter OUT value from the routine */
  public java.lang.Byte getOut2() {
    return getValue(OUT2);
  }
}
示例#11
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.7.3"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class TeachingMaterialHead extends TableImpl<TeachingMaterialHeadRecord> {

  private static final long serialVersionUID = -136738086;

  /** The reference instance of <code>cbis.teaching_material_head</code> */
  public static final TeachingMaterialHead TEACHING_MATERIAL_HEAD = new TeachingMaterialHead();

  /** The class holding records for this type */
  @Override
  public Class<TeachingMaterialHeadRecord> getRecordType() {
    return TeachingMaterialHeadRecord.class;
  }

  /** The column <code>cbis.teaching_material_head.id</code>. */
  public final TableField<TeachingMaterialHeadRecord, Integer> ID =
      createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** The column <code>cbis.teaching_material_head.title</code>. */
  public final TableField<TeachingMaterialHeadRecord, String> TITLE =
      createField("title", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");

  /** The column <code>cbis.teaching_material_head.title_variable</code>. */
  public final TableField<TeachingMaterialHeadRecord, String> TITLE_VARIABLE =
      createField(
          "title_variable", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");

  /** The column <code>cbis.teaching_material_head.teach_task_title_id</code>. */
  public final TableField<TeachingMaterialHeadRecord, Integer> TEACH_TASK_TITLE_ID =
      createField("teach_task_title_id", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>cbis.teaching_material_head.teaching_material_template_id</code>. */
  public final TableField<TeachingMaterialHeadRecord, Integer> TEACHING_MATERIAL_TEMPLATE_ID =
      createField(
          "teaching_material_template_id",
          org.jooq.impl.SQLDataType.INTEGER.nullable(false),
          this,
          "");

  /** The column <code>cbis.teaching_material_head.is_assignment</code>. */
  public final TableField<TeachingMaterialHeadRecord, Byte> IS_ASSIGNMENT =
      createField("is_assignment", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, "");

  /** The column <code>cbis.teaching_material_head.sort</code>. */
  public final TableField<TeachingMaterialHeadRecord, Integer> SORT =
      createField("sort", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** Create a <code>cbis.teaching_material_head</code> table reference */
  public TeachingMaterialHead() {
    this("teaching_material_head", null);
  }

  /** Create an aliased <code>cbis.teaching_material_head</code> table reference */
  public TeachingMaterialHead(String alias) {
    this(alias, TEACHING_MATERIAL_HEAD);
  }

  private TeachingMaterialHead(String alias, Table<TeachingMaterialHeadRecord> aliased) {
    this(alias, aliased, null);
  }

  private TeachingMaterialHead(
      String alias, Table<TeachingMaterialHeadRecord> aliased, Field<?>[] parameters) {
    super(alias, Cbis.CBIS, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Identity<TeachingMaterialHeadRecord, Integer> getIdentity() {
    return Keys.IDENTITY_TEACHING_MATERIAL_HEAD;
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<TeachingMaterialHeadRecord> getPrimaryKey() {
    return Keys.KEY_TEACHING_MATERIAL_HEAD_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<TeachingMaterialHeadRecord>> getKeys() {
    return Arrays.<UniqueKey<TeachingMaterialHeadRecord>>asList(
        Keys.KEY_TEACHING_MATERIAL_HEAD_PRIMARY);
  }

  /** {@inheritDoc} */
  @Override
  public List<ForeignKey<TeachingMaterialHeadRecord, ?>> getReferences() {
    return Arrays.<ForeignKey<TeachingMaterialHeadRecord, ?>>asList(
        Keys.TEACHING_MATERIAL_HEAD_IBFK_1);
  }

  /** {@inheritDoc} */
  @Override
  public TeachingMaterialHead as(String alias) {
    return new TeachingMaterialHead(alias, this);
  }

  /** Rename this table */
  public TeachingMaterialHead rename(String name) {
    return new TeachingMaterialHead(name, null);
  }
}
示例#12
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.8.4"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Supplier extends TableImpl<SupplierRecord> {

  private static final long serialVersionUID = 145075241;

  /** The reference instance of <code>warehouse.Supplier</code> */
  public static final Supplier SUPPLIER = new Supplier();

  /** The class holding records for this type */
  @Override
  public Class<SupplierRecord> getRecordType() {
    return SupplierRecord.class;
  }

  /** The column <code>warehouse.Supplier.id</code>. */
  public final TableField<SupplierRecord, Long> ID =
      createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>warehouse.Supplier.code</code>. */
  public final TableField<SupplierRecord, String> CODE =
      createField("code", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>warehouse.Supplier.name</code>. */
  public final TableField<SupplierRecord, String> NAME =
      createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>warehouse.Supplier.dateCreated</code>. */
  public final TableField<SupplierRecord, Timestamp> DATECREATED =
      createField(
          "dateCreated",
          org.jooq.impl.SQLDataType.TIMESTAMP
              .nullable(false)
              .defaultValue(
                  org.jooq.impl.DSL.inline(
                      "CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)),
          this,
          "");

  /** Create a <code>warehouse.Supplier</code> table reference */
  public Supplier() {
    this("Supplier", null);
  }

  /** Create an aliased <code>warehouse.Supplier</code> table reference */
  public Supplier(String alias) {
    this(alias, SUPPLIER);
  }

  private Supplier(String alias, Table<SupplierRecord> aliased) {
    this(alias, aliased, null);
  }

  private Supplier(String alias, Table<SupplierRecord> aliased, Field<?>[] parameters) {
    super(alias, null, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Schema getSchema() {
    return warehouse.WAREHOUSE;
  }

  /** {@inheritDoc} */
  @Override
  public Identity<SupplierRecord, Long> getIdentity() {
    return Keys.IDENTITY_SUPPLIER;
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<SupplierRecord> getPrimaryKey() {
    return Keys.KEY_SUPPLIER_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<SupplierRecord>> getKeys() {
    return Arrays.<UniqueKey<SupplierRecord>>asList(
        Keys.KEY_SUPPLIER_PRIMARY, Keys.KEY_SUPPLIER_CODE);
  }

  /** {@inheritDoc} */
  @Override
  public Supplier as(String alias) {
    return new Supplier(alias, this);
  }

  /** Rename this table */
  public Supplier rename(String name) {
    return new Supplier(name, null);
  }
}
示例#13
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.7.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class ZipkinSpans extends TableImpl<Record> {

  private static final long serialVersionUID = -1574931;

  /** The reference instance of <code>zipkin.zipkin_spans</code> */
  public static final ZipkinSpans ZIPKIN_SPANS = new ZipkinSpans();

  /** The class holding records for this type */
  @Override
  public Class<Record> getRecordType() {
    return Record.class;
  }

  /** The column <code>zipkin.zipkin_spans.trace_id</code>. */
  public final TableField<Record, Long> TRACE_ID =
      createField("trace_id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>zipkin.zipkin_spans.id</code>. */
  public final TableField<Record, Long> ID =
      createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>zipkin.zipkin_spans.name</code>. */
  public final TableField<Record, String> NAME =
      createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>zipkin.zipkin_spans.parent_id</code>. */
  public final TableField<Record, Long> PARENT_ID =
      createField("parent_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>zipkin.zipkin_spans.debug</code>. */
  public final TableField<Record, Boolean> DEBUG =
      createField("debug", org.jooq.impl.SQLDataType.BIT, this, "");

  /**
   * The column <code>zipkin.zipkin_spans.start_ts</code>. Span.timestamp(): epoch micros used for
   * endTs query and to implement TTL
   */
  public final TableField<Record, Long> START_TS =
      createField(
          "start_ts",
          org.jooq.impl.SQLDataType.BIGINT,
          this,
          "Span.timestamp(): epoch micros used for endTs query and to implement TTL");

  /**
   * The column <code>zipkin.zipkin_spans.duration</code>. Span.duration(): micros used for
   * minDuration and maxDuration query
   */
  public final TableField<Record, Long> DURATION =
      createField(
          "duration",
          org.jooq.impl.SQLDataType.BIGINT,
          this,
          "Span.duration(): micros used for minDuration and maxDuration query");

  /** Create a <code>zipkin.zipkin_spans</code> table reference */
  public ZipkinSpans() {
    this("zipkin_spans", null);
  }

  /** Create an aliased <code>zipkin.zipkin_spans</code> table reference */
  public ZipkinSpans(String alias) {
    this(alias, ZIPKIN_SPANS);
  }

  private ZipkinSpans(String alias, Table<Record> aliased) {
    this(alias, aliased, null);
  }

  private ZipkinSpans(String alias, Table<Record> aliased, Field<?>[] parameters) {
    super(alias, Zipkin.ZIPKIN, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public ZipkinSpans as(String alias) {
    return new ZipkinSpans(alias, this);
  }

  /** Rename this table */
  public ZipkinSpans rename(String name) {
    return new ZipkinSpans(name, null);
  }
}
示例#14
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class AccountTable
    extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.AccountRecord> {

  private static final long serialVersionUID = -816306637;

  /** The singleton instance of <code>cattle.account</code> */
  public static final io.cattle.platform.core.model.tables.AccountTable ACCOUNT =
      new io.cattle.platform.core.model.tables.AccountTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.AccountRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.AccountRecord.class;
  }

  /** The column <code>cattle.account.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.account.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.account.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.account.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(16777215)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.account.external_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID =
          createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.external_id_type</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID_TYPE =
          createField("external_id_type", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.health_state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      HEALTH_STATE =
          createField("health_state", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.project_template_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      PROJECT_TEMPLATE_ID =
          createField("project_template_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.default_network_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      DEFAULT_NETWORK_ID =
          createField("default_network_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.version</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      VERSION = createField("version", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** Create a <code>cattle.account</code> table reference */
  public AccountTable() {
    this("account", null);
  }

  /** Create an aliased <code>cattle.account</code> table reference */
  public AccountTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.AccountTable.ACCOUNT);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased) {
    this(alias, aliased, null);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_ACCOUNT;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_IDX_ACCOUNT_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>asList(
            io.cattle.platform.core.model.Keys.FK_ACCOUNT__PROJECT_TEMPLATE_ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.AccountTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.AccountTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.AccountTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.AccountTable(name, null);
  }
}
示例#15
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.4.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class DbIndexKey extends org.jooq.impl.TableImpl<org.jooq.Record> {

  private static final long serialVersionUID = 1317315060;

  /** The singleton instance of <code>db_index_key</code> */
  public static final org.jooq.util.cubrid.dba.tables.DbIndexKey DB_INDEX_KEY =
      new org.jooq.util.cubrid.dba.tables.DbIndexKey();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.Record> getRecordType() {
    return org.jooq.Record.class;
  }

  /** The column <code>db_index_key.index_name</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.String> INDEX_NAME =
      createField("index_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>db_index_key.class_name</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.String> CLASS_NAME =
      createField("class_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>db_index_key.key_attr_name</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.String> KEY_ATTR_NAME =
      createField("key_attr_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>db_index_key.key_order</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.Integer> KEY_ORDER =
      createField("key_order", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>db_index_key.asc_desc</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.String> ASC_DESC =
      createField("asc_desc", org.jooq.impl.SQLDataType.VARCHAR.length(4), this, "");

  /** The column <code>db_index_key.key_prefix_length</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.Integer> KEY_PREFIX_LENGTH =
      createField("key_prefix_length", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>db_index_key.func</code>. */
  public final org.jooq.TableField<org.jooq.Record, java.lang.String> FUNC =
      createField("func", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** Create a <code>db_index_key</code> table reference */
  public DbIndexKey() {
    this("db_index_key", null);
  }

  /** Create an aliased <code>db_index_key</code> table reference */
  public DbIndexKey(java.lang.String alias) {
    this(alias, org.jooq.util.cubrid.dba.tables.DbIndexKey.DB_INDEX_KEY);
  }

  private DbIndexKey(java.lang.String alias, org.jooq.Table<org.jooq.Record> aliased) {
    this(alias, aliased, null);
  }

  private DbIndexKey(
      java.lang.String alias,
      org.jooq.Table<org.jooq.Record> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, org.jooq.util.cubrid.dba.DefaultSchema.DEFAULT_SCHEMA, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.util.cubrid.dba.tables.DbIndexKey as(java.lang.String alias) {
    return new org.jooq.util.cubrid.dba.tables.DbIndexKey(alias, this);
  }

  /** Rename this table */
  public org.jooq.util.cubrid.dba.tables.DbIndexKey rename(java.lang.String name) {
    return new org.jooq.util.cubrid.dba.tables.DbIndexKey(name, null);
  }
}
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.5.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Coupons
    extends org.jooq.impl.TableImpl<
        org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord> {

  private static final long serialVersionUID = -2146926277;

  /** The reference instance of <code>killbill.coupons</code> */
  public static final org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons COUPONS =
      new org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>
      getRecordType() {
    return org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord.class;
  }

  /** The column <code>killbill.coupons.record_id</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord,
          org.jooq.types.UInteger>
      RECORD_ID =
          createField(
              "record_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");

  /** The column <code>killbill.coupons.coupon_code</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      COUPON_CODE =
          createField(
              "coupon_code",
              org.jooq.impl.SQLDataType.VARCHAR.length(36).nullable(false),
              this,
              "");

  /** The column <code>killbill.coupons.coupon_name</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      COUPON_NAME =
          createField(
              "coupon_name",
              org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false),
              this,
              "");

  /** The column <code>killbill.coupons.discount_type</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      DISCOUNT_TYPE =
          createField(
              "discount_type",
              org.jooq.impl.SQLDataType.VARCHAR.length(15).nullable(false),
              this,
              "");

  /** The column <code>killbill.coupons.percentage_discount</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.Double>
      PERCENTAGE_DISCOUNT =
          createField(
              "percentage_discount", org.jooq.impl.SQLDataType.FLOAT.defaulted(true), this, "");

  /** The column <code>killbill.coupons.amount_discount</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.Double>
      AMOUNT_DISCOUNT =
          createField("amount_discount", org.jooq.impl.SQLDataType.FLOAT.defaulted(true), this, "");

  /** The column <code>killbill.coupons.amount_currency</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      AMOUNT_CURRENCY =
          createField("amount_currency", org.jooq.impl.SQLDataType.VARCHAR.length(3), this, "");

  /** The column <code>killbill.coupons.is_active</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.Byte>
      IS_ACTIVE =
          createField(
              "is_active",
              org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true),
              this,
              "");

  /** The column <code>killbill.coupons.duration</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      DURATION =
          createField(
              "duration", org.jooq.impl.SQLDataType.VARCHAR.length(15).nullable(false), this, "");

  /** The column <code>killbill.coupons.number_of_invoices</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord,
          java.lang.Integer>
      NUMBER_OF_INVOICES =
          createField(
              "number_of_invoices", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, "");

  /** The column <code>killbill.coupons.start_date</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.sql.Date>
      START_DATE =
          createField("start_date", org.jooq.impl.SQLDataType.DATE.nullable(false), this, "");

  /** The column <code>killbill.coupons.expiration_date</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.sql.Date>
      EXPIRATION_DATE = createField("expiration_date", org.jooq.impl.SQLDataType.DATE, this, "");

  /** The column <code>killbill.coupons.max_redemptions</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord,
          java.lang.Integer>
      MAX_REDEMPTIONS =
          createField(
              "max_redemptions", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, "");

  /** The column <code>killbill.coupons.kb_tenant_id</code>. */
  public final org.jooq.TableField<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord, java.lang.String>
      KB_TENANT_ID =
          createField(
              "kb_tenant_id", org.jooq.impl.SQLDataType.CHAR.length(36).nullable(false), this, "");

  /** Create a <code>killbill.coupons</code> table reference */
  public Coupons() {
    this("coupons", null);
  }

  /** Create an aliased <code>killbill.coupons</code> table reference */
  public Coupons(java.lang.String alias) {
    this(alias, org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons.COUPONS);
  }

  private Coupons(
      java.lang.String alias,
      org.jooq.Table<org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private Coupons(
      java.lang.String alias,
      org.jooq.Table<org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>
          aliased,
      org.jooq.Field<?>[] parameters) {
    super(
        alias,
        org.killbill.billing.plugin.coupon.dao.gen.Killbill.KILLBILL,
        aliased,
        parameters,
        "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord,
          org.jooq.types.UInteger>
      getIdentity() {
    return org.killbill.billing.plugin.coupon.dao.gen.Keys.IDENTITY_COUPONS;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>
      getPrimaryKey() {
    return org.killbill.billing.plugin.coupon.dao.gen.Keys.KEY_COUPONS_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<
              org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<
                org.killbill.billing.plugin.coupon.dao.gen.tables.records.CouponsRecord>>
            asList(
                org.killbill.billing.plugin.coupon.dao.gen.Keys.KEY_COUPONS_PRIMARY,
                org.killbill.billing.plugin.coupon.dao.gen.Keys.KEY_COUPONS_COUPONS_CODE);
  }

  /** {@inheritDoc} */
  @Override
  public org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons as(java.lang.String alias) {
    return new org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons(alias, this);
  }

  /** Rename this table */
  public org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons rename(java.lang.String name) {
    return new org.killbill.billing.plugin.coupon.dao.gen.tables.Coupons(name, null);
  }
}
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.5.2"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class ContestQuestions
    extends org.jooq.impl.TableImpl<
        org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord> {

  private static final long serialVersionUID = 1378176404;

  /** The reference instance of <code>public.contest_questions</code> */
  public static final org.ng200.openolympus.jooq.tables.ContestQuestions CONTEST_QUESTIONS =
      new org.ng200.openolympus.jooq.tables.ContestQuestions();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord>
      getRecordType() {
    return org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord.class;
  }

  /** The column <code>public.contest_questions.id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.contest_questions.created_date</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.sql.Timestamp>
      CREATED_DATE = createField("created_date", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");

  /** The column <code>public.contest_questions.last_modified_date</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.sql.Timestamp>
      LAST_MODIFIED_DATE =
          createField("last_modified_date", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");

  /** The column <code>public.contest_questions.question</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.String>
      QUESTION = createField("question", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>public.contest_questions.response</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.String>
      RESPONSE = createField("response", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>public.contest_questions.contest_id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.Long>
      CONTEST_ID = createField("contest_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>public.contest_questions.created_by_id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.Long>
      CREATED_BY_ID = createField("created_by_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>public.contest_questions.last_modified_by_id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.Long>
      LAST_MODIFIED_BY_ID =
          createField("last_modified_by_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>public.contest_questions.user_id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, java.lang.Long>
      USER_ID = createField("user_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** Create a <code>public.contest_questions</code> table reference */
  public ContestQuestions() {
    this("contest_questions", null);
  }

  /** Create an aliased <code>public.contest_questions</code> table reference */
  public ContestQuestions(java.lang.String alias) {
    this(alias, org.ng200.openolympus.jooq.tables.ContestQuestions.CONTEST_QUESTIONS);
  }

  private ContestQuestions(
      java.lang.String alias,
      org.jooq.Table<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord> aliased) {
    this(alias, aliased, null);
  }

  private ContestQuestions(
      java.lang.String alias,
      org.jooq.Table<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, org.ng200.openolympus.jooq.Public.PUBLIC, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord>
      getPrimaryKey() {
    return org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS_PKEY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord>>
            asList(org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS_PKEY);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<org.ng200.openolympus.jooq.tables.records.ContestQuestionsRecord, ?>>
            asList(
                org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS__FK_6FQYKIQBJNVDU7QFUOSV95IKW,
                org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS__FK_NNNILJ5LPLC8GY15SEGSB5VUI,
                org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS__FK_DO6VS8XP449PK0001124M05R6,
                org.ng200.openolympus.jooq.Keys.CONTEST_QUESTIONS__FK_PY8FJ36W1K14S310T0YRC72D0);
  }

  /** {@inheritDoc} */
  @Override
  public org.ng200.openolympus.jooq.tables.ContestQuestions as(java.lang.String alias) {
    return new org.ng200.openolympus.jooq.tables.ContestQuestions(alias, this);
  }

  /** Rename this table */
  public org.ng200.openolympus.jooq.tables.ContestQuestions rename(java.lang.String name) {
    return new org.ng200.openolympus.jooq.tables.ContestQuestions(name, null);
  }
}
示例#18
0
文件: TArrays.java 项目: binque/jOOQ
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked"})
public class TArrays
    extends org.jooq.impl.TableImpl<
        org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord> {

  private static final long serialVersionUID = 732107077;

  /** The singleton instance of <code>PUBLIC.T_ARRAYS</code> */
  public static final org.jooq.test.hsqldb.generatedclasses.tables.TArrays T_ARRAYS =
      new org.jooq.test.hsqldb.generatedclasses.tables.TArrays();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord>
      getRecordType() {
    return org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord.class;
  }

  /** The column <code>PUBLIC.T_ARRAYS.ID</code>. */
  public final org.jooq.TableField<
          org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord, java.lang.Integer>
      ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this);

  /** The column <code>PUBLIC.T_ARRAYS.STRING_ARRAY</code>. */
  public final org.jooq.TableField<
          org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord, java.lang.String[]>
      STRING_ARRAY =
          createField("STRING_ARRAY", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this);

  /** The column <code>PUBLIC.T_ARRAYS.NUMBER_ARRAY</code>. */
  public final org.jooq.TableField<
          org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord, java.lang.Integer[]>
      NUMBER_ARRAY =
          createField("NUMBER_ARRAY", org.jooq.impl.SQLDataType.INTEGER.getArrayDataType(), this);

  /** The column <code>PUBLIC.T_ARRAYS.DATE_ARRAY</code>. */
  public final org.jooq.TableField<
          org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord, java.sql.Date[]>
      DATE_ARRAY =
          createField("DATE_ARRAY", org.jooq.impl.SQLDataType.DATE.getArrayDataType(), this);

  /** Create a <code>PUBLIC.T_ARRAYS</code> table reference */
  public TArrays() {
    super("T_ARRAYS", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC);
  }

  /** Create an aliased <code>PUBLIC.T_ARRAYS</code> table reference */
  public TArrays(java.lang.String alias) {
    super(
        alias,
        org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC,
        org.jooq.test.hsqldb.generatedclasses.tables.TArrays.T_ARRAYS);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord>
      getPrimaryKey() {
    return org.jooq.test.hsqldb.generatedclasses.Keys.PK_T_ARRAYS;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<org.jooq.test.hsqldb.generatedclasses.tables.records.TArraysRecord>>
            asList(org.jooq.test.hsqldb.generatedclasses.Keys.PK_T_ARRAYS);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.test.hsqldb.generatedclasses.tables.TArrays as(java.lang.String alias) {
    return new org.jooq.test.hsqldb.generatedclasses.tables.TArrays(alias);
  }
}
示例#19
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.6.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Author extends TableImpl<AuthorRecord> {

  private static final long serialVersionUID = -1989221607;

  /** The reference instance of <code>PUBLIC.AUTHOR</code> */
  public static final Author AUTHOR = new Author();

  /** The class holding records for this type */
  @Override
  public Class<AuthorRecord> getRecordType() {
    return AuthorRecord.class;
  }

  /** The column <code>PUBLIC.AUTHOR.ID</code>. */
  public final TableField<AuthorRecord, Integer> ID =
      createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** The column <code>PUBLIC.AUTHOR.FIRST_NAME</code>. */
  public final TableField<AuthorRecord, String> FIRST_NAME =
      createField("FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");

  /** The column <code>PUBLIC.AUTHOR.LAST_NAME</code>. */
  public final TableField<AuthorRecord, String> LAST_NAME =
      createField(
          "LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");

  /** The column <code>PUBLIC.AUTHOR.DATE_OF_BIRTH</code>. */
  public final TableField<AuthorRecord, Date> DATE_OF_BIRTH =
      createField("DATE_OF_BIRTH", org.jooq.impl.SQLDataType.DATE, this, "");

  /** The column <code>PUBLIC.AUTHOR.YEAR_OF_BIRTH</code>. */
  public final TableField<AuthorRecord, Integer> YEAR_OF_BIRTH =
      createField("YEAR_OF_BIRTH", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>PUBLIC.AUTHOR.DISTINGUISHED</code>. */
  public final TableField<AuthorRecord, Byte> DISTINGUISHED =
      createField("DISTINGUISHED", org.jooq.impl.SQLDataType.TINYINT, this, "");

  /** Create a <code>PUBLIC.AUTHOR</code> table reference */
  public Author() {
    this("AUTHOR", null);
  }

  /** Create an aliased <code>PUBLIC.AUTHOR</code> table reference */
  public Author(String alias) {
    this(alias, AUTHOR);
  }

  private Author(String alias, Table<AuthorRecord> aliased) {
    this(alias, aliased, null);
  }

  private Author(String alias, Table<AuthorRecord> aliased, Field<?>[] parameters) {
    super(alias, Public.PUBLIC, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<AuthorRecord> getPrimaryKey() {
    return Keys.CONSTRAINT_7;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<AuthorRecord>> getKeys() {
    return Arrays.<UniqueKey<AuthorRecord>>asList(Keys.CONSTRAINT_7);
  }

  /** {@inheritDoc} */
  @Override
  public Author as(String alias) {
    return new Author(alias, this);
  }

  /** Rename this table */
  public Author rename(String name) {
    return new Author(name, null);
  }
}
示例#20
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.7.3"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class AutonomousPracticeTemplate extends TableImpl<AutonomousPracticeTemplateRecord> {

  private static final long serialVersionUID = 483640064;

  /** The reference instance of <code>cbis.autonomous_practice_template</code> */
  public static final AutonomousPracticeTemplate AUTONOMOUS_PRACTICE_TEMPLATE =
      new AutonomousPracticeTemplate();

  /** The class holding records for this type */
  @Override
  public Class<AutonomousPracticeTemplateRecord> getRecordType() {
    return AutonomousPracticeTemplateRecord.class;
  }

  /** The column <code>cbis.autonomous_practice_template.id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Integer> ID =
      createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /**
   * The column <code>cbis.autonomous_practice_template.autonomous_practice_template_title</code>.
   */
  public final TableField<AutonomousPracticeTemplateRecord, String>
      AUTONOMOUS_PRACTICE_TEMPLATE_TITLE =
          createField(
              "autonomous_practice_template_title",
              org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false),
              this,
              "");

  /** The column <code>cbis.autonomous_practice_template.create_time</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Timestamp> CREATE_TIME =
      createField(
          "create_time",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true),
          this,
          "");

  /** The column <code>cbis.autonomous_practice_template.users_id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, String> USERS_ID =
      createField(
          "users_id", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false), this, "");

  /** The column <code>cbis.autonomous_practice_template.tie_id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Integer> TIE_ID =
      createField("tie_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** Create a <code>cbis.autonomous_practice_template</code> table reference */
  public AutonomousPracticeTemplate() {
    this("autonomous_practice_template", null);
  }

  /** Create an aliased <code>cbis.autonomous_practice_template</code> table reference */
  public AutonomousPracticeTemplate(String alias) {
    this(alias, AUTONOMOUS_PRACTICE_TEMPLATE);
  }

  private AutonomousPracticeTemplate(
      String alias, Table<AutonomousPracticeTemplateRecord> aliased) {
    this(alias, aliased, null);
  }

  private AutonomousPracticeTemplate(
      String alias, Table<AutonomousPracticeTemplateRecord> aliased, Field<?>[] parameters) {
    super(alias, Cbis.CBIS, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Identity<AutonomousPracticeTemplateRecord, Integer> getIdentity() {
    return Keys.IDENTITY_AUTONOMOUS_PRACTICE_TEMPLATE;
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<AutonomousPracticeTemplateRecord> getPrimaryKey() {
    return Keys.KEY_AUTONOMOUS_PRACTICE_TEMPLATE_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<AutonomousPracticeTemplateRecord>> getKeys() {
    return Arrays.<UniqueKey<AutonomousPracticeTemplateRecord>>asList(
        Keys.KEY_AUTONOMOUS_PRACTICE_TEMPLATE_PRIMARY);
  }

  /** {@inheritDoc} */
  @Override
  public List<ForeignKey<AutonomousPracticeTemplateRecord, ?>> getReferences() {
    return Arrays.<ForeignKey<AutonomousPracticeTemplateRecord, ?>>asList(
        Keys.AUTONOMOUS_PRACTICE_TEMPLATE_IBFK_2, Keys.AUTONOMOUS_PRACTICE_TEMPLATE_IBFK_1);
  }

  /** {@inheritDoc} */
  @Override
  public AutonomousPracticeTemplate as(String alias) {
    return new AutonomousPracticeTemplate(alias, this);
  }

  /** Rename this table */
  public AutonomousPracticeTemplate rename(String name) {
    return new AutonomousPracticeTemplate(name, null);
  }
}
示例#21
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.4.2"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Country
    extends org.jooq.impl.TableImpl<
        eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord> {

  private static final long serialVersionUID = 1084999384;

  /** The singleton instance of <code>public.country</code> */
  public static final eu.redbyte.reservations.core.jooq.public_.tables.Country COUNTRY =
      new eu.redbyte.reservations.core.jooq.public_.tables.Country();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
      getRecordType() {
    return eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord.class;
  }

  /** The column <code>public.country.id</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.country.eu</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Boolean>
      EU = createField("eu", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>public.country.name</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.String>
      NAME =
          createField(
              "name", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>public.country.currencyid</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      CURRENCYID =
          createField("currencyid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.country.languageid</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      LANGUAGEID =
          createField("languageid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** Create a <code>public.country</code> table reference */
  public Country() {
    this("country", null);
  }

  /** Create an aliased <code>public.country</code> table reference */
  public Country(java.lang.String alias) {
    this(alias, eu.redbyte.reservations.core.jooq.public_.tables.Country.COUNTRY);
  }

  private Country(
      java.lang.String alias,
      org.jooq.Table<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private Country(
      java.lang.String alias,
      org.jooq.Table<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
          aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, null);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
      getPrimaryKey() {
    return null;
  }

  /** {@inheritDoc} */
  @Override
  public eu.redbyte.reservations.core.jooq.public_.tables.Country as(java.lang.String alias) {
    return new eu.redbyte.reservations.core.jooq.public_.tables.Country(alias, this);
  }

  /** Rename this table */
  public eu.redbyte.reservations.core.jooq.public_.tables.Country rename(java.lang.String name) {
    return new eu.redbyte.reservations.core.jooq.public_.tables.Country(name, null);
  }
}
示例#22
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked"})
public class XTestCase_85
    extends org.jooq.impl.TableImpl<
        org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record> {

  private static final long serialVersionUID = -1187567166;

  /** The singleton instance of <code>x_test_case_85</code> */
  public static final org.jooq.test.sqlite.generatedclasses.tables.XTestCase_85 X_TEST_CASE_85 =
      new org.jooq.test.sqlite.generatedclasses.tables.XTestCase_85();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record>
      getRecordType() {
    return org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record.class;
  }

  /** The column <code>x_test_case_85.id</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record,
          java.lang.Integer>
      ID = createField("id", org.jooq.impl.SQLDataType.INTEGER, X_TEST_CASE_85);

  /** The column <code>x_test_case_85.x_unused_id</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record,
          java.lang.Integer>
      X_UNUSED_ID = createField("x_unused_id", org.jooq.impl.SQLDataType.INTEGER, X_TEST_CASE_85);

  /** The column <code>x_test_case_85.x_unused_name</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record, java.lang.String>
      X_UNUSED_NAME =
          createField(
              "x_unused_name", org.jooq.impl.SQLDataType.VARCHAR.length(10), X_TEST_CASE_85);

  /** No further instances allowed */
  private XTestCase_85() {
    super("x_test_case_85", org.jooq.test.sqlite.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record>
      getPrimaryKey() {
    return org.jooq.test.sqlite.generatedclasses.Keys.PK_X_TEST_CASE_85;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<
              org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<
                org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record>>
            asList(org.jooq.test.sqlite.generatedclasses.Keys.PK_X_TEST_CASE_85);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<
              org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<
                org.jooq.test.sqlite.generatedclasses.tables.records.XTestCase_85Record, ?>>
            asList(org.jooq.test.sqlite.generatedclasses.Keys.FK_X_TEST_CASE_85_X_UNUSED_1);
  }
}
示例#23
0
文件: TAuthor.java 项目: joe776/jOOQ
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings("all")
public class TAuthor
    extends org.jooq.impl.UpdatableTableImpl<
        org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord> {

  private static final long serialVersionUID = -10656663;

  /** The singleton instance of <code>t_author</code> */
  public static final org.jooq.test.cubrid.generatedclasses.tables.TAuthor T_AUTHOR =
      new org.jooq.test.cubrid.generatedclasses.tables.TAuthor();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord>
      getRecordType() {
    return org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord.class;
  }

  /** The column <code>t_author.id</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.lang.Integer>
      ID = createField("id", org.jooq.impl.SQLDataType.INTEGER, T_AUTHOR);

  /** The column <code>t_author.first_name</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.lang.String>
      FIRST_NAME =
          createField("first_name", org.jooq.impl.SQLDataType.VARCHAR.length(50), T_AUTHOR);

  /** The column <code>t_author.last_name</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.lang.String>
      LAST_NAME = createField("last_name", org.jooq.impl.SQLDataType.VARCHAR.length(50), T_AUTHOR);

  /** The column <code>t_author.date_of_birth</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.sql.Date>
      DATE_OF_BIRTH = createField("date_of_birth", org.jooq.impl.SQLDataType.DATE, T_AUTHOR);

  /** The column <code>t_author.year_of_birth</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.lang.Integer>
      YEAR_OF_BIRTH = createField("year_of_birth", org.jooq.impl.SQLDataType.INTEGER, T_AUTHOR);

  /** The column <code>t_author.address</code>. */
  public static final org.jooq.TableField<
          org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord, java.lang.String>
      ADDRESS = createField("address", org.jooq.impl.SQLDataType.VARCHAR.length(200), T_AUTHOR);

  /** No further instances allowed */
  private TAuthor() {
    super("t_author", org.jooq.test.cubrid.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord>
      getPrimaryKey() {
    return org.jooq.test.cubrid.generatedclasses.Keys.T_AUTHOR__PK_T_AUTHOR;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<org.jooq.test.cubrid.generatedclasses.tables.records.TAuthorRecord>>
            asList(org.jooq.test.cubrid.generatedclasses.Keys.T_AUTHOR__PK_T_AUTHOR);
  }
}
示例#24
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked"})
public class U_ADDRESS_TYPE
    extends org.jooq.impl.UDTImpl<org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE>
    implements java.lang.Cloneable {

  private static final long serialVersionUID = 661896213;

  /** The singleton instance of <code>U_ADDRESS_TYPE</code> */
  public static final org.jooq.test.oracle3.generatedclasses.udt.U_ADDRESS_TYPE U_ADDRESS_TYPE =
      new org.jooq.test.oracle3.generatedclasses.udt.U_ADDRESS_TYPE();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE>
      getRecordType() {
    return org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE.class;
  }

  /** The attribute <code>U_ADDRESS_TYPE.STREET</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE,
          org.jooq.test.oracle3.generatedclasses.udt.records.U_STREET_TYPE>
      STREET =
          createField(
              "STREET",
              org.jooq.test.oracle3.generatedclasses.udt.U_STREET_TYPE.U_STREET_TYPE.getDataType(),
              U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.ZIP</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.lang.String>
      ZIP = createField("ZIP", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.CITY</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.lang.String>
      CITY = createField("CITY", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.COUNTRY</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.lang.String>
      COUNTRY =
          createField("COUNTRY", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.SINCE</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.sql.Date>
      SINCE = createField("SINCE", org.jooq.impl.SQLDataType.DATE, U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.CODE</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.lang.Integer>
      CODE = createField("CODE", org.jooq.impl.SQLDataType.INTEGER, U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.F_1323</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, byte[]>
      F_1323 = createField("F_1323", org.jooq.impl.SQLDataType.BLOB, U_ADDRESS_TYPE);

  /** The attribute <code>U_ADDRESS_TYPE.F_1326</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.oracle3.generatedclasses.udt.records.U_ADDRESS_TYPE, java.lang.String>
      F_1326 = createField("F_1326", org.jooq.impl.SQLDataType.CLOB, U_ADDRESS_TYPE);

  /** No further instances allowed */
  private U_ADDRESS_TYPE() {
    super("U_ADDRESS_TYPE", org.jooq.test.oracle3.generatedclasses.DefaultSchema.DEFAULT_SCHEMA);

    // Initialise data type
    getDataType();
  }
}
示例#25
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.6.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Language extends TableImpl<LanguageRecord> {

  private static final long serialVersionUID = -192479483;

  /** The reference instance of <code>PUBLIC.LANGUAGE</code> */
  public static final Language LANGUAGE = new Language();

  /** The class holding records for this type */
  @Override
  public Class<LanguageRecord> getRecordType() {
    return LanguageRecord.class;
  }

  /** The column <code>PUBLIC.LANGUAGE.ID</code>. */
  public final TableField<LanguageRecord, Integer> ID =
      createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** The column <code>PUBLIC.LANGUAGE.CD</code>. */
  public final TableField<LanguageRecord, String> CD =
      createField("CD", org.jooq.impl.SQLDataType.CHAR.length(2).nullable(false), this, "");

  /** The column <code>PUBLIC.LANGUAGE.DESCRIPTION</code>. */
  public final TableField<LanguageRecord, String> DESCRIPTION =
      createField("DESCRIPTION", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");

  /** Create a <code>PUBLIC.LANGUAGE</code> table reference */
  public Language() {
    this("LANGUAGE", null);
  }

  /** Create an aliased <code>PUBLIC.LANGUAGE</code> table reference */
  public Language(String alias) {
    this(alias, LANGUAGE);
  }

  private Language(String alias, Table<LanguageRecord> aliased) {
    this(alias, aliased, null);
  }

  private Language(String alias, Table<LanguageRecord> aliased, Field<?>[] parameters) {
    super(alias, Public.PUBLIC, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<LanguageRecord> getPrimaryKey() {
    return Keys.CONSTRAINT_C;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<LanguageRecord>> getKeys() {
    return Arrays.<UniqueKey<LanguageRecord>>asList(Keys.CONSTRAINT_C);
  }

  /** {@inheritDoc} */
  @Override
  public Language as(String alias) {
    return new Language(alias, this);
  }

  /** Rename this table */
  public Language rename(String name) {
    return new Language(name, null);
  }
}
示例#26
0
/**
 * This class is generated by jOOQ.
 *
 * <p>An entity holding language master data
 */
@java.lang.SuppressWarnings("all")
public class TLanguage
    extends org.jooq.impl.UpdatableTableImpl<
        org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord> {

  private static final long serialVersionUID = 262829027;

  /** The singleton instance of <code>test2.t_language</code> */
  public static final org.jooq.test.mysql2.generatedclasses.tables.TLanguage T_LANGUAGE =
      new org.jooq.test.mysql2.generatedclasses.tables.TLanguage();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord>
      getRecordType() {
    return org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord.class;
  }

  /** The column <code>test2.t_language.CD</code>. The language ISO code */
  public final org.jooq.TableField<
          org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord, java.lang.String>
      CD = createField("CD", org.jooq.impl.SQLDataType.CHAR.length(2), this);

  /** The column <code>test2.t_language.DESCRIPTION</code>. The language description */
  public final org.jooq.TableField<
          org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord, java.lang.String>
      DESCRIPTION = createField("DESCRIPTION", org.jooq.impl.SQLDataType.VARCHAR.length(50), this);

  /** The column <code>test2.t_language.description_english</code>. */
  public final org.jooq.TableField<
          org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord, java.lang.String>
      DESCRIPTION_ENGLISH =
          createField("description_english", org.jooq.impl.SQLDataType.VARCHAR.length(50), this);

  /** The column <code>test2.t_language.ID</code>. The language ID */
  public final org.jooq.TableField<
          org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord, java.lang.Integer>
      ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, this);

  /** Create a <code>test2.t_language</code> table reference */
  public TLanguage() {
    super("t_language", org.jooq.test.mysql2.generatedclasses.Test2.TEST2);
  }

  /** Create an aliased <code>test2.t_language</code> table reference */
  public TLanguage(java.lang.String alias) {
    super(
        alias,
        org.jooq.test.mysql2.generatedclasses.Test2.TEST2,
        org.jooq.test.mysql2.generatedclasses.tables.TLanguage.T_LANGUAGE);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord>
      getPrimaryKey() {
    return org.jooq.test.mysql2.generatedclasses.Keys.KEY_T_LANGUAGE_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<org.jooq.test.mysql2.generatedclasses.tables.records.TLanguageRecord>>
            asList(org.jooq.test.mysql2.generatedclasses.Keys.KEY_T_LANGUAGE_PRIMARY);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.test.mysql2.generatedclasses.tables.TLanguage as(java.lang.String alias) {
    return new org.jooq.test.mysql2.generatedclasses.tables.TLanguage(alias);
  }
}
示例#27
0
/**
 * This class is generated by jOOQ.
 */
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBooleans extends org.jooq.impl.TableImpl<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord> {

	private static final long serialVersionUID = 385271296;

	/**
	 * The singleton instance of <code>TEST.T_BOOLEANS</code>
	 */
	public static final org.jooq.test.derby.generatedclasses.tables.TBooleans T_BOOLEANS = new org.jooq.test.derby.generatedclasses.tables.TBooleans();

	/**
	 * The class holding records for this type
	 */
	@Override
	public java.lang.Class<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord> getRecordType() {
		return org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord.class;
	}

	/**
	 * The column <code>TEST.T_BOOLEANS.ID</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Integer> ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER, T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.ONE_ZERO</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_10> ONE_ZERO = createField("ONE_ZERO", org.jooq.impl.SQLDataType.INTEGER.asConvertedDataType(new org.jooq.test._.converters.Boolean_10_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.TRUE_FALSE_LC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_TF_LC> TRUE_FALSE_LC = createField("TRUE_FALSE_LC", org.jooq.impl.SQLDataType.VARCHAR.length(5).asConvertedDataType(new org.jooq.test._.converters.Boolean_TF_LC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.TRUE_FALSE_UC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_TF_UC> TRUE_FALSE_UC = createField("TRUE_FALSE_UC", org.jooq.impl.SQLDataType.VARCHAR.length(5).asConvertedDataType(new org.jooq.test._.converters.Boolean_TF_UC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.YES_NO_LC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_YES_NO_LC> YES_NO_LC = createField("YES_NO_LC", org.jooq.impl.SQLDataType.VARCHAR.length(3).asConvertedDataType(new org.jooq.test._.converters.Boolean_YES_NO_LC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.YES_NO_UC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_YES_NO_UC> YES_NO_UC = createField("YES_NO_UC", org.jooq.impl.SQLDataType.VARCHAR.length(3).asConvertedDataType(new org.jooq.test._.converters.Boolean_YES_NO_UC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.Y_N_LC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_YN_LC> Y_N_LC = createField("Y_N_LC", org.jooq.impl.SQLDataType.CHAR.length(1).asConvertedDataType(new org.jooq.test._.converters.Boolean_YN_LC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.Y_N_UC</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, org.jooq.test._.converters.Boolean_YN_UC> Y_N_UC = createField("Y_N_UC", org.jooq.impl.SQLDataType.CHAR.length(1).asConvertedDataType(new org.jooq.test._.converters.Boolean_YN_UC_Converter()), T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.VC_BOOLEAN</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> VC_BOOLEAN = createField("VC_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.C_BOOLEAN</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> C_BOOLEAN = createField("C_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);

	/**
	 * The column <code>TEST.T_BOOLEANS.N_BOOLEAN</code>. 
	 */
	public static final org.jooq.TableField<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord, java.lang.Boolean> N_BOOLEAN = createField("N_BOOLEAN", org.jooq.impl.SQLDataType.BOOLEAN, T_BOOLEANS);

	/**
	 * No further instances allowed
	 */
	private TBooleans() {
		super("T_BOOLEANS", org.jooq.test.derby.generatedclasses.Test.TEST);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.UniqueKey<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord> getPrimaryKey() {
		return org.jooq.test.derby.generatedclasses.Keys.PK_T_BOOLEANS;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.util.List<org.jooq.UniqueKey<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord>> getKeys() {
		return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.test.derby.generatedclasses.tables.records.TBooleansRecord>>asList(org.jooq.test.derby.generatedclasses.Keys.PK_T_BOOLEANS);
	}
}
示例#28
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class T_785
    extends org.jooq.impl.TableImpl<
        org.jooq.test.postgres.generatedclasses.tables.records.T_785Record> {

  private static final long serialVersionUID = -304855580;

  /** The singleton instance of <code>public.t_785</code> */
  public static final org.jooq.test.postgres.generatedclasses.tables.T_785 T_785 =
      new org.jooq.test.postgres.generatedclasses.tables.T_785();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.postgres.generatedclasses.tables.records.T_785Record>
      getRecordType() {
    return org.jooq.test.postgres.generatedclasses.tables.records.T_785Record.class;
  }

  /** The column <code>public.t_785.id</code>. */
  public final org.jooq.TableField<
          org.jooq.test.postgres.generatedclasses.tables.records.T_785Record, java.lang.Integer>
      ID = createField("id", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>public.t_785.name</code>. */
  public final org.jooq.TableField<
          org.jooq.test.postgres.generatedclasses.tables.records.T_785Record, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");

  /** The column <code>public.t_785.value</code>. */
  public final org.jooq.TableField<
          org.jooq.test.postgres.generatedclasses.tables.records.T_785Record, java.lang.String>
      VALUE = createField("value", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");

  /** Create a <code>public.t_785</code> table reference */
  public T_785() {
    this("t_785", null);
  }

  /** Create an aliased <code>public.t_785</code> table reference */
  public T_785(java.lang.String alias) {
    this(alias, org.jooq.test.postgres.generatedclasses.tables.T_785.T_785);
  }

  private T_785(
      java.lang.String alias,
      org.jooq.Table<org.jooq.test.postgres.generatedclasses.tables.records.T_785Record> aliased) {
    this(alias, aliased, null);
  }

  private T_785(
      java.lang.String alias,
      org.jooq.Table<org.jooq.test.postgres.generatedclasses.tables.records.T_785Record> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, org.jooq.test.postgres.generatedclasses.Public.PUBLIC, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.test.postgres.generatedclasses.tables.T_785 as(java.lang.String alias) {
    return new org.jooq.test.postgres.generatedclasses.tables.T_785(alias, this);
  }

  /** Rename this table */
  public org.jooq.test.postgres.generatedclasses.tables.T_785 rename(java.lang.String name) {
    return new org.jooq.test.postgres.generatedclasses.tables.T_785(name, null);
  }
}
示例#29
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked"})
public class UAddressType
    extends org.jooq.impl.UDTImpl<
        org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord> {

  private static final long serialVersionUID = 255977261;

  /** The singleton instance of <code>public.u_address_type</code> */
  public static final org.jooq.test.postgres.generatedclasses.udt.UAddressType U_ADDRESS_TYPE =
      new org.jooq.test.postgres.generatedclasses.udt.UAddressType();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord>
      getRecordType() {
    return org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord.class;
  }

  /** The attribute <code>public.u_address_type.street</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord,
          org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord>
      STREET =
          createField(
              "street",
              org.jooq.test.postgres.generatedclasses.udt.UStreetType.U_STREET_TYPE.getDataType(),
              U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.zip</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.String>
      ZIP = createField("zip", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.city</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.String>
      CITY = createField("city", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.country</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord,
          org.jooq.test.postgres.generatedclasses.enums.UCountry>
      COUNTRY =
          createField(
              "country",
              org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(
                  org.jooq.test.postgres.generatedclasses.enums.UCountry.class),
              U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.since</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.sql.Date>
      SINCE = createField("since", org.jooq.impl.SQLDataType.DATE, U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.code</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.Integer>
      CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.f_1323</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, byte[]>
      F_1323 = createField("f_1323", org.jooq.impl.SQLDataType.BLOB, U_ADDRESS_TYPE);

  /** No further instances allowed */
  private UAddressType() {
    super("u_address_type", org.jooq.test.postgres.generatedclasses.Public.PUBLIC);

    // Initialise data type
    getDataType();
  }
}
示例#30
0
/**
 * This class is generated by jOOQ.
 *
 * <p>A book store
 */
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class TBookStore
    extends org.jooq.impl.TableImpl<
        org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord> {

  private static final long serialVersionUID = -643740547;

  /** The singleton instance of <code>test.t_book_store</code> */
  public static final org.jooq.test.mariadb.generatedclasses.tables.TBookStore T_BOOK_STORE =
      new org.jooq.test.mariadb.generatedclasses.tables.TBookStore();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>
      getRecordType() {
    return org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord.class;
  }

  /** The column <code>test.t_book_store.name</code>. The books store name */
  public static final org.jooq.TableField<
          org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord, java.lang.String>
      NAME =
          createField(
              "name",
              org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false),
              T_BOOK_STORE,
              "The books store name");

  /** No further instances allowed */
  private TBookStore() {
    this("t_book_store", null);
  }

  private TBookStore(
      java.lang.String alias,
      org.jooq.Table<org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private TBookStore(
      java.lang.String alias,
      org.jooq.Table<org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>
          aliased,
      org.jooq.Field<?>[] parameters) {
    super(
        alias,
        org.jooq.test.mariadb.generatedclasses.Test.TEST,
        aliased,
        parameters,
        "A book store");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>
      getPrimaryKey() {
    return org.jooq.test.mariadb.generatedclasses.Keys.KEY_T_BOOK_STORE_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<
              org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<
                org.jooq.test.mariadb.generatedclasses.tables.records.TBookStoreRecord>>
            asList(org.jooq.test.mariadb.generatedclasses.Keys.KEY_T_BOOK_STORE_PRIMARY);
  }
}