All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
keywhiz.jooq.tables.Secrets Maven / Gradle / Ivy
/**
* This class is generated by jOOQ
*/
package keywhiz.jooq.tables;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import keywhiz.jooq.Keys;
import keywhiz.jooq.Public;
import keywhiz.jooq.tables.records.SecretsRecord;
import keywhiz.model.LongConverter;
import keywhiz.model.TimestampConverter;
import org.jooq.Field;
import org.jooq.Identity;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.6.2"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Secrets extends TableImpl {
private static final long serialVersionUID = 1664173848;
/**
* The reference instance of public.secrets
*/
public static final Secrets SECRETS = new Secrets();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return SecretsRecord.class;
}
/**
* The column public.secrets.id
.
*/
public final TableField ID = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, "", new LongConverter());
/**
* The column public.secrets.name
.
*/
public final TableField NAME = createField("name", org.jooq.impl.SQLDataType.CLOB.nullable(false), this, "");
/**
* The column public.secrets.createdat
.
*/
public final TableField CREATEDAT = createField("createdat", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, "", new TimestampConverter());
/**
* The column public.secrets.updatedat
.
*/
public final TableField UPDATEDAT = createField("updatedat", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, "", new TimestampConverter());
/**
* The column public.secrets.description
.
*/
public final TableField DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* The column public.secrets.createdby
.
*/
public final TableField CREATEDBY = createField("createdby", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* The column public.secrets.updatedby
.
*/
public final TableField UPDATEDBY = createField("updatedby", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* The column public.secrets.type
.
*/
public final TableField TYPE = createField("type", org.jooq.impl.SQLDataType.VARCHAR.length(20), this, "");
/**
* The column public.secrets.options
.
*/
public final TableField OPTIONS = createField("options", org.jooq.impl.SQLDataType.CLOB.nullable(false).defaulted(true), this, "");
/**
* Create a public.secrets
table reference
*/
public Secrets() {
this("secrets", null);
}
/**
* Create an aliased public.secrets
table reference
*/
public Secrets(String alias) {
this(alias, SECRETS);
}
private Secrets(String alias, Table aliased) {
this(alias, aliased, null);
}
private Secrets(String alias, Table aliased, Field>[] parameters) {
super(alias, Public.PUBLIC, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public Identity getIdentity() {
return Keys.IDENTITY_SECRETS;
}
/**
* {@inheritDoc}
*/
@Override
public UniqueKey getPrimaryKey() {
return Keys.SECRETS_PKEY;
}
/**
* {@inheritDoc}
*/
@Override
public List> getKeys() {
return Arrays.>asList(Keys.SECRETS_PKEY);
}
/**
* {@inheritDoc}
*/
@Override
public Secrets as(String alias) {
return new Secrets(alias, this);
}
/**
* Rename this table
*/
public Secrets rename(String name) {
return new Secrets(name, null);
}
}