/** * This class is generated by jOOQ */ package io.cattle.platform.core.model.tables; /** * 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 GenericObjectTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.GenericObjectRecord> { private static final long serialVersionUID = -1457953917; /** * The singleton instance of <code>cattle.generic_object</code> */ public static final io.cattle.platform.core.model.tables.GenericObjectTable GENERIC_OBJECT = new io.cattle.platform.core.model.tables.GenericObjectTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.GenericObjectRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.GenericObjectRecord.class; } /** * The column <code>cattle.generic_object.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.generic_object.name</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.generic_object.account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.generic_object.kind</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> KIND = createField("kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** * The column <code>cattle.generic_object.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.generic_object.description</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** * The column <code>cattle.generic_object.state</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> STATE = createField("state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.generic_object.created</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, 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.generic_object.removed</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, 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.generic_object.remove_time</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, 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.generic_object.data</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, 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.generic_object.key</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.GenericObjectRecord, java.lang.String> KEY = createField("key", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * Create a <code>cattle.generic_object</code> table reference */ public GenericObjectTable() { this("generic_object", null); } /** * Create an aliased <code>cattle.generic_object</code> table reference */ public GenericObjectTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.GenericObjectTable.GENERIC_OBJECT); } private GenericObjectTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.GenericObjectRecord> aliased) { this(alias, aliased, null); } private GenericObjectTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.GenericObjectRecord> 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.GenericObjectRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_GENERIC_OBJECT; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.GenericObjectRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_GENERIC_OBJECT_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.GenericObjectRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.GenericObjectRecord>>asList(io.cattle.platform.core.model.Keys.KEY_GENERIC_OBJECT_PRIMARY, io.cattle.platform.core.model.Keys.KEY_GENERIC_OBJECT_IDX_GENERIC_OBJECT_UUID); } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.GenericObjectRecord, ?>> getReferences() { return java.util.Arrays.<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.GenericObjectRecord, ?>>asList(io.cattle.platform.core.model.Keys.FK_GENERIC_OBJECT__ACCOUNT_ID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.GenericObjectTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.GenericObjectTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.GenericObjectTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.GenericObjectTable(name, null); } }