/** * This class is generated by jOOQ */ package classes.tables; import classes.Keys; import classes.Public; import classes.tables.records.ShopsRecord; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Identity; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.UniqueKey; import org.jooq.impl.TableImpl; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.8.6" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Shops extends TableImpl { private static final long serialVersionUID = -1150055419; /** * The reference instance of public.shops */ public static final Shops SHOPS = new Shops(); /** * The class holding records for this type */ @Override public Class getRecordType() { return ShopsRecord.class; } /** * The column public.shops.shop_id. */ public final TableField SHOP_ID = createField("shop_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaultValue(org.jooq.impl.DSL.field("nextval('shops_shop_id_seq'::regclass)", org.jooq.impl.SQLDataType.INTEGER)), this, ""); /** * The column public.shops.street. */ public final TableField STREET = createField("street", org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); /** * Create a public.shops table reference */ public Shops() { this("shops", null); } /** * Create an aliased public.shops table reference */ public Shops(String alias) { this(alias, SHOPS); } private Shops(String alias, Table aliased) { this(alias, aliased, null); } private Shops(String alias, Table aliased, Field[] parameters) { super(alias, null, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public Schema getSchema() { return Public.PUBLIC; } /** * {@inheritDoc} */ @Override public Identity getIdentity() { return Keys.IDENTITY_SHOPS; } /** * {@inheritDoc} */ @Override public UniqueKey getPrimaryKey() { return Keys.SHOPS_PKEY; } /** * {@inheritDoc} */ @Override public List> getKeys() { return Arrays.>asList(Keys.SHOPS_PKEY, Keys.STREETS_UNIQ_KEY); } /** * {@inheritDoc} */ @Override public Shops as(String alias) { return new Shops(alias, this); } /** * Rename this table */ public Shops rename(String name) { return new Shops(name, null); } }