/** * 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 IpAddressTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.IpAddressRecord> { private static final long serialVersionUID = -80132278; /** * The singleton instance of <code>cattle.ip_address</code> */ public static final io.cattle.platform.core.model.tables.IpAddressTable IP_ADDRESS = new io.cattle.platform.core.model.tables.IpAddressTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.IpAddressRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.IpAddressRecord.class; } /** * The column <code>cattle.ip_address.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.ip_address.name</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.ip_address.account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.ip_address.kind</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> KIND = createField("kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** * The column <code>cattle.ip_address.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.ip_address.description</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** * The column <code>cattle.ip_address.state</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> STATE = createField("state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.ip_address.created</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, 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.ip_address.removed</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, 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.ip_address.remove_time</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, 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.ip_address.data</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, 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.ip_address.address</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> ADDRESS = createField("address", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.ip_address.subnet_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.Long> SUBNET_ID = createField("subnet_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.ip_address.network_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.Long> NETWORK_ID = createField("network_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.ip_address.is_public</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.Boolean> IS_PUBLIC = createField("is_public", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, ""); /** * The column <code>cattle.ip_address.role</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> ROLE = createField("role", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); /** * The column <code>cattle.ip_address.hostname</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.IpAddressRecord, java.lang.String> HOSTNAME = createField("hostname", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * Create a <code>cattle.ip_address</code> table reference */ public IpAddressTable() { this("ip_address", null); } /** * Create an aliased <code>cattle.ip_address</code> table reference */ public IpAddressTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.IpAddressTable.IP_ADDRESS); } private IpAddressTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.IpAddressRecord> aliased) { this(alias, aliased, null); } private IpAddressTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.IpAddressRecord> 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.IpAddressRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_IP_ADDRESS; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.IpAddressRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_IP_ADDRESS_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.IpAddressRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.IpAddressRecord>>asList(io.cattle.platform.core.model.Keys.KEY_IP_ADDRESS_PRIMARY, io.cattle.platform.core.model.Keys.KEY_IP_ADDRESS_IDX_IP_ADDRESS_UUID); } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.IpAddressRecord, ?>> getReferences() { return java.util.Arrays.<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.IpAddressRecord, ?>>asList(io.cattle.platform.core.model.Keys.FK_IP_ADDRESS__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_IP_ADDRESS__SUBNET_ID, io.cattle.platform.core.model.Keys.FK_IP_ADDRESS__NETWORK_ID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.IpAddressTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.IpAddressTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.IpAddressTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.IpAddressTable(name, null); } }