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.
com.netflix.spinnaker.keel.persistence.metamodel.tables.PreviewEnvironment Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.keel.persistence.metamodel.Keel;
import com.netflix.spinnaker.keel.persistence.metamodel.Keys;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.PreviewEnvironmentRecord;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row5;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"https://www.jooq.org",
"jOOQ version:3.13.6"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PreviewEnvironment extends TableImpl {
private static final long serialVersionUID = -2076127217;
/**
* The reference instance of keel.preview_environment
*/
public static final PreviewEnvironment PREVIEW_ENVIRONMENT = new PreviewEnvironment();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return PreviewEnvironmentRecord.class;
}
/**
* The column keel.preview_environment.delivery_config_uid
.
*/
public final TableField DELIVERY_CONFIG_UID = createField(DSL.name("delivery_config_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.preview_environment.base_environment_uid
.
*/
public final TableField BASE_ENVIRONMENT_UID = createField(DSL.name("base_environment_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.preview_environment.branch_filter
.
*/
public final TableField BRANCH_FILTER = createField(DSL.name("branch_filter"), org.jooq.impl.SQLDataType.LONGVARCHAR.nullable(false), this, "");
/**
* The column keel.preview_environment.verifications
.
*/
public final TableField VERIFICATIONS = createField(DSL.name("verifications"), org.jooq.impl.SQLDataType.LONGVARCHAR, this, "");
/**
* The column keel.preview_environment.notifications
.
*/
public final TableField NOTIFICATIONS = createField(DSL.name("notifications"), org.jooq.impl.SQLDataType.LONGVARCHAR, this, "");
/**
* Create a keel.preview_environment
table reference
*/
public PreviewEnvironment() {
this(DSL.name("preview_environment"), null);
}
/**
* Create an aliased keel.preview_environment
table reference
*/
public PreviewEnvironment(String alias) {
this(DSL.name(alias), PREVIEW_ENVIRONMENT);
}
/**
* Create an aliased keel.preview_environment
table reference
*/
public PreviewEnvironment(Name alias) {
this(alias, PREVIEW_ENVIRONMENT);
}
private PreviewEnvironment(Name alias, Table aliased) {
this(alias, aliased, null);
}
private PreviewEnvironment(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public PreviewEnvironment(Table child, ForeignKey key) {
super(child, key, PREVIEW_ENVIRONMENT);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_PREVIEW_ENVIRONMENT_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_PREVIEW_ENVIRONMENT_PRIMARY);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.FK_PREVIEW_ENVIRONMENT_DELIVERY_CONFIG, Keys.FK_PREVIEW_ENVIRONMENT_ENVIRONMENT);
}
public DeliveryConfig deliveryConfig() {
return new DeliveryConfig(this, Keys.FK_PREVIEW_ENVIRONMENT_DELIVERY_CONFIG);
}
public Environment environment() {
return new Environment(this, Keys.FK_PREVIEW_ENVIRONMENT_ENVIRONMENT);
}
@Override
public PreviewEnvironment as(String alias) {
return new PreviewEnvironment(DSL.name(alias), this);
}
@Override
public PreviewEnvironment as(Name alias) {
return new PreviewEnvironment(alias, this);
}
/**
* Rename this table
*/
@Override
public PreviewEnvironment rename(String name) {
return new PreviewEnvironment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PreviewEnvironment rename(Name name) {
return new PreviewEnvironment(name, null);
}
// -------------------------------------------------------------------------
// Row5 type methods
// -------------------------------------------------------------------------
@Override
public Row5 fieldsRow() {
return (Row5) super.fieldsRow();
}
}