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.EnvironmentVersionArtifactVersion 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.EnvironmentVersionArtifactVersionRecord;
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.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 EnvironmentVersionArtifactVersion extends TableImpl {
private static final long serialVersionUID = -1616924031;
/**
* The reference instance of keel.environment_version_artifact_version
*/
public static final EnvironmentVersionArtifactVersion ENVIRONMENT_VERSION_ARTIFACT_VERSION = new EnvironmentVersionArtifactVersion();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return EnvironmentVersionArtifactVersionRecord.class;
}
/**
* The column keel.environment_version_artifact_version.environment_uid
.
*/
public final TableField ENVIRONMENT_UID = createField(DSL.name("environment_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.environment_version_artifact_version.environment_version
.
*/
public final TableField ENVIRONMENT_VERSION = createField(DSL.name("environment_version"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column keel.environment_version_artifact_version.artifact_uid
.
*/
public final TableField ARTIFACT_UID = createField(DSL.name("artifact_uid"), org.jooq.impl.SQLDataType.CHAR(26).nullable(false), this, "");
/**
* The column keel.environment_version_artifact_version.artifact_version
.
*/
public final TableField ARTIFACT_VERSION = createField(DSL.name("artifact_version"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* Create a keel.environment_version_artifact_version
table reference
*/
public EnvironmentVersionArtifactVersion() {
this(DSL.name("environment_version_artifact_version"), null);
}
/**
* Create an aliased keel.environment_version_artifact_version
table reference
*/
public EnvironmentVersionArtifactVersion(String alias) {
this(DSL.name(alias), ENVIRONMENT_VERSION_ARTIFACT_VERSION);
}
/**
* Create an aliased keel.environment_version_artifact_version
table reference
*/
public EnvironmentVersionArtifactVersion(Name alias) {
this(alias, ENVIRONMENT_VERSION_ARTIFACT_VERSION);
}
private EnvironmentVersionArtifactVersion(Name alias, Table aliased) {
this(alias, aliased, null);
}
private EnvironmentVersionArtifactVersion(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public EnvironmentVersionArtifactVersion(Table child, ForeignKey key) {
super(child, key, ENVIRONMENT_VERSION_ARTIFACT_VERSION);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_ENVIRONMENT_VERSION_ARTIFACT_VERSION_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_ENVIRONMENT_VERSION_ARTIFACT_VERSION_PRIMARY);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ENVIRONMENT_VERSION, Keys.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ARTIFACT);
}
public EnvironmentVersion environmentVersion() {
return new EnvironmentVersion(this, Keys.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ENVIRONMENT_VERSION);
}
public DeliveryArtifact deliveryArtifact() {
return new DeliveryArtifact(this, Keys.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ARTIFACT);
}
@Override
public EnvironmentVersionArtifactVersion as(String alias) {
return new EnvironmentVersionArtifactVersion(DSL.name(alias), this);
}
@Override
public EnvironmentVersionArtifactVersion as(Name alias) {
return new EnvironmentVersionArtifactVersion(alias, this);
}
/**
* Rename this table
*/
@Override
public EnvironmentVersionArtifactVersion rename(String name) {
return new EnvironmentVersionArtifactVersion(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public EnvironmentVersionArtifactVersion rename(Name name) {
return new EnvironmentVersionArtifactVersion(name, null);
}
// -------------------------------------------------------------------------
// Row4 type methods
// -------------------------------------------------------------------------
@Override
public Row4 fieldsRow() {
return (Row4) super.fieldsRow();
}
}