/** * This class is generated by jOOQ */ package org.jooq.example.chart.db.tables; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.example.chart.db.Public; import org.jooq.example.chart.db.tables.records.CustomerListRecord; import org.jooq.impl.TableImpl; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.8.0", "schema version:public_2", }, date = "2016-06-30T15:44:15.143Z", comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class CustomerList extends TableImpl<CustomerListRecord> { private static final long serialVersionUID = 486434089; /** * The reference instance of <code>public.customer_list</code> */ public static final CustomerList CUSTOMER_LIST = new CustomerList(); /** * The class holding records for this type */ @Override public Class<CustomerListRecord> getRecordType() { return CustomerListRecord.class; } /** * The column <code>public.customer_list.id</code>. */ public final TableField<CustomerListRecord, Integer> ID = createField("id", org.jooq.impl.SQLDataType.INTEGER, this, ""); /** * The column <code>public.customer_list.name</code>. */ public final TableField<CustomerListRecord, String> NAME = createField("name", org.jooq.impl.SQLDataType.CLOB, this, ""); /** * The column <code>public.customer_list.address</code>. */ public final TableField<CustomerListRecord, String> ADDRESS = createField("address", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, ""); /** * The column <code>public.customer_list.zip code</code>. */ public final TableField<CustomerListRecord, String> ZIP_CODE = createField("zip code", org.jooq.impl.SQLDataType.VARCHAR.length(10), this, ""); /** * The column <code>public.customer_list.phone</code>. */ public final TableField<CustomerListRecord, String> PHONE = createField("phone", org.jooq.impl.SQLDataType.VARCHAR.length(20), this, ""); /** * The column <code>public.customer_list.city</code>. */ public final TableField<CustomerListRecord, String> CITY = createField("city", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, ""); /** * The column <code>public.customer_list.country</code>. */ public final TableField<CustomerListRecord, String> COUNTRY = createField("country", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, ""); /** * The column <code>public.customer_list.notes</code>. */ public final TableField<CustomerListRecord, String> NOTES = createField("notes", org.jooq.impl.SQLDataType.CLOB, this, ""); /** * The column <code>public.customer_list.sid</code>. */ public final TableField<CustomerListRecord, Integer> SID = createField("sid", org.jooq.impl.SQLDataType.INTEGER, this, ""); /** * Create a <code>public.customer_list</code> table reference */ public CustomerList() { this("customer_list", null); } /** * Create an aliased <code>public.customer_list</code> table reference */ public CustomerList(String alias) { this(alias, CUSTOMER_LIST); } private CustomerList(String alias, Table<CustomerListRecord> aliased) { this(alias, aliased, null); } private CustomerList(String alias, Table<CustomerListRecord> aliased, Field<?>[] parameters) { super(alias, null, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public Schema getSchema() { return Public.PUBLIC; } /** * {@inheritDoc} */ @Override public CustomerList as(String alias) { return new CustomerList(alias, this); } /** * Rename this table */ public CustomerList rename(String name) { return new CustomerList(name, null); } }