![JAR search and dependency download from the Maven repository](/logo.png)
net.redpipe.example.wiki.keycloakJooq.jooq.tables.Pages Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package net.redpipe.example.wiki.keycloakJooq.jooq.tables;
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;
import net.redpipe.example.wiki.keycloakJooq.jooq.Keys;
import net.redpipe.example.wiki.keycloakJooq.jooq.Public;
import net.redpipe.example.wiki.keycloakJooq.jooq.tables.records.PagesRecord;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.9.2"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Pages extends TableImpl {
private static final long serialVersionUID = 1983252823;
/**
* The reference instance of public.pages
*/
public static final Pages PAGES = new Pages();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return PagesRecord.class;
}
/**
* The column public.pages.id
.
*/
public final TableField ID = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaultValue(org.jooq.impl.DSL.field("nextval('pages_id_seq'::regclass)", org.jooq.impl.SQLDataType.INTEGER)), this, "");
/**
* The column public.pages.name
.
*/
public final TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");
/**
* The column public.pages.content
.
*/
public final TableField CONTENT = createField("content", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* Create a public.pages
table reference
*/
public Pages() {
this("pages", null);
}
/**
* Create an aliased public.pages
table reference
*/
public Pages(String alias) {
this(alias, PAGES);
}
private Pages(String alias, Table aliased) {
this(alias, aliased, null);
}
private Pages(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_PAGES;
}
/**
* {@inheritDoc}
*/
@Override
public UniqueKey getPrimaryKey() {
return Keys.PAGES_PKEY;
}
/**
* {@inheritDoc}
*/
@Override
public List> getKeys() {
return Arrays.>asList(Keys.PAGES_PKEY, Keys.PAGES_NAME_KEY);
}
/**
* {@inheritDoc}
*/
@Override
public Pages as(String alias) {
return new Pages(alias, this);
}
/**
* Rename this table
*/
@Override
public Pages rename(String name) {
return new Pages(name, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy