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.Notification Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package com.netflix.spinnaker.keel.persistence.metamodel.tables;
import com.netflix.spinnaker.keel.notifications.NotificationScope;
import com.netflix.spinnaker.keel.notifications.NotificationType;
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.NotificationRecord;
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 Notification extends TableImpl {
private static final long serialVersionUID = 1868620508;
/**
* The reference instance of keel.notification
*/
public static final Notification NOTIFICATION = new Notification();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return NotificationRecord.class;
}
/**
* The column keel.notification.scope
.
*/
public final TableField SCOPE = createField(DSL.name("scope"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "", new org.jooq.impl.EnumConverter(java.lang.String.class, com.netflix.spinnaker.keel.notifications.NotificationScope.class));
/**
* The column keel.notification.ref
.
*/
public final TableField REF = createField(DSL.name("ref"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column keel.notification.type
.
*/
public final TableField TYPE = createField(DSL.name("type"), org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "", new org.jooq.impl.EnumConverter(java.lang.String.class, com.netflix.spinnaker.keel.notifications.NotificationType.class));
/**
* The column keel.notification.time_detected
.
*/
public final TableField TIME_DETECTED = createField(DSL.name("time_detected"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column keel.notification.notify_at
.
*/
public final TableField NOTIFY_AT = createField(DSL.name("notify_at"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* Create a keel.notification
table reference
*/
public Notification() {
this(DSL.name("notification"), null);
}
/**
* Create an aliased keel.notification
table reference
*/
public Notification(String alias) {
this(DSL.name(alias), NOTIFICATION);
}
/**
* Create an aliased keel.notification
table reference
*/
public Notification(Name alias) {
this(alias, NOTIFICATION);
}
private Notification(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Notification(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public Notification(Table child, ForeignKey key) {
super(child, key, NOTIFICATION);
}
@Override
public Schema getSchema() {
return Keel.KEEL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_NOTIFICATION_PRIMARY;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.KEY_NOTIFICATION_PRIMARY);
}
@Override
public Notification as(String alias) {
return new Notification(DSL.name(alias), this);
}
@Override
public Notification as(Name alias) {
return new Notification(alias, this);
}
/**
* Rename this table
*/
@Override
public Notification rename(String name) {
return new Notification(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Notification rename(Name name) {
return new Notification(name, null);
}
// -------------------------------------------------------------------------
// Row5 type methods
// -------------------------------------------------------------------------
@Override
public Row5 fieldsRow() {
return (Row5) super.fieldsRow();
}
}