/** * 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 PortTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.PortRecord> { private static final long serialVersionUID = 1815092212; /** * The singleton instance of <code>cattle.port</code> */ public static final io.cattle.platform.core.model.tables.PortTable PORT = new io.cattle.platform.core.model.tables.PortTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.PortRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.PortRecord.class; } /** * The column <code>cattle.port.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.port.name</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.port.account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.port.kind</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> KIND = createField("kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** * The column <code>cattle.port.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.port.description</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** * The column <code>cattle.port.state</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> STATE = createField("state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.port.created</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, 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.port.removed</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, 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.port.remove_time</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, 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.port.data</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, 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.port.public_port</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Integer> PUBLIC_PORT = createField("public_port", org.jooq.impl.SQLDataType.INTEGER, this, ""); /** * The column <code>cattle.port.private_port</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Integer> PRIVATE_PORT = createField("private_port", org.jooq.impl.SQLDataType.INTEGER, this, ""); /** * The column <code>cattle.port.instance_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Long> INSTANCE_ID = createField("instance_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.port.public_ip_address_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Long> PUBLIC_IP_ADDRESS_ID = createField("public_ip_address_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.port.protocol</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.String> PROTOCOL = createField("protocol", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.port.private_ip_address_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.PortRecord, java.lang.Long> PRIVATE_IP_ADDRESS_ID = createField("private_ip_address_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * Create a <code>cattle.port</code> table reference */ public PortTable() { this("port", null); } /** * Create an aliased <code>cattle.port</code> table reference */ public PortTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.PortTable.PORT); } private PortTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.PortRecord> aliased) { this(alias, aliased, null); } private PortTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.PortRecord> 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.PortRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_PORT; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.PortRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_PORT_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.PortRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.PortRecord>>asList(io.cattle.platform.core.model.Keys.KEY_PORT_PRIMARY, io.cattle.platform.core.model.Keys.KEY_PORT_IDX_PORT_UUID); } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.PortRecord, ?>> getReferences() { return java.util.Arrays.<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.PortRecord, ?>>asList(io.cattle.platform.core.model.Keys.FK_PORT__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_PORT__INSTANCE_ID, io.cattle.platform.core.model.Keys.FK_IP_ADDRESS__PUBLIC_IP_ADDRESS_ID, io.cattle.platform.core.model.Keys.FK_IP_ADDRESS__PRIVATE_IP_ADDRESS_ID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.PortTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.PortTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.PortTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.PortTable(name, null); } }