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.CurrentConstraint Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.keel.persistence.metamodel.Indexes;
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.CurrentConstraintRecord;
import java.util.Arrays;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Index;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row4;
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 CurrentConstraint extends TableImpl {
private static final long serialVersionUID = 763242318;
/**
* The reference instance of keel.current_constraint
*/
public static final CurrentConstraint CURRENT_CONSTRAINT = new CurrentConstraint();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return CurrentConstraintRecord.class;
}
/**
* The column keel.current_constraint.application
.
*/
public final TableField APPLICATION = createField(DSL.name("application"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.current_constraint.environment_uid
.
*/
public final TableField ENVIRONMENT_UID = createField(DSL.name("environment_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.current_constraint.type
.
*/
public final TableField TYPE = createField(DSL.name("type"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.current_constraint.constraint_uid
.
*/
public final TableField CONSTRAINT_UID = createField(DSL.name("constraint_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* Create a keel.current_constraint
table reference
*/
public CurrentConstraint() {
this(DSL.name("current_constraint"), null);
}
/**
* Create an aliased keel.current_constraint
table reference
*/
public CurrentConstraint(String alias) {
this(DSL.name(alias), CURRENT_CONSTRAINT);
}
/**
* Create an aliased keel.current_constraint
table reference
*/
public CurrentConstraint(Name alias) {
this(alias, CURRENT_CONSTRAINT);
}
private CurrentConstraint(Name alias, Table aliased) {
this(alias, aliased, null);
}
private CurrentConstraint(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public CurrentConstraint(Table child, ForeignKey key) {
super(child, key, CURRENT_CONSTRAINT);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public List getIndexes() {
return Arrays.asList(Indexes.CURRENT_CONSTRAINT_CURRENT_CONSTRAINT_UID_IDX);
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_CURRENT_CONSTRAINT_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_CURRENT_CONSTRAINT_PRIMARY);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.FK_CURRENT_CONSTRAINT_ENVIRONMENT, Keys.FK_CURRENT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT);
}
public Environment environment() {
return new Environment(this, Keys.FK_CURRENT_CONSTRAINT_ENVIRONMENT);
}
public EnvironmentArtifactConstraint environmentArtifactConstraint() {
return new EnvironmentArtifactConstraint(this, Keys.FK_CURRENT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT);
}
@Override
public CurrentConstraint as(String alias) {
return new CurrentConstraint(DSL.name(alias), this);
}
@Override
public CurrentConstraint as(Name alias) {
return new CurrentConstraint(alias, this);
}
/**
* Rename this table
*/
@Override
public CurrentConstraint rename(String name) {
return new CurrentConstraint(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public CurrentConstraint rename(Name name) {
return new CurrentConstraint(name, null);
}
// -------------------------------------------------------------------------
// Row4 type methods
// -------------------------------------------------------------------------
@Override
public Row4 fieldsRow() {
return (Row4) super.fieldsRow();
}
}