All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jooq.scala.example.h2.tables.TBook Maven / Gradle / Ivy

There is a newer version: 3.9.6
Show newest version
/**
 * This class is generated by jOOQ
 */
package org.jooq.scala.example.h2.tables;

/**
 * This class is generated by jOOQ.
 */
@javax.annotation.Generated(
	value = {
		"http://www.jooq.org",
		"jOOQ version:3.5.0"
	},
	comments = "This class is generated by jOOQ"
)
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TBook extends org.jooq.impl.TableImpl {

	private static final long serialVersionUID = -590916735;

	/**
	 * The reference instance of PUBLIC.T_BOOK
	 */
	public static final org.jooq.scala.example.h2.tables.TBook T_BOOK = new org.jooq.scala.example.h2.tables.TBook();

	/**
	 * The class holding records for this type
	 */
	@Override
	public java.lang.Class getRecordType() {
		return org.jooq.scala.example.h2.tables.records.TBookRecord.class;
	}

	/**
	 * The column PUBLIC.T_BOOK.ID.
	 */
	public final org.jooq.TableField ID = createField("ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

	/**
	 * The column PUBLIC.T_BOOK.AUTHOR_ID.
	 */
	public final org.jooq.TableField AUTHOR_ID = createField("AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

	/**
	 * The column PUBLIC.T_BOOK.CO_AUTHOR_ID.
	 */
	public final org.jooq.TableField CO_AUTHOR_ID = createField("CO_AUTHOR_ID", org.jooq.impl.SQLDataType.INTEGER, this, "");

	/**
	 * The column PUBLIC.T_BOOK.DETAILS_ID.
	 */
	public final org.jooq.TableField DETAILS_ID = createField("DETAILS_ID", org.jooq.impl.SQLDataType.INTEGER, this, "");

	/**
	 * The column PUBLIC.T_BOOK.TITLE.
	 */
	public final org.jooq.TableField TITLE = createField("TITLE", org.jooq.impl.SQLDataType.VARCHAR.length(400).nullable(false), this, "");

	/**
	 * The column PUBLIC.T_BOOK.PUBLISHED_IN.
	 */
	public final org.jooq.TableField PUBLISHED_IN = createField("PUBLISHED_IN", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

	/**
	 * The column PUBLIC.T_BOOK.LANGUAGE_ID.
	 */
	public final org.jooq.TableField LANGUAGE_ID = createField("LANGUAGE_ID", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

	/**
	 * The column PUBLIC.T_BOOK.CONTENT_TEXT.
	 */
	public final org.jooq.TableField CONTENT_TEXT = createField("CONTENT_TEXT", org.jooq.impl.SQLDataType.CLOB.length(2147483647), this, "");

	/**
	 * The column PUBLIC.T_BOOK.CONTENT_PDF.
	 */
	public final org.jooq.TableField CONTENT_PDF = createField("CONTENT_PDF", org.jooq.impl.SQLDataType.BLOB.length(2147483647), this, "");

	/**
	 * The column PUBLIC.T_BOOK.REC_VERSION.
	 */
	public final org.jooq.TableField REC_VERSION = createField("REC_VERSION", org.jooq.impl.SQLDataType.INTEGER, this, "");

	/**
	 * The column PUBLIC.T_BOOK.REC_TIMESTAMP.
	 */
	public final org.jooq.TableField REC_TIMESTAMP = createField("REC_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");

	/**
	 * Create a PUBLIC.T_BOOK table reference
	 */
	public TBook() {
		this("T_BOOK", null);
	}

	/**
	 * Create an aliased PUBLIC.T_BOOK table reference
	 */
	public TBook(java.lang.String alias) {
		this(alias, org.jooq.scala.example.h2.tables.TBook.T_BOOK);
	}

	private TBook(java.lang.String alias, org.jooq.Table aliased) {
		this(alias, aliased, null);
	}

	private TBook(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) {
		super(alias, org.jooq.scala.example.h2.Public.PUBLIC, aliased, parameters, "");
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.UniqueKey getPrimaryKey() {
		return org.jooq.scala.example.h2.Keys.PK_T_BOOK;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.util.List> getKeys() {
		return java.util.Arrays.>asList(org.jooq.scala.example.h2.Keys.PK_T_BOOK);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.util.List> getReferences() {
		return java.util.Arrays.>asList(org.jooq.scala.example.h2.Keys.FK_T_BOOK_AUTHOR_ID, org.jooq.scala.example.h2.Keys.FK_T_BOOK_CO_AUTHOR_ID);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.scala.example.h2.tables.TBook as(java.lang.String alias) {
		return new org.jooq.scala.example.h2.tables.TBook(alias, this);
	}

	/**
	 * Rename this table
	 */
	public org.jooq.scala.example.h2.tables.TBook rename(java.lang.String name) {
		return new org.jooq.scala.example.h2.tables.TBook(name, null);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy