Compare commits
1 Commits
435a1e28f6
...
project
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1464210765 |
@@ -7,7 +7,7 @@
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" path="src/main/resources"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/">
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-21-openjdk-amd64">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
|
||||
31
build.gradle
31
build.gradle
@@ -7,10 +7,10 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.jooq:jooq-codegen:3.18.6'
|
||||
classpath 'org.postgresql:postgresql:42.6.0'
|
||||
classpath 'org.jooq:jooq-codegen:3.19.15'
|
||||
classpath 'org.postgresql:postgresql:latest.release'
|
||||
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
|
||||
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:8.2.1'
|
||||
classpath 'nu.studer:gradle-jooq-plugin:8.0'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,14 +23,16 @@ apply plugin: 'maven-publish'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
group = 'de.jottyfan'
|
||||
version = '20240109'
|
||||
version = '20260114'
|
||||
def artifactId = 'timetrackjooq'
|
||||
def versionNumber = version
|
||||
|
||||
description = """timetrackjooq"""
|
||||
|
||||
sourceCompatibility = 17
|
||||
targetCompatibility = 17
|
||||
java{
|
||||
sourceCompatibility = 21
|
||||
targetCompatibility = 21
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
@@ -43,21 +45,22 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.jooq:jooq:3.18.6'
|
||||
implementation 'org.jooq:jooq-codegen:3.18.6'
|
||||
implementation 'org.jooq:jooq:3.19.15'
|
||||
implementation 'org.jooq:jooq-codegen:3.19.15'
|
||||
|
||||
implementation 'org.postgresql:postgresql:42.6.0'
|
||||
implementation 'org.postgresql:postgresql:latest.release'
|
||||
|
||||
jooqGenerator 'org.postgresql:postgresql:42.6.0'
|
||||
jooqGenerator 'org.postgresql:postgresql:latest.release'
|
||||
}
|
||||
|
||||
jooq {
|
||||
edition = nu.studer.gradle.jooq.JooqEdition.OSS
|
||||
version = '3.18.6'
|
||||
version = '3.19.15'
|
||||
configurations {
|
||||
timetrack {
|
||||
generateSchemaSourceOnCompilation = false
|
||||
generationTool {
|
||||
onError = 'LOG'
|
||||
logging = org.jooq.meta.jaxb.Logging.WARN
|
||||
jdbc {
|
||||
driver = 'org.postgresql.Driver'
|
||||
@@ -82,6 +85,12 @@ jooq {
|
||||
schema {
|
||||
inputSchema = 'note'
|
||||
}
|
||||
schema {
|
||||
inputSchema = 'project'
|
||||
}
|
||||
schema {
|
||||
inputSchema = 'public'
|
||||
}
|
||||
}
|
||||
includes = '.*'
|
||||
}
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.Contact;
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.note.Note;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Constants;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.impl.CatalogImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||
*/
|
||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||
|
||||
/**
|
||||
* The schema <code>contact</code>.
|
||||
*/
|
||||
public final Contact CONTACT = Contact.CONTACT;
|
||||
|
||||
/**
|
||||
* The schema <code>done</code>.
|
||||
*/
|
||||
public final Done DONE = Done.DONE;
|
||||
|
||||
/**
|
||||
* The schema <code>note</code>.
|
||||
*/
|
||||
public final Note NOTE = Note.NOTE;
|
||||
|
||||
/**
|
||||
* The schema <code>profile</code>.
|
||||
*/
|
||||
public final Profile PROFILE = Profile.PROFILE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private DefaultCatalog() {
|
||||
super("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Schema> getSchemas() {
|
||||
return Arrays.asList(
|
||||
Contact.CONTACT,
|
||||
Done.DONE,
|
||||
Note.NOTE,
|
||||
Profile.PROFILE
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A reference to the 3.18 minor release of the code generator. If this
|
||||
* doesn't compile, it's because the runtime library uses an older minor
|
||||
* release, namely: 3.18. You can turn off the generation of this reference
|
||||
* by specifying /configuration/generator/generate/jooqVersionReference
|
||||
*/
|
||||
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_18;
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.DefaultCatalog;
|
||||
import de.jottyfan.timetrack.db.contact.tables.TContact;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Contact extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>contact</code>
|
||||
*/
|
||||
public static final Contact CONTACT = new Contact();
|
||||
|
||||
/**
|
||||
* The table <code>contact.t_contact</code>.
|
||||
*/
|
||||
public final TContact T_CONTACT = TContact.T_CONTACT;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Contact() {
|
||||
super("contact", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
TContact.T_CONTACT
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.tables.TContact;
|
||||
import de.jottyfan.timetrack.db.contact.tables.records.TContactRecord;
|
||||
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* contact.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<TContactRecord> T_CONTACT_PKEY = Internal.createUniqueKey(TContact.T_CONTACT, DSL.name("t_contact_pkey"), new TableField[] { TContact.T_CONTACT.PK }, true);
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.tables.TContact;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in contact.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>contact.t_contact</code>.
|
||||
*/
|
||||
public static final TContact T_CONTACT = TContact.T_CONTACT;
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact.enums;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.Contact;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.EnumType;
|
||||
import org.jooq.Schema;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public enum EnumContacttype implements EnumType {
|
||||
|
||||
privat("privat"),
|
||||
|
||||
mobil("mobil"),
|
||||
|
||||
dienstlich("dienstlich"),
|
||||
|
||||
E_Mail("E-Mail"),
|
||||
|
||||
Skype("Skype");
|
||||
|
||||
private final String literal;
|
||||
|
||||
private EnumContacttype(String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return getSchema().getCatalog();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return Contact.CONTACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "enum_contacttype";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumContacttype lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumContacttype.class, literal);
|
||||
}
|
||||
}
|
||||
@@ -1,189 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.Contact;
|
||||
import de.jottyfan.timetrack.db.contact.Keys;
|
||||
import de.jottyfan.timetrack.db.contact.enums.EnumContacttype;
|
||||
import de.jottyfan.timetrack.db.contact.tables.records.TContactRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TContact extends TableImpl<TContactRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>contact.t_contact</code>
|
||||
*/
|
||||
public static final TContact T_CONTACT = new TContact();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TContactRecord> getRecordType() {
|
||||
return TContactRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>contact.t_contact.pk</code>.
|
||||
*/
|
||||
public final TableField<TContactRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>contact.t_contact.forename</code>.
|
||||
*/
|
||||
public final TableField<TContactRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>contact.t_contact.surname</code>.
|
||||
*/
|
||||
public final TableField<TContactRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>contact.t_contact.contact</code>.
|
||||
*/
|
||||
public final TableField<TContactRecord, String> CONTACT = createField(DSL.name("contact"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>contact.t_contact.type</code>.
|
||||
*/
|
||||
public final TableField<TContactRecord, EnumContacttype> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.timetrack.db.contact.enums.EnumContacttype.class), this, "");
|
||||
|
||||
private TContact(Name alias, Table<TContactRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TContact(Name alias, Table<TContactRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>contact.t_contact</code> table reference
|
||||
*/
|
||||
public TContact(String alias) {
|
||||
this(DSL.name(alias), T_CONTACT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>contact.t_contact</code> table reference
|
||||
*/
|
||||
public TContact(Name alias) {
|
||||
this(alias, T_CONTACT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>contact.t_contact</code> table reference
|
||||
*/
|
||||
public TContact() {
|
||||
this(DSL.name("t_contact"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TContact(Table<O> child, ForeignKey<O, TContactRecord> key) {
|
||||
super(child, key, T_CONTACT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Contact.CONTACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TContactRecord, Integer> getIdentity() {
|
||||
return (Identity<TContactRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TContactRecord> getPrimaryKey() {
|
||||
return Keys.T_CONTACT_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContact as(String alias) {
|
||||
return new TContact(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContact as(Name alias) {
|
||||
return new TContact(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContact as(Table<?> alias) {
|
||||
return new TContact(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TContact rename(String name) {
|
||||
return new TContact(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TContact rename(Name name) {
|
||||
return new TContact(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TContact rename(Table<?> name) {
|
||||
return new TContact(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, EnumContacttype> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,257 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.contact.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.contact.enums.EnumContacttype;
|
||||
import de.jottyfan.timetrack.db.contact.tables.TContact;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TContactRecord extends UpdatableRecordImpl<TContactRecord> implements Record5<Integer, String, String, String, EnumContacttype> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>contact.t_contact.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>contact.t_contact.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>contact.t_contact.forename</code>.
|
||||
*/
|
||||
public void setForename(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>contact.t_contact.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>contact.t_contact.surname</code>.
|
||||
*/
|
||||
public void setSurname(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>contact.t_contact.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>contact.t_contact.contact</code>.
|
||||
*/
|
||||
public void setContact(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>contact.t_contact.contact</code>.
|
||||
*/
|
||||
public String getContact() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>contact.t_contact.type</code>.
|
||||
*/
|
||||
public void setType(EnumContacttype value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>contact.t_contact.type</code>.
|
||||
*/
|
||||
public EnumContacttype getType() {
|
||||
return (EnumContacttype) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, EnumContacttype> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, EnumContacttype> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TContact.T_CONTACT.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return TContact.T_CONTACT.FORENAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TContact.T_CONTACT.SURNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TContact.T_CONTACT.CONTACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<EnumContacttype> field5() {
|
||||
return TContact.T_CONTACT.TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getContact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumContacttype component5() {
|
||||
return getType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getContact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumContacttype value5() {
|
||||
return getType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord value2(String value) {
|
||||
setForename(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord value3(String value) {
|
||||
setSurname(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord value4(String value) {
|
||||
setContact(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord value5(EnumContacttype value) {
|
||||
setType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContactRecord values(Integer value1, String value2, String value3, String value4, EnumContacttype value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TContactRecord
|
||||
*/
|
||||
public TContactRecord() {
|
||||
super(TContact.T_CONTACT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TContactRecord
|
||||
*/
|
||||
public TContactRecord(Integer pk, String forename, String surname, String contact, EnumContacttype type) {
|
||||
super(TContact.T_CONTACT);
|
||||
|
||||
setPk(pk);
|
||||
setForename(forename);
|
||||
setSurname(surname);
|
||||
setContact(contact);
|
||||
setType(type);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,237 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.DefaultCatalog;
|
||||
import de.jottyfan.timetrack.db.done.tables.TBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.TDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFavorite;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFreetime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TJob;
|
||||
import de.jottyfan.timetrack.db.done.tables.TModule;
|
||||
import de.jottyfan.timetrack.db.done.tables.TOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDay;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDuration;
|
||||
import de.jottyfan.timetrack.db.done.tables.VFavorite;
|
||||
import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VJob;
|
||||
import de.jottyfan.timetrack.db.done.tables.VModule;
|
||||
import de.jottyfan.timetrack.db.done.tables.VProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTasklist;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTimelength;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTotalofday;
|
||||
import de.jottyfan.timetrack.db.done.tables.VWorktime;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Done extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done</code>
|
||||
*/
|
||||
public static final Done DONE = new Done();
|
||||
|
||||
/**
|
||||
* The table <code>done.t_billing</code>.
|
||||
*/
|
||||
public final TBilling T_BILLING = TBilling.T_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_done</code>.
|
||||
*/
|
||||
public final TDone T_DONE = TDone.T_DONE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_favorite</code>.
|
||||
*/
|
||||
public final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_freetime</code>.
|
||||
*/
|
||||
public final TFreetime T_FREETIME = TFreetime.T_FREETIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_job</code>.
|
||||
*/
|
||||
public final TJob T_JOB = TJob.T_JOB;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_module</code>.
|
||||
*/
|
||||
public final TModule T_MODULE = TModule.T_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_overtime</code>.
|
||||
*/
|
||||
public final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_project</code>.
|
||||
*/
|
||||
public final TProject T_PROJECT = TProject.T_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_required_worktime</code>.
|
||||
*/
|
||||
public final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_billing</code>.
|
||||
*/
|
||||
public final VBilling V_BILLING = VBilling.V_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_current_overtime</code>.
|
||||
*/
|
||||
public final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
*/
|
||||
public final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_day</code>.
|
||||
*/
|
||||
public final VDay V_DAY = VDay.V_DAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimit</code>.
|
||||
*/
|
||||
public final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimits</code>.
|
||||
*/
|
||||
public final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daysummary</code>.
|
||||
*/
|
||||
public final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_done</code>.
|
||||
*/
|
||||
public final VDone V_DONE = VDone.V_DONE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_duration</code>.
|
||||
*/
|
||||
public final VDuration V_DURATION = VDuration.V_DURATION;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_favorite</code>.
|
||||
*/
|
||||
public final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamstersummary</code>.
|
||||
*/
|
||||
public final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_job</code>.
|
||||
*/
|
||||
public final VJob V_JOB = VJob.V_JOB;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_module</code>.
|
||||
*/
|
||||
public final VModule V_MODULE = VModule.V_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_project</code>.
|
||||
*/
|
||||
public final VProject V_PROJECT = VProject.V_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_tasklist</code>.
|
||||
*/
|
||||
public final VTasklist V_TASKLIST = VTasklist.V_TASKLIST;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_timelength</code>.
|
||||
*/
|
||||
public final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_totalofday</code>.
|
||||
*/
|
||||
public final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_worktime</code>.
|
||||
*/
|
||||
public final VWorktime V_WORKTIME = VWorktime.V_WORKTIME;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Done() {
|
||||
super("done", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
TBilling.T_BILLING,
|
||||
TDone.T_DONE,
|
||||
TFavorite.T_FAVORITE,
|
||||
TFreetime.T_FREETIME,
|
||||
TJob.T_JOB,
|
||||
TModule.T_MODULE,
|
||||
TOvertime.T_OVERTIME,
|
||||
TProject.T_PROJECT,
|
||||
TRequiredWorktime.T_REQUIRED_WORKTIME,
|
||||
VBilling.V_BILLING,
|
||||
VCurrentOvertime.V_CURRENT_OVERTIME,
|
||||
VDaily.V_DAILY,
|
||||
VDay.V_DAY,
|
||||
VDaylimit.V_DAYLIMIT,
|
||||
VDaylimits.V_DAYLIMITS,
|
||||
VDaysummary.V_DAYSUMMARY,
|
||||
VDone.V_DONE,
|
||||
VDuration.V_DURATION,
|
||||
VFavorite.V_FAVORITE,
|
||||
VHamstersummary.V_HAMSTERSUMMARY,
|
||||
VJob.V_JOB,
|
||||
VModule.V_MODULE,
|
||||
VProject.V_PROJECT,
|
||||
VTasklist.V_TASKLIST,
|
||||
VTimelength.V_TIMELENGTH,
|
||||
VTotalofday.V_TOTALOFDAY,
|
||||
VWorktime.V_WORKTIME
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.TDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFavorite;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFreetime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TJob;
|
||||
import de.jottyfan.timetrack.db.done.tables.TModule;
|
||||
import de.jottyfan.timetrack.db.done.tables.TOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TDoneRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TFavoriteRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* done.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<TBillingRecord> T_BILLING_NAME_KEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_name_key"), new TableField[] { TBilling.T_BILLING.NAME }, true);
|
||||
public static final UniqueKey<TBillingRecord> T_BILLING_PKEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_pkey"), new TableField[] { TBilling.T_BILLING.PK }, true);
|
||||
public static final UniqueKey<TBillingRecord> T_BILLING_SHORTCUT_KEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_shortcut_key"), new TableField[] { TBilling.T_BILLING.SHORTCUT }, true);
|
||||
public static final UniqueKey<TDoneRecord> T_DONE_PKEY = Internal.createUniqueKey(TDone.T_DONE, DSL.name("t_done_pkey"), new TableField[] { TDone.T_DONE.PK }, true);
|
||||
public static final UniqueKey<TFavoriteRecord> T_FAVORITE_PKEY = Internal.createUniqueKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_pkey"), new TableField[] { TFavorite.T_FAVORITE.PK_FAVORITE }, true);
|
||||
public static final UniqueKey<TFreetimeRecord> T_FREETIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_day_fk_login_key"), new TableField[] { TFreetime.T_FREETIME.DAY, TFreetime.T_FREETIME.FK_LOGIN }, true);
|
||||
public static final UniqueKey<TFreetimeRecord> T_FREETIME_PKEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_pkey"), new TableField[] { TFreetime.T_FREETIME.PK_FREETIME }, true);
|
||||
public static final UniqueKey<TJobRecord> T_CATEGORY_NAME_KEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_name_key"), new TableField[] { TJob.T_JOB.NAME }, true);
|
||||
public static final UniqueKey<TJobRecord> T_CATEGORY_PKEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_pkey"), new TableField[] { TJob.T_JOB.PK }, true);
|
||||
public static final UniqueKey<TModuleRecord> T_JOB_NAME_KEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_name_key"), new TableField[] { TModule.T_MODULE.NAME }, true);
|
||||
public static final UniqueKey<TModuleRecord> T_JOB_PKEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_pkey"), new TableField[] { TModule.T_MODULE.PK }, true);
|
||||
public static final UniqueKey<TOvertimeRecord> T_OVERTIME_FK_LOGIN_KEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_key"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, true);
|
||||
public static final UniqueKey<TOvertimeRecord> T_OVERTIME_PKEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_pkey"), new TableField[] { TOvertime.T_OVERTIME.PK_OVERTIME }, true);
|
||||
public static final UniqueKey<TProjectRecord> T_PROJECT_NAME_KEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_name_key"), new TableField[] { TProject.T_PROJECT.NAME }, true);
|
||||
public static final UniqueKey<TProjectRecord> T_PROJECT_PKEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_pkey"), new TableField[] { TProject.T_PROJECT.PK }, true);
|
||||
public static final UniqueKey<TRequiredWorktimeRecord> T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_day_fk_login_key"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.DAY, TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, true);
|
||||
public static final UniqueKey<TRequiredWorktimeRecord> T_REQUIRED_WORKTIME_PKEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_pkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<TDoneRecord, TBillingRecord> T_DONE__T_DONE_FK_BILLING_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_billing_fkey"), new TableField[] { TDone.T_DONE.FK_BILLING }, Keys.T_BILLING_PKEY, new TableField[] { TBilling.T_BILLING.PK }, true);
|
||||
public static final ForeignKey<TDoneRecord, TJobRecord> T_DONE__T_DONE_FK_CATEGORY_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_category_fkey"), new TableField[] { TDone.T_DONE.FK_JOB }, Keys.T_CATEGORY_PKEY, new TableField[] { TJob.T_JOB.PK }, true);
|
||||
public static final ForeignKey<TDoneRecord, TModuleRecord> T_DONE__T_DONE_FK_JOB_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_job_fkey"), new TableField[] { TDone.T_DONE.FK_MODULE }, Keys.T_JOB_PKEY, new TableField[] { TModule.T_MODULE.PK }, true);
|
||||
public static final ForeignKey<TDoneRecord, TLoginRecord> T_DONE__T_DONE_FK_LOGIN_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_login_fkey"), new TableField[] { TDone.T_DONE.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final ForeignKey<TDoneRecord, TProjectRecord> T_DONE__T_DONE_FK_PROJECT_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_project_fkey"), new TableField[] { TDone.T_DONE.FK_PROJECT }, Keys.T_PROJECT_PKEY, new TableField[] { TProject.T_PROJECT.PK }, true);
|
||||
public static final ForeignKey<TFavoriteRecord, TBillingRecord> T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_billing_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_BILLING }, Keys.T_BILLING_PKEY, new TableField[] { TBilling.T_BILLING.PK }, true);
|
||||
public static final ForeignKey<TFavoriteRecord, TJobRecord> T_FAVORITE__T_FAVORITE_FK_JOB_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_job_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_JOB }, Keys.T_CATEGORY_PKEY, new TableField[] { TJob.T_JOB.PK }, true);
|
||||
public static final ForeignKey<TFavoriteRecord, TLoginRecord> T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_login_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final ForeignKey<TFavoriteRecord, TModuleRecord> T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_module_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_MODULE }, Keys.T_JOB_PKEY, new TableField[] { TModule.T_MODULE.PK }, true);
|
||||
public static final ForeignKey<TFavoriteRecord, TProjectRecord> T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_project_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_PROJECT }, Keys.T_PROJECT_PKEY, new TableField[] { TProject.T_PROJECT.PK }, true);
|
||||
public static final ForeignKey<TFreetimeRecord, TLoginRecord> T_FREETIME__T_FREETIME_FK_LOGIN_FKEY = Internal.createForeignKey(TFreetime.T_FREETIME, DSL.name("t_freetime_fk_login_fkey"), new TableField[] { TFreetime.T_FREETIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final ForeignKey<TOvertimeRecord, TLoginRecord> T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_fkey"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final ForeignKey<TRequiredWorktimeRecord, TLoginRecord> T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_fk_login_fkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
}
|
||||
@@ -1,176 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.TDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFavorite;
|
||||
import de.jottyfan.timetrack.db.done.tables.TFreetime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TJob;
|
||||
import de.jottyfan.timetrack.db.done.tables.TModule;
|
||||
import de.jottyfan.timetrack.db.done.tables.TOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDay;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDuration;
|
||||
import de.jottyfan.timetrack.db.done.tables.VFavorite;
|
||||
import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VJob;
|
||||
import de.jottyfan.timetrack.db.done.tables.VModule;
|
||||
import de.jottyfan.timetrack.db.done.tables.VProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTasklist;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTimelength;
|
||||
import de.jottyfan.timetrack.db.done.tables.VTotalofday;
|
||||
import de.jottyfan.timetrack.db.done.tables.VWorktime;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in done.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>done.t_billing</code>.
|
||||
*/
|
||||
public static final TBilling T_BILLING = TBilling.T_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_done</code>.
|
||||
*/
|
||||
public static final TDone T_DONE = TDone.T_DONE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_favorite</code>.
|
||||
*/
|
||||
public static final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_freetime</code>.
|
||||
*/
|
||||
public static final TFreetime T_FREETIME = TFreetime.T_FREETIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_job</code>.
|
||||
*/
|
||||
public static final TJob T_JOB = TJob.T_JOB;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_module</code>.
|
||||
*/
|
||||
public static final TModule T_MODULE = TModule.T_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_overtime</code>.
|
||||
*/
|
||||
public static final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_project</code>.
|
||||
*/
|
||||
public static final TProject T_PROJECT = TProject.T_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_required_worktime</code>.
|
||||
*/
|
||||
public static final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_billing</code>.
|
||||
*/
|
||||
public static final VBilling V_BILLING = VBilling.V_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_current_overtime</code>.
|
||||
*/
|
||||
public static final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
*/
|
||||
public static final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_day</code>.
|
||||
*/
|
||||
public static final VDay V_DAY = VDay.V_DAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimit</code>.
|
||||
*/
|
||||
public static final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimits</code>.
|
||||
*/
|
||||
public static final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daysummary</code>.
|
||||
*/
|
||||
public static final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_done</code>.
|
||||
*/
|
||||
public static final VDone V_DONE = VDone.V_DONE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_duration</code>.
|
||||
*/
|
||||
public static final VDuration V_DURATION = VDuration.V_DURATION;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_favorite</code>.
|
||||
*/
|
||||
public static final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamstersummary</code>.
|
||||
*/
|
||||
public static final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_job</code>.
|
||||
*/
|
||||
public static final VJob V_JOB = VJob.V_JOB;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_module</code>.
|
||||
*/
|
||||
public static final VModule V_MODULE = VModule.V_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_project</code>.
|
||||
*/
|
||||
public static final VProject V_PROJECT = VProject.V_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_tasklist</code>.
|
||||
*/
|
||||
public static final VTasklist V_TASKLIST = VTasklist.V_TASKLIST;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_timelength</code>.
|
||||
*/
|
||||
public static final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_totalofday</code>.
|
||||
*/
|
||||
public static final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_worktime</code>.
|
||||
*/
|
||||
public static final VWorktime V_WORKTIME = VWorktime.V_WORKTIME;
|
||||
}
|
||||
@@ -1,196 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TBilling extends TableImpl<TBillingRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_billing</code>
|
||||
*/
|
||||
public static final TBilling T_BILLING = new TBilling();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TBillingRecord> getRecordType() {
|
||||
return TBillingRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.pk</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.name</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.shortcut</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, String> SHORTCUT = createField(DSL.name("shortcut"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.csskey</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, String> CSSKEY = createField(DSL.name("csskey"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private TBilling(Name alias, Table<TBillingRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TBilling(Name alias, Table<TBillingRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_billing</code> table reference
|
||||
*/
|
||||
public TBilling(String alias) {
|
||||
this(DSL.name(alias), T_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_billing</code> table reference
|
||||
*/
|
||||
public TBilling(Name alias) {
|
||||
this(alias, T_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_billing</code> table reference
|
||||
*/
|
||||
public TBilling() {
|
||||
this(DSL.name("t_billing"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TBilling(Table<O> child, ForeignKey<O, TBillingRecord> key) {
|
||||
super(child, key, T_BILLING);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TBillingRecord, Integer> getIdentity() {
|
||||
return (Identity<TBillingRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TBillingRecord> getPrimaryKey() {
|
||||
return Keys.T_BILLING_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TBillingRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_BILLING_NAME_KEY, Keys.T_BILLING_SHORTCUT_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBilling as(String alias) {
|
||||
return new TBilling(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBilling as(Name alias) {
|
||||
return new TBilling(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBilling as(Table<?> alias) {
|
||||
return new TBilling(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TBilling rename(String name) {
|
||||
return new TBilling(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TBilling rename(Name name) {
|
||||
return new TBilling(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TBilling rename(Table<?> name) {
|
||||
return new TBilling(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,273 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TDoneRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function9;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TDone extends TableImpl<TDoneRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_done</code>
|
||||
*/
|
||||
public static final TDone T_DONE = new TDone();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TDoneRecord> getRecordType() {
|
||||
return TDoneRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.pk</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.time_from</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, LocalDateTime> TIME_FROM = createField(DSL.name("time_from"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.time_until</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, LocalDateTime> TIME_UNTIL = createField(DSL.name("time_until"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.fk_project</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> FK_PROJECT = createField(DSL.name("fk_project"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.fk_module</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> FK_MODULE = createField(DSL.name("fk_module"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.fk_job</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> FK_JOB = createField(DSL.name("fk_job"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.fk_billing</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, Integer> FK_BILLING = createField(DSL.name("fk_billing"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private TDone(Name alias, Table<TDoneRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TDone(Name alias, Table<TDoneRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_done</code> table reference
|
||||
*/
|
||||
public TDone(String alias) {
|
||||
this(DSL.name(alias), T_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_done</code> table reference
|
||||
*/
|
||||
public TDone(Name alias) {
|
||||
this(alias, T_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_done</code> table reference
|
||||
*/
|
||||
public TDone() {
|
||||
this(DSL.name("t_done"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TDone(Table<O> child, ForeignKey<O, TDoneRecord> key) {
|
||||
super(child, key, T_DONE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TDoneRecord, Integer> getIdentity() {
|
||||
return (Identity<TDoneRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TDoneRecord> getPrimaryKey() {
|
||||
return Keys.T_DONE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TDoneRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_DONE__T_DONE_FK_PROJECT_FKEY, Keys.T_DONE__T_DONE_FK_JOB_FKEY, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY, Keys.T_DONE__T_DONE_FK_BILLING_FKEY);
|
||||
}
|
||||
|
||||
private transient TProject _tProject;
|
||||
private transient TModule _tModule;
|
||||
private transient TJob _tJob;
|
||||
private transient TLogin _tLogin;
|
||||
private transient TBilling _tBilling;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_project</code> table.
|
||||
*/
|
||||
public TProject tProject() {
|
||||
if (_tProject == null)
|
||||
_tProject = new TProject(this, Keys.T_DONE__T_DONE_FK_PROJECT_FKEY);
|
||||
|
||||
return _tProject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_module</code> table.
|
||||
*/
|
||||
public TModule tModule() {
|
||||
if (_tModule == null)
|
||||
_tModule = new TModule(this, Keys.T_DONE__T_DONE_FK_JOB_FKEY);
|
||||
|
||||
return _tModule;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_job</code> table.
|
||||
*/
|
||||
public TJob tJob() {
|
||||
if (_tJob == null)
|
||||
_tJob = new TJob(this, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY);
|
||||
|
||||
return _tJob;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_billing</code> table.
|
||||
*/
|
||||
public TBilling tBilling() {
|
||||
if (_tBilling == null)
|
||||
_tBilling = new TBilling(this, Keys.T_DONE__T_DONE_FK_BILLING_FKEY);
|
||||
|
||||
return _tBilling;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDone as(String alias) {
|
||||
return new TDone(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDone as(Name alias) {
|
||||
return new TDone(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDone as(Table<?> alias) {
|
||||
return new TDone(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TDone rename(String name) {
|
||||
return new TDone(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TDone rename(Name name) {
|
||||
return new TDone(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TDone rename(Table<?> name) {
|
||||
return new TDone(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row9 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row9<LocalDateTime, Integer, LocalDateTime, LocalDateTime, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function9<? super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function9<? super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,263 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TFavoriteRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TFavorite extends TableImpl<TFavoriteRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_favorite</code>
|
||||
*/
|
||||
public static final TFavorite T_FAVORITE = new TFavorite();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TFavoriteRecord> getRecordType() {
|
||||
return TFavoriteRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> PK_FAVORITE = createField(DSL.name("pk_favorite"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.fk_project</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> FK_PROJECT = createField(DSL.name("fk_project"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.fk_module</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> FK_MODULE = createField(DSL.name("fk_module"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.fk_job</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> FK_JOB = createField(DSL.name("fk_job"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_favorite.fk_billing</code>.
|
||||
*/
|
||||
public final TableField<TFavoriteRecord, Integer> FK_BILLING = createField(DSL.name("fk_billing"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private TFavorite(Name alias, Table<TFavoriteRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TFavorite(Name alias, Table<TFavoriteRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_favorite</code> table reference
|
||||
*/
|
||||
public TFavorite(String alias) {
|
||||
this(DSL.name(alias), T_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_favorite</code> table reference
|
||||
*/
|
||||
public TFavorite(Name alias) {
|
||||
this(alias, T_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_favorite</code> table reference
|
||||
*/
|
||||
public TFavorite() {
|
||||
this(DSL.name("t_favorite"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TFavorite(Table<O> child, ForeignKey<O, TFavoriteRecord> key) {
|
||||
super(child, key, T_FAVORITE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TFavoriteRecord, Integer> getIdentity() {
|
||||
return (Identity<TFavoriteRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TFavoriteRecord> getPrimaryKey() {
|
||||
return Keys.T_FAVORITE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TFavoriteRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_JOB_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
private transient TProject _tProject;
|
||||
private transient TModule _tModule;
|
||||
private transient TJob _tJob;
|
||||
private transient TBilling _tBilling;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_project</code> table.
|
||||
*/
|
||||
public TProject tProject() {
|
||||
if (_tProject == null)
|
||||
_tProject = new TProject(this, Keys.T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY);
|
||||
|
||||
return _tProject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_module</code> table.
|
||||
*/
|
||||
public TModule tModule() {
|
||||
if (_tModule == null)
|
||||
_tModule = new TModule(this, Keys.T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY);
|
||||
|
||||
return _tModule;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_job</code> table.
|
||||
*/
|
||||
public TJob tJob() {
|
||||
if (_tJob == null)
|
||||
_tJob = new TJob(this, Keys.T_FAVORITE__T_FAVORITE_FK_JOB_FKEY);
|
||||
|
||||
return _tJob;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_billing</code> table.
|
||||
*/
|
||||
public TBilling tBilling() {
|
||||
if (_tBilling == null)
|
||||
_tBilling = new TBilling(this, Keys.T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY);
|
||||
|
||||
return _tBilling;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavorite as(String alias) {
|
||||
return new TFavorite(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavorite as(Name alias) {
|
||||
return new TFavorite(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavorite as(Table<?> alias) {
|
||||
return new TFavorite(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFavorite rename(String name) {
|
||||
return new TFavorite(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFavorite rename(Name name) {
|
||||
return new TFavorite(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFavorite rename(Table<?> name) {
|
||||
return new TFavorite(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,215 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TFreetime extends TableImpl<TFreetimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_freetime</code>
|
||||
*/
|
||||
public static final TFreetime T_FREETIME = new TFreetime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TFreetimeRecord> getRecordType() {
|
||||
return TFreetimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, Integer> PK_FREETIME = createField(DSL.name("pk_freetime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, LocalTime> REQUIRED_WORKTIME = createField(DSL.name("required_worktime"), SQLDataType.LOCALTIME(6).nullable(false).defaultValue(DSL.field(DSL.raw("'00:00:00'::time without time zone"), SQLDataType.LOCALTIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, String> REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private TFreetime(Name alias, Table<TFreetimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TFreetime(Name alias, Table<TFreetimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime(String alias) {
|
||||
this(DSL.name(alias), T_FREETIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime(Name alias) {
|
||||
this(alias, T_FREETIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime() {
|
||||
this(DSL.name("t_freetime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TFreetime(Table<O> child, ForeignKey<O, TFreetimeRecord> key) {
|
||||
super(child, key, T_FREETIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TFreetimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TFreetimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TFreetimeRecord> getPrimaryKey() {
|
||||
return Keys.T_FREETIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TFreetimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_FREETIME_DAY_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TFreetimeRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetime as(String alias) {
|
||||
return new TFreetime(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetime as(Name alias) {
|
||||
return new TFreetime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetime as(Table<?> alias) {
|
||||
return new TFreetime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFreetime rename(String name) {
|
||||
return new TFreetime(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFreetime rename(Name name) {
|
||||
return new TFreetime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TFreetime rename(Table<?> name) {
|
||||
return new TFreetime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TJob extends TableImpl<TJobRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_job</code>
|
||||
*/
|
||||
public static final TJob T_JOB = new TJob();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TJobRecord> getRecordType() {
|
||||
return TJobRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_job.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TJobRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_job.pk</code>.
|
||||
*/
|
||||
public final TableField<TJobRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_job.name</code>.
|
||||
*/
|
||||
public final TableField<TJobRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
private TJob(Name alias, Table<TJobRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TJob(Name alias, Table<TJobRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_job</code> table reference
|
||||
*/
|
||||
public TJob(String alias) {
|
||||
this(DSL.name(alias), T_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_job</code> table reference
|
||||
*/
|
||||
public TJob(Name alias) {
|
||||
this(alias, T_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_job</code> table reference
|
||||
*/
|
||||
public TJob() {
|
||||
this(DSL.name("t_job"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TJob(Table<O> child, ForeignKey<O, TJobRecord> key) {
|
||||
super(child, key, T_JOB);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TJobRecord, Integer> getIdentity() {
|
||||
return (Identity<TJobRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TJobRecord> getPrimaryKey() {
|
||||
return Keys.T_CATEGORY_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TJobRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_CATEGORY_NAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJob as(String alias) {
|
||||
return new TJob(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJob as(Name alias) {
|
||||
return new TJob(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJob as(Table<?> alias) {
|
||||
return new TJob(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TJob rename(String name) {
|
||||
return new TJob(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TJob rename(Name name) {
|
||||
return new TJob(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TJob rename(Table<?> name) {
|
||||
return new TJob(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TModule extends TableImpl<TModuleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_module</code>
|
||||
*/
|
||||
public static final TModule T_MODULE = new TModule();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TModuleRecord> getRecordType() {
|
||||
return TModuleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_module.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TModuleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_module.pk</code>.
|
||||
*/
|
||||
public final TableField<TModuleRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_module.name</code>.
|
||||
*/
|
||||
public final TableField<TModuleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
private TModule(Name alias, Table<TModuleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TModule(Name alias, Table<TModuleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_module</code> table reference
|
||||
*/
|
||||
public TModule(String alias) {
|
||||
this(DSL.name(alias), T_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_module</code> table reference
|
||||
*/
|
||||
public TModule(Name alias) {
|
||||
this(alias, T_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_module</code> table reference
|
||||
*/
|
||||
public TModule() {
|
||||
this(DSL.name("t_module"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TModule(Table<O> child, ForeignKey<O, TModuleRecord> key) {
|
||||
super(child, key, T_MODULE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TModuleRecord, Integer> getIdentity() {
|
||||
return (Identity<TModuleRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TModuleRecord> getPrimaryKey() {
|
||||
return Keys.T_JOB_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TModuleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_JOB_NAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModule as(String alias) {
|
||||
return new TModule(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModule as(Name alias) {
|
||||
return new TModule(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModule as(Table<?> alias) {
|
||||
return new TModule(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TModule rename(String name) {
|
||||
return new TModule(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TModule rename(Name name) {
|
||||
return new TModule(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TModule rename(Table<?> name) {
|
||||
return new TModule(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,209 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TOvertime extends TableImpl<TOvertimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_overtime</code>
|
||||
*/
|
||||
public static final TOvertime T_OVERTIME = new TOvertime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TOvertimeRecord> getRecordType() {
|
||||
return TOvertimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, Integer> PK_OVERTIME = createField(DSL.name("pk_overtime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, LocalDateTime> IMPACT = createField(DSL.name("impact"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.overtime_minutes</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, Integer> OVERTIME_MINUTES = createField(DSL.name("overtime_minutes"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
|
||||
|
||||
private TOvertime(Name alias, Table<TOvertimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TOvertime(Name alias, Table<TOvertimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime(String alias) {
|
||||
this(DSL.name(alias), T_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime(Name alias) {
|
||||
this(alias, T_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime() {
|
||||
this(DSL.name("t_overtime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TOvertime(Table<O> child, ForeignKey<O, TOvertimeRecord> key) {
|
||||
super(child, key, T_OVERTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TOvertimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TOvertimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TOvertimeRecord> getPrimaryKey() {
|
||||
return Keys.T_OVERTIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TOvertimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_OVERTIME_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TOvertimeRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertime as(String alias) {
|
||||
return new TOvertime(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertime as(Name alias) {
|
||||
return new TOvertime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertime as(Table<?> alias) {
|
||||
return new TOvertime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TOvertime rename(String name) {
|
||||
return new TOvertime(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TOvertime rename(Name name) {
|
||||
return new TOvertime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TOvertime rename(Table<?> name) {
|
||||
return new TOvertime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalDateTime, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super Integer, ? super LocalDateTime, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super Integer, ? super LocalDateTime, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProject extends TableImpl<TProjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_project</code>
|
||||
*/
|
||||
public static final TProject T_PROJECT = new TProject();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TProjectRecord> getRecordType() {
|
||||
return TProjectRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_project.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TProjectRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_project.pk</code>.
|
||||
*/
|
||||
public final TableField<TProjectRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_project.name</code>.
|
||||
*/
|
||||
public final TableField<TProjectRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
private TProject(Name alias, Table<TProjectRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TProject(Name alias, Table<TProjectRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_project</code> table reference
|
||||
*/
|
||||
public TProject(String alias) {
|
||||
this(DSL.name(alias), T_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_project</code> table reference
|
||||
*/
|
||||
public TProject(Name alias) {
|
||||
this(alias, T_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_project</code> table reference
|
||||
*/
|
||||
public TProject() {
|
||||
this(DSL.name("t_project"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TProject(Table<O> child, ForeignKey<O, TProjectRecord> key) {
|
||||
super(child, key, T_PROJECT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TProjectRecord, Integer> getIdentity() {
|
||||
return (Identity<TProjectRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TProjectRecord> getPrimaryKey() {
|
||||
return Keys.T_PROJECT_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TProjectRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_PROJECT_NAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProject as(String alias) {
|
||||
return new TProject(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProject as(Name alias) {
|
||||
return new TProject(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProject as(Table<?> alias) {
|
||||
return new TProject(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProject rename(String name) {
|
||||
return new TProject(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProject rename(Name name) {
|
||||
return new TProject(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProject rename(Table<?> name) {
|
||||
return new TProject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,214 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.Keys;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TRequiredWorktime extends TableImpl<TRequiredWorktimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_required_worktime</code>
|
||||
*/
|
||||
public static final TRequiredWorktime T_REQUIRED_WORKTIME = new TRequiredWorktime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TRequiredWorktimeRecord> getRecordType() {
|
||||
return TRequiredWorktimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, Integer> PK_REQUIRED_WORKTIME = createField(DSL.name("pk_required_worktime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.required_minutes</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, Integer> REQUIRED_MINUTES = createField(DSL.name("required_minutes"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("480"), SQLDataType.INTEGER)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.reason</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, String> REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private TRequiredWorktime(Name alias, Table<TRequiredWorktimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TRequiredWorktime(Name alias, Table<TRequiredWorktimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime(String alias) {
|
||||
this(DSL.name(alias), T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime(Name alias) {
|
||||
this(alias, T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime() {
|
||||
this(DSL.name("t_required_worktime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TRequiredWorktime(Table<O> child, ForeignKey<O, TRequiredWorktimeRecord> key) {
|
||||
super(child, key, T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TRequiredWorktimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TRequiredWorktimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TRequiredWorktimeRecord> getPrimaryKey() {
|
||||
return Keys.T_REQUIRED_WORKTIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TRequiredWorktimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TRequiredWorktimeRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktime as(String alias) {
|
||||
return new TRequiredWorktime(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktime as(Name alias) {
|
||||
return new TRequiredWorktime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktime as(Table<?> alias) {
|
||||
return new TRequiredWorktime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRequiredWorktime rename(String name) {
|
||||
return new TRequiredWorktime(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRequiredWorktime rename(Name name) {
|
||||
return new TRequiredWorktime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRequiredWorktime rename(Table<?> name) {
|
||||
return new TRequiredWorktime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, Integer, Integer, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super LocalDate, ? super Integer, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super LocalDate, ? super Integer, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,176 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VBillingRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VBilling extends TableImpl<VBillingRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_billing</code>
|
||||
*/
|
||||
public static final VBilling V_BILLING = new VBilling();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VBillingRecord> getRecordType() {
|
||||
return VBillingRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_billing.pk</code>.
|
||||
*/
|
||||
public final TableField<VBillingRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_billing.name</code>.
|
||||
*/
|
||||
public final TableField<VBillingRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_billing.shortcut</code>.
|
||||
*/
|
||||
public final TableField<VBillingRecord, String> SHORTCUT = createField(DSL.name("shortcut"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_billing.csskey</code>.
|
||||
*/
|
||||
public final TableField<VBillingRecord, String> CSSKEY = createField(DSL.name("csskey"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_billing.percent_usage</code>.
|
||||
*/
|
||||
public final TableField<VBillingRecord, BigDecimal> PERCENT_USAGE = createField(DSL.name("percent_usage"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private VBilling(Name alias, Table<VBillingRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VBilling(Name alias, Table<VBillingRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_billing</code> table reference
|
||||
*/
|
||||
public VBilling(String alias) {
|
||||
this(DSL.name(alias), V_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_billing</code> table reference
|
||||
*/
|
||||
public VBilling(Name alias) {
|
||||
this(alias, V_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_billing</code> table reference
|
||||
*/
|
||||
public VBilling() {
|
||||
this(DSL.name("v_billing"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VBilling(Table<O> child, ForeignKey<O, VBillingRecord> key) {
|
||||
super(child, key, V_BILLING);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBilling as(String alias) {
|
||||
return new VBilling(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBilling as(Name alias) {
|
||||
return new VBilling(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBilling as(Table<?> alias) {
|
||||
return new VBilling(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VBilling rename(String name) {
|
||||
return new VBilling(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VBilling rename(Name name) {
|
||||
return new VBilling(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VBilling rename(Table<?> name) {
|
||||
return new VBilling(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, BigDecimal> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super String, ? super String, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super String, ? super String, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VCurrentOvertimeRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCurrentOvertime extends TableImpl<VCurrentOvertimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_current_overtime</code>
|
||||
*/
|
||||
public static final VCurrentOvertime V_CURRENT_OVERTIME = new VCurrentOvertime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VCurrentOvertimeRecord> getRecordType() {
|
||||
return VCurrentOvertimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, BigDecimal> OVERTIME = createField(DSL.name("overtime"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, String> IMPACT = createField(DSL.name("impact"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VCurrentOvertime(Name alias, Table<VCurrentOvertimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VCurrentOvertime(Name alias, Table<VCurrentOvertimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime(String alias) {
|
||||
this(DSL.name(alias), V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime(Name alias) {
|
||||
this(alias, V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime() {
|
||||
this(DSL.name("v_current_overtime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VCurrentOvertime(Table<O> child, ForeignKey<O, VCurrentOvertimeRecord> key) {
|
||||
super(child, key, V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertime as(String alias) {
|
||||
return new VCurrentOvertime(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertime as(Name alias) {
|
||||
return new VCurrentOvertime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertime as(Table<?> alias) {
|
||||
return new VCurrentOvertime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCurrentOvertime rename(String name) {
|
||||
return new VCurrentOvertime(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCurrentOvertime rename(Name name) {
|
||||
return new VCurrentOvertime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCurrentOvertime rename(Table<?> name) {
|
||||
return new VCurrentOvertime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<BigDecimal, String, Integer> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super BigDecimal, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super BigDecimal, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,171 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDailyRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaily extends TableImpl<VDailyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daily</code>
|
||||
*/
|
||||
public static final VDaily V_DAILY = new VDaily();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDailyRecord> getRecordType() {
|
||||
return VDailyRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, YearToSecond> WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaily(Name alias, Table<VDailyRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaily(Name alias, Table<VDailyRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily(String alias) {
|
||||
this(DSL.name(alias), V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily(Name alias) {
|
||||
this(alias, V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily() {
|
||||
this(DSL.name("v_daily"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaily(Table<O> child, ForeignKey<O, VDailyRecord> key) {
|
||||
super(child, key, V_DAILY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaily as(String alias) {
|
||||
return new VDaily(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaily as(Name alias) {
|
||||
return new VDaily(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaily as(Table<?> alias) {
|
||||
return new VDaily(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaily rename(String name) {
|
||||
return new VDaily(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaily rename(Name name) {
|
||||
return new VDaily(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaily rename(Table<?> name) {
|
||||
return new VDaily(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<YearToSecond, String, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,188 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDayRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDay extends TableImpl<VDayRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_day</code>
|
||||
*/
|
||||
public static final VDay V_DAY = new VDay();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDayRecord> getRecordType() {
|
||||
return VDayRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.day</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.starttime</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, LocalTime> STARTTIME = createField(DSL.name("starttime"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.endtime</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, LocalTime> ENDTIME = createField(DSL.name("endtime"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.worktime</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, YearToSecond> WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.breaktime</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, YearToSecond> BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.day_overtime</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, YearToSecond> DAY_OVERTIME = createField(DSL.name("day_overtime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_day.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDayRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDay(Name alias, Table<VDayRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDay(Name alias, Table<VDayRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_day</code> table reference
|
||||
*/
|
||||
public VDay(String alias) {
|
||||
this(DSL.name(alias), V_DAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_day</code> table reference
|
||||
*/
|
||||
public VDay(Name alias) {
|
||||
this(alias, V_DAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_day</code> table reference
|
||||
*/
|
||||
public VDay() {
|
||||
this(DSL.name("v_day"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDay(Table<O> child, ForeignKey<O, VDayRecord> key) {
|
||||
super(child, key, V_DAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDay as(String alias) {
|
||||
return new VDay(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDay as(Name alias) {
|
||||
return new VDay(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDay as(Table<?> alias) {
|
||||
return new VDay(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDay rename(String name) {
|
||||
return new VDay(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDay rename(Name name) {
|
||||
return new VDay(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDay rename(Table<?> name) {
|
||||
return new VDay(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDate, LocalTime, LocalTime, YearToSecond, YearToSecond, YearToSecond, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super LocalDate, ? super LocalTime, ? super LocalTime, ? super YearToSecond, ? super YearToSecond, ? super YearToSecond, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super LocalDate, ? super LocalTime, ? super LocalTime, ? super YearToSecond, ? super YearToSecond, ? super YearToSecond, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,183 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDaylimitRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaylimit extends TableImpl<VDaylimitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daylimit</code>
|
||||
*/
|
||||
public static final VDaylimit V_DAYLIMIT = new VDaylimit();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDaylimitRecord> getRecordType() {
|
||||
return VDaylimitRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, LocalTime> DAYTIME_FROM = createField(DSL.name("daytime_from"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, LocalTime> DAYTIME_UNTIL = createField(DSL.name("daytime_until"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, LocalTime> DAYWORKTIME = createField(DSL.name("dayworktime"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, YearToSecond> BREAKS = createField(DSL.name("breaks"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaylimit(Name alias, Table<VDaylimitRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaylimit(Name alias, Table<VDaylimitRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit(String alias) {
|
||||
this(DSL.name(alias), V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit(Name alias) {
|
||||
this(alias, V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit() {
|
||||
this(DSL.name("v_daylimit"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaylimit(Table<O> child, ForeignKey<O, VDaylimitRecord> key) {
|
||||
super(child, key, V_DAYLIMIT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimit as(String alias) {
|
||||
return new VDaylimit(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimit as(Name alias) {
|
||||
return new VDaylimit(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimit as(Table<?> alias) {
|
||||
return new VDaylimit(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimit rename(String name) {
|
||||
return new VDaylimit(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimit rename(Name name) {
|
||||
return new VDaylimit(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimit rename(Table<?> name) {
|
||||
return new VDaylimit(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<LocalTime, LocalTime, LocalTime, YearToSecond, LocalDate, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super LocalTime, ? super LocalTime, ? super LocalTime, ? super YearToSecond, ? super LocalDate, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super LocalTime, ? super LocalTime, ? super LocalTime, ? super YearToSecond, ? super LocalDate, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,172 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDaylimitsRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaylimits extends TableImpl<VDaylimitsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daylimits</code>
|
||||
*/
|
||||
public static final VDaylimits V_DAYLIMITS = new VDaylimits();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDaylimitsRecord> getRecordType() {
|
||||
return VDaylimitsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimits.work_start</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitsRecord, LocalDateTime> WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimits.work_end</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitsRecord, OffsetDateTime> WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimits.day</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitsRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimits.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitsRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaylimits(Name alias, Table<VDaylimitsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaylimits(Name alias, Table<VDaylimitsRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimits</code> table reference
|
||||
*/
|
||||
public VDaylimits(String alias) {
|
||||
this(DSL.name(alias), V_DAYLIMITS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimits</code> table reference
|
||||
*/
|
||||
public VDaylimits(Name alias) {
|
||||
this(alias, V_DAYLIMITS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daylimits</code> table reference
|
||||
*/
|
||||
public VDaylimits() {
|
||||
this(DSL.name("v_daylimits"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaylimits(Table<O> child, ForeignKey<O, VDaylimitsRecord> key) {
|
||||
super(child, key, V_DAYLIMITS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimits as(String alias) {
|
||||
return new VDaylimits(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimits as(Name alias) {
|
||||
return new VDaylimits(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimits as(Table<?> alias) {
|
||||
return new VDaylimits(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimits rename(String name) {
|
||||
return new VDaylimits(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimits rename(Name name) {
|
||||
return new VDaylimits(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimits rename(Table<?> name) {
|
||||
return new VDaylimits(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, OffsetDateTime, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,188 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDaysummaryRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaysummary extends TableImpl<VDaysummaryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daysummary</code>
|
||||
*/
|
||||
public static final VDaysummary V_DAYSUMMARY = new VDaysummary();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDaysummaryRecord> getRecordType() {
|
||||
return VDaysummaryRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, YearToSecond> BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, YearToSecond> WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, LocalDateTime> WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, OffsetDateTime> WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaysummary(Name alias, Table<VDaysummaryRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaysummary(Name alias, Table<VDaysummaryRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary(String alias) {
|
||||
this(DSL.name(alias), V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary(Name alias) {
|
||||
this(alias, V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary() {
|
||||
this(DSL.name("v_daysummary"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaysummary(Table<O> child, ForeignKey<O, VDaysummaryRecord> key) {
|
||||
super(child, key, V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummary as(String alias) {
|
||||
return new VDaysummary(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummary as(Name alias) {
|
||||
return new VDaysummary(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummary as(Table<?> alias) {
|
||||
return new VDaysummary(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaysummary rename(String name) {
|
||||
return new VDaysummary(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaysummary rename(Name name) {
|
||||
return new VDaysummary(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaysummary rename(Table<?> name) {
|
||||
return new VDaysummary(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDoneRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function8;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDone extends TableImpl<VDoneRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_done</code>
|
||||
*/
|
||||
public static final VDone V_DONE = new VDone();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDoneRecord> getRecordType() {
|
||||
return VDoneRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.fk_done</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, Integer> FK_DONE = createField(DSL.name("fk_done"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.time_from</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, LocalDateTime> TIME_FROM = createField(DSL.name("time_from"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.time_until</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, LocalDateTime> TIME_UNTIL = createField(DSL.name("time_until"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.project_name</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.module_name</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.job_name</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_done.login</code>.
|
||||
*/
|
||||
public final TableField<VDoneRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private VDone(Name alias, Table<VDoneRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDone(Name alias, Table<VDoneRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_done</code> table reference
|
||||
*/
|
||||
public VDone(String alias) {
|
||||
this(DSL.name(alias), V_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_done</code> table reference
|
||||
*/
|
||||
public VDone(Name alias) {
|
||||
this(alias, V_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_done</code> table reference
|
||||
*/
|
||||
public VDone() {
|
||||
this(DSL.name("v_done"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDone(Table<O> child, ForeignKey<O, VDoneRecord> key) {
|
||||
super(child, key, V_DONE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDone as(String alias) {
|
||||
return new VDone(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDone as(Name alias) {
|
||||
return new VDone(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDone as(Table<?> alias) {
|
||||
return new VDone(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDone rename(String name) {
|
||||
return new VDone(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDone rename(Name name) {
|
||||
return new VDone(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDone rename(Table<?> name) {
|
||||
return new VDone(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row8 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row8<Integer, Integer, LocalDateTime, LocalDateTime, String, String, String, String> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function8<? super Integer, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function8<? super Integer, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDurationRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDuration extends TableImpl<VDurationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_duration</code>
|
||||
*/
|
||||
public static final VDuration V_DURATION = new VDuration();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDurationRecord> getRecordType() {
|
||||
return VDurationRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.day</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.duration</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, YearToSecond> DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.project_name</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.module_name</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.job_name</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.login</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_duration.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDurationRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDuration(Name alias, Table<VDurationRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDuration(Name alias, Table<VDurationRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_duration</code> table reference
|
||||
*/
|
||||
public VDuration(String alias) {
|
||||
this(DSL.name(alias), V_DURATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_duration</code> table reference
|
||||
*/
|
||||
public VDuration(Name alias) {
|
||||
this(alias, V_DURATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_duration</code> table reference
|
||||
*/
|
||||
public VDuration() {
|
||||
this(DSL.name("v_duration"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDuration(Table<O> child, ForeignKey<O, VDurationRecord> key) {
|
||||
super(child, key, V_DURATION);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDuration as(String alias) {
|
||||
return new VDuration(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDuration as(Name alias) {
|
||||
return new VDuration(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDuration as(Table<?> alias) {
|
||||
return new VDuration(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDuration rename(String name) {
|
||||
return new VDuration(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDuration rename(Name name) {
|
||||
return new VDuration(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDuration rename(Table<?> name) {
|
||||
return new VDuration(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<String, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super String, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super String, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,180 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VFavoriteRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VFavorite extends TableImpl<VFavoriteRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_favorite</code>
|
||||
*/
|
||||
public static final VFavorite V_FAVORITE = new VFavorite();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VFavoriteRecord> getRecordType() {
|
||||
return VFavoriteRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, Integer> PK_FAVORITE = createField(DSL.name("pk_favorite"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.project</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, String> PROJECT = createField(DSL.name("project"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.module</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, String> MODULE = createField(DSL.name("module"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.job</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, String> JOB = createField(DSL.name("job"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_favorite.billing</code>.
|
||||
*/
|
||||
public final TableField<VFavoriteRecord, String> BILLING = createField(DSL.name("billing"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private VFavorite(Name alias, Table<VFavoriteRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VFavorite(Name alias, Table<VFavoriteRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_favorite</code> table reference
|
||||
*/
|
||||
public VFavorite(String alias) {
|
||||
this(DSL.name(alias), V_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_favorite</code> table reference
|
||||
*/
|
||||
public VFavorite(Name alias) {
|
||||
this(alias, V_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_favorite</code> table reference
|
||||
*/
|
||||
public VFavorite() {
|
||||
this(DSL.name("v_favorite"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VFavorite(Table<O> child, ForeignKey<O, VFavoriteRecord> key) {
|
||||
super(child, key, V_FAVORITE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavorite as(String alias) {
|
||||
return new VFavorite(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavorite as(Name alias) {
|
||||
return new VFavorite(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavorite as(Table<?> alias) {
|
||||
return new VFavorite(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VFavorite rename(String name) {
|
||||
return new VFavorite(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VFavorite rename(Name name) {
|
||||
return new VFavorite(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VFavorite rename(Table<?> name) {
|
||||
return new VFavorite(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<Integer, Integer, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super Integer, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super Integer, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,181 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VHamstersummaryRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VHamstersummary extends TableImpl<VHamstersummaryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_hamstersummary</code>
|
||||
*/
|
||||
public static final VHamstersummary V_HAMSTERSUMMARY = new VHamstersummary();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VHamstersummaryRecord> getRecordType() {
|
||||
return VHamstersummaryRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.workday</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, LocalDate> WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.duration</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, String> DURATION = createField(DSL.name("duration"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.project_name</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.module_name</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.job_name</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamstersummary.login</code>.
|
||||
*/
|
||||
public final TableField<VHamstersummaryRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private VHamstersummary(Name alias, Table<VHamstersummaryRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VHamstersummary(Name alias, Table<VHamstersummaryRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_hamstersummary</code> table reference
|
||||
*/
|
||||
public VHamstersummary(String alias) {
|
||||
this(DSL.name(alias), V_HAMSTERSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_hamstersummary</code> table reference
|
||||
*/
|
||||
public VHamstersummary(Name alias) {
|
||||
this(alias, V_HAMSTERSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_hamstersummary</code> table reference
|
||||
*/
|
||||
public VHamstersummary() {
|
||||
this(DSL.name("v_hamstersummary"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VHamstersummary(Table<O> child, ForeignKey<O, VHamstersummaryRecord> key) {
|
||||
super(child, key, V_HAMSTERSUMMARY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummary as(String alias) {
|
||||
return new VHamstersummary(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummary as(Name alias) {
|
||||
return new VHamstersummary(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummary as(Table<?> alias) {
|
||||
return new VHamstersummary(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VHamstersummary rename(String name) {
|
||||
return new VHamstersummary(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VHamstersummary rename(Name name) {
|
||||
return new VHamstersummary(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VHamstersummary rename(Table<?> name) {
|
||||
return new VHamstersummary(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<LocalDate, String, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super LocalDate, ? super String, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super LocalDate, ? super String, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VJobRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VJob extends TableImpl<VJobRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_job</code>
|
||||
*/
|
||||
public static final VJob V_JOB = new VJob();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VJobRecord> getRecordType() {
|
||||
return VJobRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_job.pk</code>.
|
||||
*/
|
||||
public final TableField<VJobRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_job.name</code>.
|
||||
*/
|
||||
public final TableField<VJobRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_job.percent_usage</code>.
|
||||
*/
|
||||
public final TableField<VJobRecord, BigDecimal> PERCENT_USAGE = createField(DSL.name("percent_usage"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private VJob(Name alias, Table<VJobRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VJob(Name alias, Table<VJobRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_job</code> table reference
|
||||
*/
|
||||
public VJob(String alias) {
|
||||
this(DSL.name(alias), V_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_job</code> table reference
|
||||
*/
|
||||
public VJob(Name alias) {
|
||||
this(alias, V_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_job</code> table reference
|
||||
*/
|
||||
public VJob() {
|
||||
this(DSL.name("v_job"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VJob(Table<O> child, ForeignKey<O, VJobRecord> key) {
|
||||
super(child, key, V_JOB);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJob as(String alias) {
|
||||
return new VJob(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJob as(Name alias) {
|
||||
return new VJob(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJob as(Table<?> alias) {
|
||||
return new VJob(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VJob rename(String name) {
|
||||
return new VJob(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VJob rename(Name name) {
|
||||
return new VJob(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VJob rename(Table<?> name) {
|
||||
return new VJob(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VModuleRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VModule extends TableImpl<VModuleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_module</code>
|
||||
*/
|
||||
public static final VModule V_MODULE = new VModule();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VModuleRecord> getRecordType() {
|
||||
return VModuleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_module.pk</code>.
|
||||
*/
|
||||
public final TableField<VModuleRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_module.name</code>.
|
||||
*/
|
||||
public final TableField<VModuleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_module.percent_usage</code>.
|
||||
*/
|
||||
public final TableField<VModuleRecord, BigDecimal> PERCENT_USAGE = createField(DSL.name("percent_usage"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private VModule(Name alias, Table<VModuleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VModule(Name alias, Table<VModuleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_module</code> table reference
|
||||
*/
|
||||
public VModule(String alias) {
|
||||
this(DSL.name(alias), V_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_module</code> table reference
|
||||
*/
|
||||
public VModule(Name alias) {
|
||||
this(alias, V_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_module</code> table reference
|
||||
*/
|
||||
public VModule() {
|
||||
this(DSL.name("v_module"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VModule(Table<O> child, ForeignKey<O, VModuleRecord> key) {
|
||||
super(child, key, V_MODULE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModule as(String alias) {
|
||||
return new VModule(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModule as(Name alias) {
|
||||
return new VModule(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModule as(Table<?> alias) {
|
||||
return new VModule(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VModule rename(String name) {
|
||||
return new VModule(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VModule rename(Name name) {
|
||||
return new VModule(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VModule rename(Table<?> name) {
|
||||
return new VModule(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,166 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VProjectRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VProject extends TableImpl<VProjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_project</code>
|
||||
*/
|
||||
public static final VProject V_PROJECT = new VProject();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VProjectRecord> getRecordType() {
|
||||
return VProjectRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_project.pk</code>.
|
||||
*/
|
||||
public final TableField<VProjectRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_project.name</code>.
|
||||
*/
|
||||
public final TableField<VProjectRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_project.percent_usage</code>.
|
||||
*/
|
||||
public final TableField<VProjectRecord, BigDecimal> PERCENT_USAGE = createField(DSL.name("percent_usage"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private VProject(Name alias, Table<VProjectRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VProject(Name alias, Table<VProjectRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_project</code> table reference
|
||||
*/
|
||||
public VProject(String alias) {
|
||||
this(DSL.name(alias), V_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_project</code> table reference
|
||||
*/
|
||||
public VProject(Name alias) {
|
||||
this(alias, V_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_project</code> table reference
|
||||
*/
|
||||
public VProject() {
|
||||
this(DSL.name("v_project"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VProject(Table<O> child, ForeignKey<O, VProjectRecord> key) {
|
||||
super(child, key, V_PROJECT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProject as(String alias) {
|
||||
return new VProject(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProject as(Name alias) {
|
||||
return new VProject(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProject as(Table<?> alias) {
|
||||
return new VProject(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VProject rename(String name) {
|
||||
return new VProject(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VProject rename(Name name) {
|
||||
return new VProject(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VProject rename(Table<?> name) {
|
||||
return new VProject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,180 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VTasklistRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTasklist extends TableImpl<VTasklistRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_tasklist</code>
|
||||
*/
|
||||
public static final VTasklist V_TASKLIST = new VTasklist();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VTasklistRecord> getRecordType() {
|
||||
return VTasklistRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.day</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.duration</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, String> DURATION = createField(DSL.name("duration"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.project_name</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.module_name</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.job_name</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_tasklist.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VTasklistRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VTasklist(Name alias, Table<VTasklistRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VTasklist(Name alias, Table<VTasklistRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_tasklist</code> table reference
|
||||
*/
|
||||
public VTasklist(String alias) {
|
||||
this(DSL.name(alias), V_TASKLIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_tasklist</code> table reference
|
||||
*/
|
||||
public VTasklist(Name alias) {
|
||||
this(alias, V_TASKLIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_tasklist</code> table reference
|
||||
*/
|
||||
public VTasklist() {
|
||||
this(DSL.name("v_tasklist"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VTasklist(Table<O> child, ForeignKey<O, VTasklistRecord> key) {
|
||||
super(child, key, V_TASKLIST);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklist as(String alias) {
|
||||
return new VTasklist(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklist as(Name alias) {
|
||||
return new VTasklist(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklist as(Table<?> alias) {
|
||||
return new VTasklist(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTasklist rename(String name) {
|
||||
return new VTasklist(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTasklist rename(Name name) {
|
||||
return new VTasklist(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTasklist rename(Table<?> name) {
|
||||
return new VTasklist(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,171 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VTimelengthRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTimelength extends TableImpl<VTimelengthRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_timelength</code>
|
||||
*/
|
||||
public static final VTimelength V_TIMELENGTH = new VTimelength();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VTimelengthRecord> getRecordType() {
|
||||
return VTimelengthRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_timelength.day</code>.
|
||||
*/
|
||||
public final TableField<VTimelengthRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_timelength.duration</code>.
|
||||
*/
|
||||
public final TableField<VTimelengthRecord, YearToSecond> DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_timelength.fk_done</code>.
|
||||
*/
|
||||
public final TableField<VTimelengthRecord, Integer> FK_DONE = createField(DSL.name("fk_done"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_timelength.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VTimelengthRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VTimelength(Name alias, Table<VTimelengthRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VTimelength(Name alias, Table<VTimelengthRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_timelength</code> table reference
|
||||
*/
|
||||
public VTimelength(String alias) {
|
||||
this(DSL.name(alias), V_TIMELENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_timelength</code> table reference
|
||||
*/
|
||||
public VTimelength(Name alias) {
|
||||
this(alias, V_TIMELENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_timelength</code> table reference
|
||||
*/
|
||||
public VTimelength() {
|
||||
this(DSL.name("v_timelength"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VTimelength(Table<O> child, ForeignKey<O, VTimelengthRecord> key) {
|
||||
super(child, key, V_TIMELENGTH);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelength as(String alias) {
|
||||
return new VTimelength(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelength as(Name alias) {
|
||||
return new VTimelength(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelength as(Table<?> alias) {
|
||||
return new VTimelength(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTimelength rename(String name) {
|
||||
return new VTimelength(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTimelength rename(Name name) {
|
||||
return new VTimelength(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTimelength rename(Table<?> name) {
|
||||
return new VTimelength(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<String, YearToSecond, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super String, ? super YearToSecond, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super String, ? super YearToSecond, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,180 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VTotalofdayRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTotalofday extends TableImpl<VTotalofdayRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_totalofday</code>
|
||||
*/
|
||||
public static final VTotalofday V_TOTALOFDAY = new VTotalofday();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VTotalofdayRecord> getRecordType() {
|
||||
return VTotalofdayRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> WORKTIME = createField(DSL.name("worktime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> STARTTIME = createField(DSL.name("starttime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> ENDTIME = createField(DSL.name("endtime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VTotalofday(Name alias, Table<VTotalofdayRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VTotalofday(Name alias, Table<VTotalofdayRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday(String alias) {
|
||||
this(DSL.name(alias), V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday(Name alias) {
|
||||
this(alias, V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday() {
|
||||
this(DSL.name("v_totalofday"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VTotalofday(Table<O> child, ForeignKey<O, VTotalofdayRecord> key) {
|
||||
super(child, key, V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofday as(String alias) {
|
||||
return new VTotalofday(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofday as(Name alias) {
|
||||
return new VTotalofday(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofday as(Table<?> alias) {
|
||||
return new VTotalofday(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTotalofday rename(String name) {
|
||||
return new VTotalofday(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTotalofday rename(Name name) {
|
||||
return new VTotalofday(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTotalofday rename(Table<?> name) {
|
||||
return new VTotalofday(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,195 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VWorktimeRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function9;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VWorktime extends TableImpl<VWorktimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_worktime</code>
|
||||
*/
|
||||
public static final VWorktime V_WORKTIME = new VWorktime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VWorktimeRecord> getRecordType() {
|
||||
return VWorktimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.day</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.duration</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> DURATION = createField(DSL.name("duration"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.duration_hours</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, Double> DURATION_HOURS = createField(DSL.name("duration_hours"), SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.project_name</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.module_name</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.job_name</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.billing_shortcut</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> BILLING_SHORTCUT = createField(DSL.name("billing_shortcut"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.billing_csskey</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, String> BILLING_CSSKEY = createField(DSL.name("billing_csskey"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_worktime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VWorktimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VWorktime(Name alias, Table<VWorktimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VWorktime(Name alias, Table<VWorktimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_worktime</code> table reference
|
||||
*/
|
||||
public VWorktime(String alias) {
|
||||
this(DSL.name(alias), V_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_worktime</code> table reference
|
||||
*/
|
||||
public VWorktime(Name alias) {
|
||||
this(alias, V_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_worktime</code> table reference
|
||||
*/
|
||||
public VWorktime() {
|
||||
this(DSL.name("v_worktime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VWorktime(Table<O> child, ForeignKey<O, VWorktimeRecord> key) {
|
||||
super(child, key, V_WORKTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktime as(String alias) {
|
||||
return new VWorktime(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktime as(Name alias) {
|
||||
return new VWorktime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktime as(Table<?> alias) {
|
||||
return new VWorktime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VWorktime rename(String name) {
|
||||
return new VWorktime(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VWorktime rename(Name name) {
|
||||
return new VWorktime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VWorktime rename(Table<?> name) {
|
||||
return new VWorktime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row9 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row9<String, String, Double, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function9<? super String, ? super String, ? super Double, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function9<? super String, ? super String, ? super Double, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,258 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TBilling;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TBillingRecord extends UpdatableRecordImpl<TBillingRecord> implements Record5<LocalDateTime, Integer, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_billing.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_billing.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_billing.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_billing.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_billing.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_billing.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_billing.shortcut</code>.
|
||||
*/
|
||||
public void setShortcut(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_billing.shortcut</code>.
|
||||
*/
|
||||
public String getShortcut() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_billing.csskey</code>.
|
||||
*/
|
||||
public void setCsskey(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_billing.csskey</code>.
|
||||
*/
|
||||
public String getCsskey() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TBilling.T_BILLING.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TBilling.T_BILLING.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TBilling.T_BILLING.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TBilling.T_BILLING.SHORTCUT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TBilling.T_BILLING.CSSKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord value3(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord value4(String value) {
|
||||
setShortcut(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord value5(String value) {
|
||||
setCsskey(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBillingRecord values(LocalDateTime value1, Integer value2, String value3, String value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TBillingRecord
|
||||
*/
|
||||
public TBillingRecord() {
|
||||
super(TBilling.T_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TBillingRecord
|
||||
*/
|
||||
public TBillingRecord(LocalDateTime lastchange, Integer pk, String name, String shortcut, String csskey) {
|
||||
super(TBilling.T_BILLING);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setShortcut(shortcut);
|
||||
setCsskey(csskey);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,406 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TDone;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record9;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TDoneRecord extends UpdatableRecordImpl<TDoneRecord> implements Record9<LocalDateTime, Integer, LocalDateTime, LocalDateTime, Integer, Integer, Integer, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.time_from</code>.
|
||||
*/
|
||||
public void setTimeFrom(LocalDateTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.time_from</code>.
|
||||
*/
|
||||
public LocalDateTime getTimeFrom() {
|
||||
return (LocalDateTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.time_until</code>.
|
||||
*/
|
||||
public void setTimeUntil(LocalDateTime value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.time_until</code>.
|
||||
*/
|
||||
public LocalDateTime getTimeUntil() {
|
||||
return (LocalDateTime) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.fk_project</code>.
|
||||
*/
|
||||
public void setFkProject(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.fk_project</code>.
|
||||
*/
|
||||
public Integer getFkProject() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.fk_module</code>.
|
||||
*/
|
||||
public void setFkModule(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.fk_module</code>.
|
||||
*/
|
||||
public Integer getFkModule() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.fk_job</code>.
|
||||
*/
|
||||
public void setFkJob(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.fk_job</code>.
|
||||
*/
|
||||
public Integer getFkJob() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_done.fk_billing</code>.
|
||||
*/
|
||||
public void setFkBilling(Integer value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_done.fk_billing</code>.
|
||||
*/
|
||||
public Integer getFkBilling() {
|
||||
return (Integer) get(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record9 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row9<LocalDateTime, Integer, LocalDateTime, LocalDateTime, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row9<LocalDateTime, Integer, LocalDateTime, LocalDateTime, Integer, Integer, Integer, Integer, Integer> valuesRow() {
|
||||
return (Row9) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TDone.T_DONE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TDone.T_DONE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field3() {
|
||||
return TDone.T_DONE.TIME_FROM;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field4() {
|
||||
return TDone.T_DONE.TIME_UNTIL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field5() {
|
||||
return TDone.T_DONE.FK_PROJECT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return TDone.T_DONE.FK_MODULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return TDone.T_DONE.FK_JOB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return TDone.T_DONE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return TDone.T_DONE.FK_BILLING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component3() {
|
||||
return getTimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component4() {
|
||||
return getTimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component5() {
|
||||
return getFkProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component8() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component9() {
|
||||
return getFkBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value3() {
|
||||
return getTimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value4() {
|
||||
return getTimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value5() {
|
||||
return getFkProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getFkBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value3(LocalDateTime value) {
|
||||
setTimeFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value4(LocalDateTime value) {
|
||||
setTimeUntil(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value5(Integer value) {
|
||||
setFkProject(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value6(Integer value) {
|
||||
setFkModule(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value7(Integer value) {
|
||||
setFkJob(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value8(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord value9(Integer value) {
|
||||
setFkBilling(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDoneRecord values(LocalDateTime value1, Integer value2, LocalDateTime value3, LocalDateTime value4, Integer value5, Integer value6, Integer value7, Integer value8, Integer value9) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TDoneRecord
|
||||
*/
|
||||
public TDoneRecord() {
|
||||
super(TDone.T_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TDoneRecord
|
||||
*/
|
||||
public TDoneRecord(LocalDateTime lastchange, Integer pk, LocalDateTime timeFrom, LocalDateTime timeUntil, Integer fkProject, Integer fkModule, Integer fkJob, Integer fkLogin, Integer fkBilling) {
|
||||
super(TDone.T_DONE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setTimeFrom(timeFrom);
|
||||
setTimeUntil(timeUntil);
|
||||
setFkProject(fkProject);
|
||||
setFkModule(fkModule);
|
||||
setFkJob(fkJob);
|
||||
setFkLogin(fkLogin);
|
||||
setFkBilling(fkBilling);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,332 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TFavorite;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TFavoriteRecord extends UpdatableRecordImpl<TFavoriteRecord> implements Record7<LocalDateTime, Integer, Integer, Integer, Integer, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public void setPkFavorite(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public Integer getPkFavorite() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.fk_project</code>.
|
||||
*/
|
||||
public void setFkProject(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.fk_project</code>.
|
||||
*/
|
||||
public Integer getFkProject() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.fk_module</code>.
|
||||
*/
|
||||
public void setFkModule(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.fk_module</code>.
|
||||
*/
|
||||
public Integer getFkModule() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.fk_job</code>.
|
||||
*/
|
||||
public void setFkJob(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.fk_job</code>.
|
||||
*/
|
||||
public Integer getFkJob() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_favorite.fk_billing</code>.
|
||||
*/
|
||||
public void setFkBilling(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_favorite.fk_billing</code>.
|
||||
*/
|
||||
public Integer getFkBilling() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, Integer, Integer, Integer, Integer, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TFavorite.T_FAVORITE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TFavorite.T_FAVORITE.PK_FAVORITE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TFavorite.T_FAVORITE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TFavorite.T_FAVORITE.FK_PROJECT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field5() {
|
||||
return TFavorite.T_FAVORITE.FK_MODULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return TFavorite.T_FAVORITE.FK_JOB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return TFavorite.T_FAVORITE.FK_BILLING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPkFavorite();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component5() {
|
||||
return getFkModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPkFavorite();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value5() {
|
||||
return getFkModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value2(Integer value) {
|
||||
setPkFavorite(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value4(Integer value) {
|
||||
setFkProject(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value5(Integer value) {
|
||||
setFkModule(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value6(Integer value) {
|
||||
setFkJob(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord value7(Integer value) {
|
||||
setFkBilling(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFavoriteRecord values(LocalDateTime value1, Integer value2, Integer value3, Integer value4, Integer value5, Integer value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TFavoriteRecord
|
||||
*/
|
||||
public TFavoriteRecord() {
|
||||
super(TFavorite.T_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TFavoriteRecord
|
||||
*/
|
||||
public TFavoriteRecord(LocalDateTime lastchange, Integer pkFavorite, Integer fkLogin, Integer fkProject, Integer fkModule, Integer fkJob, Integer fkBilling) {
|
||||
super(TFavorite.T_FAVORITE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPkFavorite(pkFavorite);
|
||||
setFkLogin(fkLogin);
|
||||
setFkProject(fkProject);
|
||||
setFkModule(fkModule);
|
||||
setFkJob(fkJob);
|
||||
setFkBilling(fkBilling);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,259 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TFreetime;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TFreetimeRecord extends UpdatableRecordImpl<TFreetimeRecord> implements Record5<Integer, LocalDate, LocalTime, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public void setPkFreetime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public Integer getPkFreetime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public void setRequiredWorktime(LocalTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public LocalTime getRequiredWorktime() {
|
||||
return (LocalTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public void setReason(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public String getReason() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, LocalTime, String, Integer> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TFreetime.T_FREETIME.PK_FREETIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field2() {
|
||||
return TFreetime.T_FREETIME.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field3() {
|
||||
return TFreetime.T_FREETIME.REQUIRED_WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TFreetime.T_FREETIME.REASON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field5() {
|
||||
return TFreetime.T_FREETIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPkFreetime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component3() {
|
||||
return getRequiredWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getReason();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component5() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPkFreetime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value3() {
|
||||
return getRequiredWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getReason();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value5() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord value1(Integer value) {
|
||||
setPkFreetime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord value2(LocalDate value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord value3(LocalTime value) {
|
||||
setRequiredWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord value4(String value) {
|
||||
setReason(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord value5(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TFreetimeRecord values(Integer value1, LocalDate value2, LocalTime value3, String value4, Integer value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TFreetimeRecord
|
||||
*/
|
||||
public TFreetimeRecord() {
|
||||
super(TFreetime.T_FREETIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TFreetimeRecord
|
||||
*/
|
||||
public TFreetimeRecord(Integer pkFreetime, LocalDate day, LocalTime requiredWorktime, String reason, Integer fkLogin) {
|
||||
super(TFreetime.T_FREETIME);
|
||||
|
||||
setPkFreetime(pkFreetime);
|
||||
setDay(day);
|
||||
setRequiredWorktime(requiredWorktime);
|
||||
setReason(reason);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TJob;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TJobRecord extends UpdatableRecordImpl<TJobRecord> implements Record3<LocalDateTime, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_job.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_job.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_job.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_job.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_job.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_job.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TJob.T_JOB.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TJob.T_JOB.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TJob.T_JOB.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJobRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJobRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJobRecord value3(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJobRecord values(LocalDateTime value1, Integer value2, String value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TJobRecord
|
||||
*/
|
||||
public TJobRecord() {
|
||||
super(TJob.T_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TJobRecord
|
||||
*/
|
||||
public TJobRecord(LocalDateTime lastchange, Integer pk, String name) {
|
||||
super(TJob.T_JOB);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TModule;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TModuleRecord extends UpdatableRecordImpl<TModuleRecord> implements Record3<LocalDateTime, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_module.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_module.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_module.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_module.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_module.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_module.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TModule.T_MODULE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TModule.T_MODULE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TModule.T_MODULE.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModuleRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModuleRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModuleRecord value3(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModuleRecord values(LocalDateTime value1, Integer value2, String value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TModuleRecord
|
||||
*/
|
||||
public TModuleRecord() {
|
||||
super(TModule.T_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TModuleRecord
|
||||
*/
|
||||
public TModuleRecord(LocalDateTime lastchange, Integer pk, String name) {
|
||||
super(TModule.T_MODULE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,221 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TOvertime;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TOvertimeRecord extends UpdatableRecordImpl<TOvertimeRecord> implements Record4<Integer, LocalDateTime, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public void setPkOvertime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public Integer getPkOvertime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public void setImpact(LocalDateTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public LocalDateTime getImpact() {
|
||||
return (LocalDateTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.overtime_minutes</code>.
|
||||
*/
|
||||
public void setOvertimeMinutes(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.overtime_minutes</code>.
|
||||
*/
|
||||
public Integer getOvertimeMinutes() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalDateTime, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalDateTime, Integer, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TOvertime.T_OVERTIME.PK_OVERTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field2() {
|
||||
return TOvertime.T_OVERTIME.IMPACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TOvertime.T_OVERTIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TOvertime.T_OVERTIME.OVERTIME_MINUTES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPkOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getOvertimeMinutes();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPkOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getOvertimeMinutes();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertimeRecord value1(Integer value) {
|
||||
setPkOvertime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertimeRecord value2(LocalDateTime value) {
|
||||
setImpact(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertimeRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertimeRecord value4(Integer value) {
|
||||
setOvertimeMinutes(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TOvertimeRecord values(Integer value1, LocalDateTime value2, Integer value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TOvertimeRecord
|
||||
*/
|
||||
public TOvertimeRecord() {
|
||||
super(TOvertime.T_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TOvertimeRecord
|
||||
*/
|
||||
public TOvertimeRecord(Integer pkOvertime, LocalDateTime impact, Integer fkLogin, Integer overtimeMinutes) {
|
||||
super(TOvertime.T_OVERTIME);
|
||||
|
||||
setPkOvertime(pkOvertime);
|
||||
setImpact(impact);
|
||||
setFkLogin(fkLogin);
|
||||
setOvertimeMinutes(overtimeMinutes);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProjectRecord extends UpdatableRecordImpl<TProjectRecord> implements Record3<LocalDateTime, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_project.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_project.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_project.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_project.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_project.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_project.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TProject.T_PROJECT.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TProject.T_PROJECT.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TProject.T_PROJECT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProjectRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProjectRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProjectRecord value3(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProjectRecord values(LocalDateTime value1, Integer value2, String value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TProjectRecord
|
||||
*/
|
||||
public TProjectRecord() {
|
||||
super(TProject.T_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TProjectRecord
|
||||
*/
|
||||
public TProjectRecord(LocalDateTime lastchange, Integer pk, String name) {
|
||||
super(TProject.T_PROJECT);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,258 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TRequiredWorktimeRecord extends UpdatableRecordImpl<TRequiredWorktimeRecord> implements Record5<Integer, LocalDate, Integer, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public void setPkRequiredWorktime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public Integer getPkRequiredWorktime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.required_minutes</code>.
|
||||
*/
|
||||
public void setRequiredMinutes(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.required_minutes</code>.
|
||||
*/
|
||||
public Integer getRequiredMinutes() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.reason</code>.
|
||||
*/
|
||||
public void setReason(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.reason</code>.
|
||||
*/
|
||||
public String getReason() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, Integer, Integer, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, Integer, Integer, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field2() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.REQUIRED_MINUTES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.REASON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPkRequiredWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getRequiredMinutes();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getReason();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPkRequiredWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getRequiredMinutes();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getReason();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord value1(Integer value) {
|
||||
setPkRequiredWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord value2(LocalDate value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord value4(Integer value) {
|
||||
setRequiredMinutes(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord value5(String value) {
|
||||
setReason(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRequiredWorktimeRecord values(Integer value1, LocalDate value2, Integer value3, Integer value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TRequiredWorktimeRecord
|
||||
*/
|
||||
public TRequiredWorktimeRecord() {
|
||||
super(TRequiredWorktime.T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TRequiredWorktimeRecord
|
||||
*/
|
||||
public TRequiredWorktimeRecord(Integer pkRequiredWorktime, LocalDate day, Integer fkLogin, Integer requiredMinutes, String reason) {
|
||||
super(TRequiredWorktime.T_REQUIRED_WORKTIME);
|
||||
|
||||
setPkRequiredWorktime(pkRequiredWorktime);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
setRequiredMinutes(requiredMinutes);
|
||||
setReason(reason);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,248 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VBilling;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VBillingRecord extends TableRecordImpl<VBillingRecord> implements Record5<Integer, String, String, String, BigDecimal> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_billing.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_billing.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_billing.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_billing.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_billing.shortcut</code>.
|
||||
*/
|
||||
public void setShortcut(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_billing.shortcut</code>.
|
||||
*/
|
||||
public String getShortcut() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_billing.csskey</code>.
|
||||
*/
|
||||
public void setCsskey(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_billing.csskey</code>.
|
||||
*/
|
||||
public String getCsskey() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_billing.percent_usage</code>.
|
||||
*/
|
||||
public void setPercentUsage(BigDecimal value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_billing.percent_usage</code>.
|
||||
*/
|
||||
public BigDecimal getPercentUsage() {
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, BigDecimal> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<Integer, String, String, String, BigDecimal> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VBilling.V_BILLING.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VBilling.V_BILLING.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VBilling.V_BILLING.SHORTCUT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VBilling.V_BILLING.CSSKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<BigDecimal> field5() {
|
||||
return VBilling.V_BILLING.PERCENT_USAGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal component5() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal value5() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord value2(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord value3(String value) {
|
||||
setShortcut(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord value4(String value) {
|
||||
setCsskey(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord value5(BigDecimal value) {
|
||||
setPercentUsage(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBillingRecord values(Integer value1, String value2, String value3, String value4, BigDecimal value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VBillingRecord
|
||||
*/
|
||||
public VBillingRecord() {
|
||||
super(VBilling.V_BILLING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VBillingRecord
|
||||
*/
|
||||
public VBillingRecord(Integer pk, String name, String shortcut, String csskey, BigDecimal percentUsage) {
|
||||
super(VBilling.V_BILLING);
|
||||
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setShortcut(shortcut);
|
||||
setCsskey(csskey);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCurrentOvertimeRecord extends TableRecordImpl<VCurrentOvertimeRecord> implements Record3<BigDecimal, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public void setOvertime(BigDecimal value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public BigDecimal getOvertime() {
|
||||
return (BigDecimal) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public void setImpact(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public String getImpact() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<BigDecimal, String, Integer> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<BigDecimal, String, Integer> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<BigDecimal> field1() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.OVERTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.IMPACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal component1() {
|
||||
return getOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal value1() {
|
||||
return getOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value1(BigDecimal value) {
|
||||
setOvertime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value2(String value) {
|
||||
setImpact(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord values(BigDecimal value1, String value2, Integer value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VCurrentOvertimeRecord
|
||||
*/
|
||||
public VCurrentOvertimeRecord() {
|
||||
super(VCurrentOvertime.V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCurrentOvertimeRecord
|
||||
*/
|
||||
public VCurrentOvertimeRecord(BigDecimal overtime, String impact, Integer fkLogin) {
|
||||
super(VCurrentOvertime.V_CURRENT_OVERTIME);
|
||||
|
||||
setOvertime(overtime);
|
||||
setImpact(impact);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,210 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDailyRecord extends TableRecordImpl<VDailyRecord> implements Record4<YearToSecond, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(YearToSecond value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public YearToSecond getWorktime() {
|
||||
return (YearToSecond) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<YearToSecond, String, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<YearToSecond, String, String, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field1() {
|
||||
return VDaily.V_DAILY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VDaily.V_DAILY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VDaily.V_DAILY.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return VDaily.V_DAILY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component1() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value1() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value1(YearToSecond value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value2(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value3(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value4(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord values(YearToSecond value1, String value2, String value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDailyRecord
|
||||
*/
|
||||
public VDailyRecord() {
|
||||
super(VDaily.V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDailyRecord
|
||||
*/
|
||||
public VDailyRecord(YearToSecond worktime, String day, String login, Integer fkLogin) {
|
||||
super(VDaily.V_DAILY);
|
||||
|
||||
setWorktime(worktime);
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,324 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDay;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDayRecord extends TableRecordImpl<VDayRecord> implements Record7<LocalDate, LocalTime, LocalTime, YearToSecond, YearToSecond, YearToSecond, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.starttime</code>.
|
||||
*/
|
||||
public void setStarttime(LocalTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.starttime</code>.
|
||||
*/
|
||||
public LocalTime getStarttime() {
|
||||
return (LocalTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.endtime</code>.
|
||||
*/
|
||||
public void setEndtime(LocalTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.endtime</code>.
|
||||
*/
|
||||
public LocalTime getEndtime() {
|
||||
return (LocalTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(YearToSecond value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.worktime</code>.
|
||||
*/
|
||||
public YearToSecond getWorktime() {
|
||||
return (YearToSecond) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.breaktime</code>.
|
||||
*/
|
||||
public void setBreaktime(YearToSecond value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.breaktime</code>.
|
||||
*/
|
||||
public YearToSecond getBreaktime() {
|
||||
return (YearToSecond) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.day_overtime</code>.
|
||||
*/
|
||||
public void setDayOvertime(YearToSecond value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.day_overtime</code>.
|
||||
*/
|
||||
public YearToSecond getDayOvertime() {
|
||||
return (YearToSecond) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_day.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_day.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDate, LocalTime, LocalTime, YearToSecond, YearToSecond, YearToSecond, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<LocalDate, LocalTime, LocalTime, YearToSecond, YearToSecond, YearToSecond, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field1() {
|
||||
return VDay.V_DAY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field2() {
|
||||
return VDay.V_DAY.STARTTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field3() {
|
||||
return VDay.V_DAY.ENDTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field4() {
|
||||
return VDay.V_DAY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field5() {
|
||||
return VDay.V_DAY.BREAKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field6() {
|
||||
return VDay.V_DAY.DAY_OVERTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return VDay.V_DAY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component2() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component3() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component4() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component5() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component6() {
|
||||
return getDayOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value2() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value3() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value4() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value5() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value6() {
|
||||
return getDayOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value1(LocalDate value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value2(LocalTime value) {
|
||||
setStarttime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value3(LocalTime value) {
|
||||
setEndtime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value4(YearToSecond value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value5(YearToSecond value) {
|
||||
setBreaktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value6(YearToSecond value) {
|
||||
setDayOvertime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord value7(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDayRecord values(LocalDate value1, LocalTime value2, LocalTime value3, YearToSecond value4, YearToSecond value5, YearToSecond value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDayRecord
|
||||
*/
|
||||
public VDayRecord() {
|
||||
super(VDay.V_DAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDayRecord
|
||||
*/
|
||||
public VDayRecord(LocalDate day, LocalTime starttime, LocalTime endtime, YearToSecond worktime, YearToSecond breaktime, YearToSecond dayOvertime, Integer fkLogin) {
|
||||
super(VDay.V_DAY);
|
||||
|
||||
setDay(day);
|
||||
setStarttime(starttime);
|
||||
setEndtime(endtime);
|
||||
setWorktime(worktime);
|
||||
setBreaktime(breaktime);
|
||||
setDayOvertime(dayOvertime);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,287 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaylimitRecord extends TableRecordImpl<VDaylimitRecord> implements Record6<LocalTime, LocalTime, LocalTime, YearToSecond, LocalDate, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public void setDaytimeFrom(LocalTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public LocalTime getDaytimeFrom() {
|
||||
return (LocalTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public void setDaytimeUntil(LocalTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public LocalTime getDaytimeUntil() {
|
||||
return (LocalTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public void setDayworktime(LocalTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public LocalTime getDayworktime() {
|
||||
return (LocalTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public void setBreaks(YearToSecond value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public YearToSecond getBreaks() {
|
||||
return (YearToSecond) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<LocalTime, LocalTime, LocalTime, YearToSecond, LocalDate, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<LocalTime, LocalTime, LocalTime, YearToSecond, LocalDate, Integer> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field1() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYTIME_FROM;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field2() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYTIME_UNTIL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field3() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYWORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field4() {
|
||||
return VDaylimit.V_DAYLIMIT.BREAKS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field5() {
|
||||
return VDaylimit.V_DAYLIMIT.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return VDaylimit.V_DAYLIMIT.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component1() {
|
||||
return getDaytimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component2() {
|
||||
return getDaytimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component3() {
|
||||
return getDayworktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component4() {
|
||||
return getBreaks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value1() {
|
||||
return getDaytimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value2() {
|
||||
return getDaytimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value3() {
|
||||
return getDayworktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value4() {
|
||||
return getBreaks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value1(LocalTime value) {
|
||||
setDaytimeFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value2(LocalTime value) {
|
||||
setDaytimeUntil(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value3(LocalTime value) {
|
||||
setDayworktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value4(YearToSecond value) {
|
||||
setBreaks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value5(LocalDate value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value6(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord values(LocalTime value1, LocalTime value2, LocalTime value3, YearToSecond value4, LocalDate value5, Integer value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDaylimitRecord
|
||||
*/
|
||||
public VDaylimitRecord() {
|
||||
super(VDaylimit.V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDaylimitRecord
|
||||
*/
|
||||
public VDaylimitRecord(LocalTime daytimeFrom, LocalTime daytimeUntil, LocalTime dayworktime, YearToSecond breaks, LocalDate day, Integer fkLogin) {
|
||||
super(VDaylimit.V_DAYLIMIT);
|
||||
|
||||
setDaytimeFrom(daytimeFrom);
|
||||
setDaytimeUntil(daytimeUntil);
|
||||
setDayworktime(dayworktime);
|
||||
setBreaks(breaks);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,212 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaylimitsRecord extends TableRecordImpl<VDaylimitsRecord> implements Record4<LocalDateTime, OffsetDateTime, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimits.work_start</code>.
|
||||
*/
|
||||
public void setWorkStart(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimits.work_start</code>.
|
||||
*/
|
||||
public LocalDateTime getWorkStart() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimits.work_end</code>.
|
||||
*/
|
||||
public void setWorkEnd(OffsetDateTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimits.work_end</code>.
|
||||
*/
|
||||
public OffsetDateTime getWorkEnd() {
|
||||
return (OffsetDateTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimits.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimits.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimits.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimits.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, OffsetDateTime, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, OffsetDateTime, String, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return VDaylimits.V_DAYLIMITS.WORK_START;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<OffsetDateTime> field2() {
|
||||
return VDaylimits.V_DAYLIMITS.WORK_END;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VDaylimits.V_DAYLIMITS.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return VDaylimits.V_DAYLIMITS.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime component2() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime value2() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitsRecord value1(LocalDateTime value) {
|
||||
setWorkStart(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitsRecord value2(OffsetDateTime value) {
|
||||
setWorkEnd(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitsRecord value3(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitsRecord value4(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitsRecord values(LocalDateTime value1, OffsetDateTime value2, String value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDaylimitsRecord
|
||||
*/
|
||||
public VDaylimitsRecord() {
|
||||
super(VDaylimits.V_DAYLIMITS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDaylimitsRecord
|
||||
*/
|
||||
public VDaylimitsRecord(LocalDateTime workStart, OffsetDateTime workEnd, String day, Integer fkLogin) {
|
||||
super(VDaylimits.V_DAYLIMITS);
|
||||
|
||||
setWorkStart(workStart);
|
||||
setWorkEnd(workEnd);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,324 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaysummaryRecord extends TableRecordImpl<VDaysummaryRecord> implements Record7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public void setBreaktime(YearToSecond value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public YearToSecond getBreaktime() {
|
||||
return (YearToSecond) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(YearToSecond value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public YearToSecond getWorktime() {
|
||||
return (YearToSecond) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public void setWorkStart(LocalDateTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public LocalDateTime getWorkStart() {
|
||||
return (LocalDateTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public void setWorkEnd(OffsetDateTime value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public OffsetDateTime getWorkEnd() {
|
||||
return (OffsetDateTime) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field1() {
|
||||
return VDaysummary.V_DAYSUMMARY.BREAKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field2() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field3() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORK_START;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<OffsetDateTime> field4() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORK_END;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VDaysummary.V_DAYSUMMARY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VDaysummary.V_DAYSUMMARY.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return VDaysummary.V_DAYSUMMARY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component3() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime component4() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value3() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime value4() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value1(YearToSecond value) {
|
||||
setBreaktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value2(YearToSecond value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value3(LocalDateTime value) {
|
||||
setWorkStart(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value4(OffsetDateTime value) {
|
||||
setWorkEnd(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value5(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value6(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value7(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord values(YearToSecond value1, YearToSecond value2, LocalDateTime value3, OffsetDateTime value4, String value5, String value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDaysummaryRecord
|
||||
*/
|
||||
public VDaysummaryRecord() {
|
||||
super(VDaysummary.V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDaysummaryRecord
|
||||
*/
|
||||
public VDaysummaryRecord(YearToSecond breaktime, YearToSecond worktime, LocalDateTime workStart, OffsetDateTime workEnd, String day, String login, Integer fkLogin) {
|
||||
super(VDaysummary.V_DAYSUMMARY);
|
||||
|
||||
setBreaktime(breaktime);
|
||||
setWorktime(worktime);
|
||||
setWorkStart(workStart);
|
||||
setWorkEnd(workEnd);
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,359 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDone;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record8;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDoneRecord extends TableRecordImpl<VDoneRecord> implements Record8<Integer, Integer, LocalDateTime, LocalDateTime, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.fk_done</code>.
|
||||
*/
|
||||
public void setFkDone(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.fk_done</code>.
|
||||
*/
|
||||
public Integer getFkDone() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.time_from</code>.
|
||||
*/
|
||||
public void setTimeFrom(LocalDateTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.time_from</code>.
|
||||
*/
|
||||
public LocalDateTime getTimeFrom() {
|
||||
return (LocalDateTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.time_until</code>.
|
||||
*/
|
||||
public void setTimeUntil(LocalDateTime value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.time_until</code>.
|
||||
*/
|
||||
public LocalDateTime getTimeUntil() {
|
||||
return (LocalDateTime) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_done.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_done.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record8 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row8<Integer, Integer, LocalDateTime, LocalDateTime, String, String, String, String> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row8<Integer, Integer, LocalDateTime, LocalDateTime, String, String, String, String> valuesRow() {
|
||||
return (Row8) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VDone.V_DONE.FK_DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return VDone.V_DONE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field3() {
|
||||
return VDone.V_DONE.TIME_FROM;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field4() {
|
||||
return VDone.V_DONE.TIME_UNTIL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VDone.V_DONE.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VDone.V_DONE.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return VDone.V_DONE.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return VDone.V_DONE.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component3() {
|
||||
return getTimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component4() {
|
||||
return getTimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component7() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component8() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value3() {
|
||||
return getTimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value4() {
|
||||
return getTimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value7() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value8() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value1(Integer value) {
|
||||
setFkDone(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value2(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value3(LocalDateTime value) {
|
||||
setTimeFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value4(LocalDateTime value) {
|
||||
setTimeUntil(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value5(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value6(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value7(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord value8(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDoneRecord values(Integer value1, Integer value2, LocalDateTime value3, LocalDateTime value4, String value5, String value6, String value7, String value8) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDoneRecord
|
||||
*/
|
||||
public VDoneRecord() {
|
||||
super(VDone.V_DONE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDoneRecord
|
||||
*/
|
||||
public VDoneRecord(Integer fkDone, Integer fkLogin, LocalDateTime timeFrom, LocalDateTime timeUntil, String projectName, String moduleName, String jobName, String login) {
|
||||
super(VDone.V_DONE);
|
||||
|
||||
setFkDone(fkDone);
|
||||
setFkLogin(fkLogin);
|
||||
setTimeFrom(timeFrom);
|
||||
setTimeUntil(timeUntil);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,321 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDuration;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDurationRecord extends TableRecordImpl<VDurationRecord> implements Record7<String, YearToSecond, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.duration</code>.
|
||||
*/
|
||||
public void setDuration(YearToSecond value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.duration</code>.
|
||||
*/
|
||||
public YearToSecond getDuration() {
|
||||
return (YearToSecond) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_duration.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_duration.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<String, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<String, YearToSecond, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VDuration.V_DURATION.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field2() {
|
||||
return VDuration.V_DURATION.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VDuration.V_DURATION.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VDuration.V_DURATION.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VDuration.V_DURATION.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VDuration.V_DURATION.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return VDuration.V_DURATION.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value1(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value2(YearToSecond value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value3(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value4(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value5(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value6(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord value7(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDurationRecord values(String value1, YearToSecond value2, String value3, String value4, String value5, String value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDurationRecord
|
||||
*/
|
||||
public VDurationRecord() {
|
||||
super(VDuration.V_DURATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDurationRecord
|
||||
*/
|
||||
public VDurationRecord(String day, YearToSecond duration, String projectName, String moduleName, String jobName, String login, Integer fkLogin) {
|
||||
super(VDuration.V_DURATION);
|
||||
|
||||
setDay(day);
|
||||
setDuration(duration);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,283 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VFavorite;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VFavoriteRecord extends TableRecordImpl<VFavoriteRecord> implements Record6<Integer, Integer, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public void setPkFavorite(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.pk_favorite</code>.
|
||||
*/
|
||||
public Integer getPkFavorite() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.project</code>.
|
||||
*/
|
||||
public void setProject(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.project</code>.
|
||||
*/
|
||||
public String getProject() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.module</code>.
|
||||
*/
|
||||
public void setModule(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.module</code>.
|
||||
*/
|
||||
public String getModule() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.job</code>.
|
||||
*/
|
||||
public void setJob(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.job</code>.
|
||||
*/
|
||||
public String getJob() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_favorite.billing</code>.
|
||||
*/
|
||||
public void setBilling(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_favorite.billing</code>.
|
||||
*/
|
||||
public String getBilling() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<Integer, Integer, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<Integer, Integer, String, String, String, String> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VFavorite.V_FAVORITE.PK_FAVORITE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return VFavorite.V_FAVORITE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VFavorite.V_FAVORITE.PROJECT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VFavorite.V_FAVORITE.MODULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VFavorite.V_FAVORITE.JOB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VFavorite.V_FAVORITE.BILLING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPkFavorite();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPkFavorite();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getProject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getModule();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJob();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getBilling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value1(Integer value) {
|
||||
setPkFavorite(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value2(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value3(String value) {
|
||||
setProject(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value4(String value) {
|
||||
setModule(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value5(String value) {
|
||||
setJob(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord value6(String value) {
|
||||
setBilling(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VFavoriteRecord values(Integer value1, Integer value2, String value3, String value4, String value5, String value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VFavoriteRecord
|
||||
*/
|
||||
public VFavoriteRecord() {
|
||||
super(VFavorite.V_FAVORITE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VFavoriteRecord
|
||||
*/
|
||||
public VFavoriteRecord(Integer pkFavorite, Integer fkLogin, String project, String module, String job, String billing) {
|
||||
super(VFavorite.V_FAVORITE);
|
||||
|
||||
setPkFavorite(pkFavorite);
|
||||
setFkLogin(fkLogin);
|
||||
setProject(project);
|
||||
setModule(module);
|
||||
setJob(job);
|
||||
setBilling(billing);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,285 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VHamstersummaryRecord extends TableRecordImpl<VHamstersummaryRecord> implements Record6<LocalDate, String, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.workday</code>.
|
||||
*/
|
||||
public void setWorkday(LocalDate value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.workday</code>.
|
||||
*/
|
||||
public LocalDate getWorkday() {
|
||||
return (LocalDate) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.duration</code>.
|
||||
*/
|
||||
public void setDuration(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.duration</code>.
|
||||
*/
|
||||
public String getDuration() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamstersummary.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamstersummary.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<LocalDate, String, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<LocalDate, String, String, String, String, String> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field1() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.WORKDAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VHamstersummary.V_HAMSTERSUMMARY.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component1() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value1() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value1(LocalDate value) {
|
||||
setWorkday(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value2(String value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value3(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value4(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value5(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord value6(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummaryRecord values(LocalDate value1, String value2, String value3, String value4, String value5, String value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VHamstersummaryRecord
|
||||
*/
|
||||
public VHamstersummaryRecord() {
|
||||
super(VHamstersummary.V_HAMSTERSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VHamstersummaryRecord
|
||||
*/
|
||||
public VHamstersummaryRecord(LocalDate workday, String duration, String projectName, String moduleName, String jobName, String login) {
|
||||
super(VHamstersummary.V_HAMSTERSUMMARY);
|
||||
|
||||
setWorkday(workday);
|
||||
setDuration(duration);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VJob;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VJobRecord extends TableRecordImpl<VJobRecord> implements Record3<Integer, String, BigDecimal> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_job.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_job.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_job.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_job.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_job.percent_usage</code>.
|
||||
*/
|
||||
public void setPercentUsage(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_job.percent_usage</code>.
|
||||
*/
|
||||
public BigDecimal getPercentUsage() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VJob.V_JOB.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VJob.V_JOB.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<BigDecimal> field3() {
|
||||
return VJob.V_JOB.PERCENT_USAGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal component3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal value3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJobRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJobRecord value2(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJobRecord value3(BigDecimal value) {
|
||||
setPercentUsage(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJobRecord values(Integer value1, String value2, BigDecimal value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VJobRecord
|
||||
*/
|
||||
public VJobRecord() {
|
||||
super(VJob.V_JOB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VJobRecord
|
||||
*/
|
||||
public VJobRecord(Integer pk, String name, BigDecimal percentUsage) {
|
||||
super(VJob.V_JOB);
|
||||
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VModule;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VModuleRecord extends TableRecordImpl<VModuleRecord> implements Record3<Integer, String, BigDecimal> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_module.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_module.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_module.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_module.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_module.percent_usage</code>.
|
||||
*/
|
||||
public void setPercentUsage(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_module.percent_usage</code>.
|
||||
*/
|
||||
public BigDecimal getPercentUsage() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VModule.V_MODULE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VModule.V_MODULE.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<BigDecimal> field3() {
|
||||
return VModule.V_MODULE.PERCENT_USAGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal component3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal value3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModuleRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModuleRecord value2(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModuleRecord value3(BigDecimal value) {
|
||||
setPercentUsage(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModuleRecord values(Integer value1, String value2, BigDecimal value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VModuleRecord
|
||||
*/
|
||||
public VModuleRecord() {
|
||||
super(VModule.V_MODULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VModuleRecord
|
||||
*/
|
||||
public VModuleRecord(Integer pk, String name, BigDecimal percentUsage) {
|
||||
super(VModule.V_MODULE);
|
||||
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VProject;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VProjectRecord extends TableRecordImpl<VProjectRecord> implements Record3<Integer, String, BigDecimal> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_project.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_project.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_project.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_project.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_project.percent_usage</code>.
|
||||
*/
|
||||
public void setPercentUsage(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_project.percent_usage</code>.
|
||||
*/
|
||||
public BigDecimal getPercentUsage() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<Integer, String, BigDecimal> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VProject.V_PROJECT.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VProject.V_PROJECT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<BigDecimal> field3() {
|
||||
return VProject.V_PROJECT.PERCENT_USAGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal component3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal value3() {
|
||||
return getPercentUsage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProjectRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProjectRecord value2(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProjectRecord value3(BigDecimal value) {
|
||||
setPercentUsage(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProjectRecord values(Integer value1, String value2, BigDecimal value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VProjectRecord
|
||||
*/
|
||||
public VProjectRecord() {
|
||||
super(VProject.V_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VProjectRecord
|
||||
*/
|
||||
public VProjectRecord(Integer pk, String name, BigDecimal percentUsage) {
|
||||
super(VProject.V_PROJECT);
|
||||
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,283 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VTasklist;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTasklistRecord extends TableRecordImpl<VTasklistRecord> implements Record6<String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.duration</code>.
|
||||
*/
|
||||
public void setDuration(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.duration</code>.
|
||||
*/
|
||||
public String getDuration() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_tasklist.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_tasklist.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VTasklist.V_TASKLIST.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VTasklist.V_TASKLIST.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VTasklist.V_TASKLIST.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VTasklist.V_TASKLIST.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VTasklist.V_TASKLIST.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return VTasklist.V_TASKLIST.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value1(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value2(String value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value3(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value4(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value5(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord value6(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklistRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VTasklistRecord
|
||||
*/
|
||||
public VTasklistRecord() {
|
||||
super(VTasklist.V_TASKLIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VTasklistRecord
|
||||
*/
|
||||
public VTasklistRecord(String day, String duration, String projectName, String moduleName, String jobName, Integer fkLogin) {
|
||||
super(VTasklist.V_TASKLIST);
|
||||
|
||||
setDay(day);
|
||||
setDuration(duration);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,210 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VTimelength;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTimelengthRecord extends TableRecordImpl<VTimelengthRecord> implements Record4<String, YearToSecond, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_timelength.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_timelength.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_timelength.duration</code>.
|
||||
*/
|
||||
public void setDuration(YearToSecond value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_timelength.duration</code>.
|
||||
*/
|
||||
public YearToSecond getDuration() {
|
||||
return (YearToSecond) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_timelength.fk_done</code>.
|
||||
*/
|
||||
public void setFkDone(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_timelength.fk_done</code>.
|
||||
*/
|
||||
public Integer getFkDone() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_timelength.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_timelength.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<String, YearToSecond, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<String, YearToSecond, Integer, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VTimelength.V_TIMELENGTH.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field2() {
|
||||
return VTimelength.V_TIMELENGTH.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return VTimelength.V_TIMELENGTH.FK_DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return VTimelength.V_TIMELENGTH.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelengthRecord value1(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelengthRecord value2(YearToSecond value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelengthRecord value3(Integer value) {
|
||||
setFkDone(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelengthRecord value4(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelengthRecord values(String value1, YearToSecond value2, Integer value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VTimelengthRecord
|
||||
*/
|
||||
public VTimelengthRecord() {
|
||||
super(VTimelength.V_TIMELENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VTimelengthRecord
|
||||
*/
|
||||
public VTimelengthRecord(String day, YearToSecond duration, Integer fkDone, Integer fkLogin) {
|
||||
super(VTimelength.V_TIMELENGTH);
|
||||
|
||||
setDay(day);
|
||||
setDuration(duration);
|
||||
setFkDone(fkDone);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,283 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VTotalofday;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTotalofdayRecord extends TableRecordImpl<VTotalofdayRecord> implements Record6<String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public void setBreaktime(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public String getBreaktime() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public String getWorktime() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public void setStarttime(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public String getStarttime() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public void setEndtime(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public String getEndtime() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VTotalofday.V_TOTALOFDAY.BREAKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VTotalofday.V_TOTALOFDAY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VTotalofday.V_TOTALOFDAY.STARTTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VTotalofday.V_TOTALOFDAY.ENDTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VTotalofday.V_TOTALOFDAY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return VTotalofday.V_TOTALOFDAY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value1(String value) {
|
||||
setBreaktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value2(String value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value3(String value) {
|
||||
setStarttime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value4(String value) {
|
||||
setEndtime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value5(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value6(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VTotalofdayRecord
|
||||
*/
|
||||
public VTotalofdayRecord() {
|
||||
super(VTotalofday.V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VTotalofdayRecord
|
||||
*/
|
||||
public VTotalofdayRecord(String breaktime, String worktime, String starttime, String endtime, String day, Integer fkLogin) {
|
||||
super(VTotalofday.V_TOTALOFDAY);
|
||||
|
||||
setBreaktime(breaktime);
|
||||
setWorktime(worktime);
|
||||
setStarttime(starttime);
|
||||
setEndtime(endtime);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,394 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VWorktime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record9;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VWorktimeRecord extends TableRecordImpl<VWorktimeRecord> implements Record9<String, String, Double, String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.duration</code>.
|
||||
*/
|
||||
public void setDuration(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.duration</code>.
|
||||
*/
|
||||
public String getDuration() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.duration_hours</code>.
|
||||
*/
|
||||
public void setDurationHours(Double value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.duration_hours</code>.
|
||||
*/
|
||||
public Double getDurationHours() {
|
||||
return (Double) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.billing_shortcut</code>.
|
||||
*/
|
||||
public void setBillingShortcut(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.billing_shortcut</code>.
|
||||
*/
|
||||
public String getBillingShortcut() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.billing_csskey</code>.
|
||||
*/
|
||||
public void setBillingCsskey(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.billing_csskey</code>.
|
||||
*/
|
||||
public String getBillingCsskey() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_worktime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_worktime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record9 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row9<String, String, Double, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row9<String, String, Double, String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row9) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VWorktime.V_WORKTIME.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VWorktime.V_WORKTIME.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Double> field3() {
|
||||
return VWorktime.V_WORKTIME.DURATION_HOURS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VWorktime.V_WORKTIME.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VWorktime.V_WORKTIME.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VWorktime.V_WORKTIME.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return VWorktime.V_WORKTIME.BILLING_SHORTCUT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return VWorktime.V_WORKTIME.BILLING_CSSKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return VWorktime.V_WORKTIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Double component3() {
|
||||
return getDurationHours();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component7() {
|
||||
return getBillingShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component8() {
|
||||
return getBillingCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component9() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Double value3() {
|
||||
return getDurationHours();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value7() {
|
||||
return getBillingShortcut();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value8() {
|
||||
return getBillingCsskey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value9() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value1(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value2(String value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value3(Double value) {
|
||||
setDurationHours(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value4(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value5(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value6(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value7(String value) {
|
||||
setBillingShortcut(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value8(String value) {
|
||||
setBillingCsskey(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord value9(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktimeRecord values(String value1, String value2, Double value3, String value4, String value5, String value6, String value7, String value8, Integer value9) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
value9(value9);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VWorktimeRecord
|
||||
*/
|
||||
public VWorktimeRecord() {
|
||||
super(VWorktime.V_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VWorktimeRecord
|
||||
*/
|
||||
public VWorktimeRecord(String day, String duration, Double durationHours, String projectName, String moduleName, String jobName, String billingShortcut, String billingCsskey, Integer fkLogin) {
|
||||
super(VWorktime.V_WORKTIME);
|
||||
|
||||
setDay(day);
|
||||
setDuration(duration);
|
||||
setDurationHours(durationHours);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setBillingShortcut(billingShortcut);
|
||||
setBillingCsskey(billingCsskey);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.tables.TNote;
|
||||
import de.jottyfan.timetrack.db.note.tables.records.TNoteRecord;
|
||||
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* note.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<TNoteRecord> T_NOTE_PKEY = Internal.createUniqueKey(TNote.T_NOTE, DSL.name("t_note_pkey"), new TableField[] { TNote.T_NOTE.PK }, true);
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.DefaultCatalog;
|
||||
import de.jottyfan.timetrack.db.note.tables.TNote;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Note extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>note</code>
|
||||
*/
|
||||
public static final Note NOTE = new Note();
|
||||
|
||||
/**
|
||||
* The table <code>note.t_note</code>.
|
||||
*/
|
||||
public final TNote T_NOTE = TNote.T_NOTE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Note() {
|
||||
super("note", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
TNote.T_NOTE
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.tables.TNote;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in note.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>note.t_note</code>.
|
||||
*/
|
||||
public static final TNote T_NOTE = TNote.T_NOTE;
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note.enums;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.Note;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.EnumType;
|
||||
import org.jooq.Schema;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public enum EnumCategory implements EnumType {
|
||||
|
||||
PostgreSQL("PostgreSQL"),
|
||||
|
||||
R("R"),
|
||||
|
||||
Bootsfaces("Bootsfaces"),
|
||||
|
||||
MyFaces("MyFaces"),
|
||||
|
||||
Java("Java"),
|
||||
|
||||
Bash("Bash"),
|
||||
|
||||
Apache("Apache"),
|
||||
|
||||
Tomcat("Tomcat");
|
||||
|
||||
private final String literal;
|
||||
|
||||
private EnumCategory(String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return getSchema().getCatalog();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return Note.NOTE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "enum_category";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumCategory lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumCategory.class, literal);
|
||||
}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note.enums;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.Note;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.EnumType;
|
||||
import org.jooq.Schema;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public enum EnumNotetype implements EnumType {
|
||||
|
||||
Administration("Administration"),
|
||||
|
||||
HowTo("HowTo");
|
||||
|
||||
private final String literal;
|
||||
|
||||
private EnumNotetype(String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return getSchema().getCatalog();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return Note.NOTE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "enum_notetype";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumNotetype lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumNotetype.class, literal);
|
||||
}
|
||||
}
|
||||
@@ -1,196 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.Keys;
|
||||
import de.jottyfan.timetrack.db.note.Note;
|
||||
import de.jottyfan.timetrack.db.note.enums.EnumCategory;
|
||||
import de.jottyfan.timetrack.db.note.enums.EnumNotetype;
|
||||
import de.jottyfan.timetrack.db.note.tables.records.TNoteRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TNote extends TableImpl<TNoteRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>note.t_note</code>
|
||||
*/
|
||||
public static final TNote T_NOTE = new TNote();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TNoteRecord> getRecordType() {
|
||||
return TNoteRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.pk</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.title</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, String> TITLE = createField(DSL.name("title"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.category</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, EnumCategory> CATEGORY = createField(DSL.name("category"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.timetrack.db.note.enums.EnumCategory.class), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.notetype</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, EnumNotetype> NOTETYPE = createField(DSL.name("notetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.timetrack.db.note.enums.EnumNotetype.class), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.content</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, String> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>note.t_note.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TNote(Name alias, Table<TNoteRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TNote(Name alias, Table<TNoteRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>note.t_note</code> table reference
|
||||
*/
|
||||
public TNote(String alias) {
|
||||
this(DSL.name(alias), T_NOTE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>note.t_note</code> table reference
|
||||
*/
|
||||
public TNote(Name alias) {
|
||||
this(alias, T_NOTE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>note.t_note</code> table reference
|
||||
*/
|
||||
public TNote() {
|
||||
this(DSL.name("t_note"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TNote(Table<O> child, ForeignKey<O, TNoteRecord> key) {
|
||||
super(child, key, T_NOTE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Note.NOTE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TNoteRecord, Integer> getIdentity() {
|
||||
return (Identity<TNoteRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TNoteRecord> getPrimaryKey() {
|
||||
return Keys.T_NOTE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNote as(String alias) {
|
||||
return new TNote(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNote as(Name alias) {
|
||||
return new TNote(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNote as(Table<?> alias) {
|
||||
return new TNote(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TNote rename(String name) {
|
||||
return new TNote(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TNote rename(Name name) {
|
||||
return new TNote(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TNote rename(Table<?> name) {
|
||||
return new TNote(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<Integer, String, EnumCategory, EnumNotetype, String, LocalDateTime> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super Integer, ? super String, ? super EnumCategory, ? super EnumNotetype, ? super String, ? super LocalDateTime, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super Integer, ? super String, ? super EnumCategory, ? super EnumNotetype, ? super String, ? super LocalDateTime, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,297 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.note.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.note.enums.EnumCategory;
|
||||
import de.jottyfan.timetrack.db.note.enums.EnumNotetype;
|
||||
import de.jottyfan.timetrack.db.note.tables.TNote;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TNoteRecord extends UpdatableRecordImpl<TNoteRecord> implements Record6<Integer, String, EnumCategory, EnumNotetype, String, LocalDateTime> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.title</code>.
|
||||
*/
|
||||
public void setTitle(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.title</code>.
|
||||
*/
|
||||
public String getTitle() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.category</code>.
|
||||
*/
|
||||
public void setCategory(EnumCategory value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.category</code>.
|
||||
*/
|
||||
public EnumCategory getCategory() {
|
||||
return (EnumCategory) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.notetype</code>.
|
||||
*/
|
||||
public void setNotetype(EnumNotetype value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.notetype</code>.
|
||||
*/
|
||||
public EnumNotetype getNotetype() {
|
||||
return (EnumNotetype) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.content</code>.
|
||||
*/
|
||||
public void setContent(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.content</code>.
|
||||
*/
|
||||
public String getContent() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>note.t_note.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>note.t_note.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<Integer, String, EnumCategory, EnumNotetype, String, LocalDateTime> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<Integer, String, EnumCategory, EnumNotetype, String, LocalDateTime> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TNote.T_NOTE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return TNote.T_NOTE.TITLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<EnumCategory> field3() {
|
||||
return TNote.T_NOTE.CATEGORY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<EnumNotetype> field4() {
|
||||
return TNote.T_NOTE.NOTETYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TNote.T_NOTE.CONTENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return TNote.T_NOTE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getTitle();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumCategory component3() {
|
||||
return getCategory();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumNotetype component4() {
|
||||
return getNotetype();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getContent();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component6() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getTitle();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumCategory value3() {
|
||||
return getCategory();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumNotetype value4() {
|
||||
return getNotetype();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getContent();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value6() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value1(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value2(String value) {
|
||||
setTitle(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value3(EnumCategory value) {
|
||||
setCategory(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value4(EnumNotetype value) {
|
||||
setNotetype(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value5(String value) {
|
||||
setContent(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord value6(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNoteRecord values(Integer value1, String value2, EnumCategory value3, EnumNotetype value4, String value5, LocalDateTime value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TNoteRecord
|
||||
*/
|
||||
public TNoteRecord() {
|
||||
super(TNote.T_NOTE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TNoteRecord
|
||||
*/
|
||||
public TNoteRecord(Integer pk, String title, EnumCategory category, EnumNotetype notetype, String content, LocalDateTime lastchange) {
|
||||
super(TNote.T_NOTE);
|
||||
|
||||
setPk(pk);
|
||||
setTitle(title);
|
||||
setCategory(category);
|
||||
setNotetype(notetype);
|
||||
setContent(content);
|
||||
setLastchange(lastchange);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginroleRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TProfileRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TRoleRecord;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* profile.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<TLoginRecord> T_LOGIN_LOGIN_KEY = Internal.createUniqueKey(TLogin.T_LOGIN, DSL.name("t_login_login_key"), new TableField[] { TLogin.T_LOGIN.LOGIN }, true);
|
||||
public static final UniqueKey<TLoginRecord> T_LOGIN_PKEY = Internal.createUniqueKey(TLogin.T_LOGIN, DSL.name("t_login_pkey"), new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final UniqueKey<TLoginroleRecord> T_LOGINROLE_FK_LOGIN_FK_ROLE_KEY = Internal.createUniqueKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_fk_login_fk_role_key"), new TableField[] { TLoginrole.T_LOGINROLE.FK_LOGIN, TLoginrole.T_LOGINROLE.FK_ROLE }, true);
|
||||
public static final UniqueKey<TLoginroleRecord> T_LOGINROLE_PKEY = Internal.createUniqueKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_pkey"), new TableField[] { TLoginrole.T_LOGINROLE.PK }, true);
|
||||
public static final UniqueKey<TProfileRecord> T_PROFILE_PKEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_pkey"), new TableField[] { TProfile.T_PROFILE.PK_PROFILE }, true);
|
||||
public static final UniqueKey<TProfileRecord> T_PROFILE_USERNAME_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_username_key"), new TableField[] { TProfile.T_PROFILE.USERNAME }, true);
|
||||
public static final UniqueKey<TRoleRecord> T_ROLE_NAME_KEY = Internal.createUniqueKey(TRole.T_ROLE, DSL.name("t_role_name_key"), new TableField[] { TRole.T_ROLE.NAME }, true);
|
||||
public static final UniqueKey<TRoleRecord> T_ROLE_PKEY = Internal.createUniqueKey(TRole.T_ROLE, DSL.name("t_role_pkey"), new TableField[] { TRole.T_ROLE.PK }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<TLoginroleRecord, TLoginRecord> T_LOGINROLE__T_LOGINROLE_FK_LOGIN_FKEY = Internal.createForeignKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_fk_login_fkey"), new TableField[] { TLoginrole.T_LOGINROLE.FK_LOGIN }, Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final ForeignKey<TLoginroleRecord, TRoleRecord> T_LOGINROLE__T_LOGINROLE_FK_ROLE_FKEY = Internal.createForeignKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_fk_role_fkey"), new TableField[] { TLoginrole.T_LOGINROLE.FK_ROLE }, Keys.T_ROLE_PKEY, new TableField[] { TRole.T_ROLE.PK }, true);
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.DefaultCatalog;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.VLoginrole;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Profile extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile</code>
|
||||
*/
|
||||
public static final Profile PROFILE = new Profile();
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_login</code>.
|
||||
*/
|
||||
public final TLogin T_LOGIN = TLogin.T_LOGIN;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_loginrole</code>.
|
||||
*/
|
||||
public final TLoginrole T_LOGINROLE = TLoginrole.T_LOGINROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_profile</code>.
|
||||
*/
|
||||
public final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_role</code>.
|
||||
*/
|
||||
public final TRole T_ROLE = TRole.T_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.v_loginrole</code>.
|
||||
*/
|
||||
public final VLoginrole V_LOGINROLE = VLoginrole.V_LOGINROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Profile() {
|
||||
super("profile", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
TLogin.T_LOGIN,
|
||||
TLoginrole.T_LOGINROLE,
|
||||
TProfile.T_PROFILE,
|
||||
TRole.T_ROLE,
|
||||
VLoginrole.V_LOGINROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.VLoginrole;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in profile.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_login</code>.
|
||||
*/
|
||||
public static final TLogin T_LOGIN = TLogin.T_LOGIN;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_loginrole</code>.
|
||||
*/
|
||||
public static final TLoginrole T_LOGINROLE = TLoginrole.T_LOGINROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_profile</code>.
|
||||
*/
|
||||
public static final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_role</code>.
|
||||
*/
|
||||
public static final TRole T_ROLE = TRole.T_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.v_loginrole</code>.
|
||||
*/
|
||||
public static final VLoginrole V_LOGINROLE = VLoginrole.V_LOGINROLE;
|
||||
}
|
||||
@@ -1,206 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Keys;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TLogin extends TableImpl<TLoginRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.t_login</code>
|
||||
*/
|
||||
public static final TLogin T_LOGIN = new TLogin();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TLoginRecord> getRecordType() {
|
||||
return TLoginRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.pk</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.login</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.forename</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.surname</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.duedate</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, LocalDateTime> DUEDATE = createField(DSL.name("duedate"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.password</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
private TLogin(Name alias, Table<TLoginRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TLogin(Name alias, Table<TLoginRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_login</code> table reference
|
||||
*/
|
||||
public TLogin(String alias) {
|
||||
this(DSL.name(alias), T_LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_login</code> table reference
|
||||
*/
|
||||
public TLogin(Name alias) {
|
||||
this(alias, T_LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.t_login</code> table reference
|
||||
*/
|
||||
public TLogin() {
|
||||
this(DSL.name("t_login"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TLogin(Table<O> child, ForeignKey<O, TLoginRecord> key) {
|
||||
super(child, key, T_LOGIN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TLoginRecord, Integer> getIdentity() {
|
||||
return (Identity<TLoginRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TLoginRecord> getPrimaryKey() {
|
||||
return Keys.T_LOGIN_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TLoginRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_LOGIN_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLogin as(String alias) {
|
||||
return new TLogin(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLogin as(Name alias) {
|
||||
return new TLogin(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLogin as(Table<?> alias) {
|
||||
return new TLogin(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLogin rename(String name) {
|
||||
return new TLogin(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLogin rename(Name name) {
|
||||
return new TLogin(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLogin rename(Table<?> name) {
|
||||
return new TLogin(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,219 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Keys;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginroleRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.t_loginrole</code>
|
||||
*/
|
||||
public static final TLoginrole T_LOGINROLE = new TLoginrole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TLoginroleRecord> getRecordType() {
|
||||
return TLoginroleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TLoginroleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.pk</code>.
|
||||
*/
|
||||
public final TableField<TLoginroleRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TLoginroleRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.fk_role</code>.
|
||||
*/
|
||||
public final TableField<TLoginroleRecord, Integer> FK_ROLE = createField(DSL.name("fk_role"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private TLoginrole(Name alias, Table<TLoginroleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TLoginrole(Name alias, Table<TLoginroleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_loginrole</code> table reference
|
||||
*/
|
||||
public TLoginrole(String alias) {
|
||||
this(DSL.name(alias), T_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_loginrole</code> table reference
|
||||
*/
|
||||
public TLoginrole(Name alias) {
|
||||
this(alias, T_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.t_loginrole</code> table reference
|
||||
*/
|
||||
public TLoginrole() {
|
||||
this(DSL.name("t_loginrole"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TLoginrole(Table<O> child, ForeignKey<O, TLoginroleRecord> key) {
|
||||
super(child, key, T_LOGINROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TLoginroleRecord, Integer> getIdentity() {
|
||||
return (Identity<TLoginroleRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TLoginroleRecord> getPrimaryKey() {
|
||||
return Keys.T_LOGINROLE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TLoginroleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_LOGINROLE_FK_LOGIN_FK_ROLE_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TLoginroleRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_LOGINROLE__T_LOGINROLE_FK_LOGIN_FKEY, Keys.T_LOGINROLE__T_LOGINROLE_FK_ROLE_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
private transient TRole _tRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_LOGINROLE__T_LOGINROLE_FK_LOGIN_FKEY);
|
||||
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_role</code> table.
|
||||
*/
|
||||
public TRole tRole() {
|
||||
if (_tRole == null)
|
||||
_tRole = new TRole(this, Keys.T_LOGINROLE__T_LOGINROLE_FK_ROLE_FKEY);
|
||||
|
||||
return _tRole;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginrole as(String alias) {
|
||||
return new TLoginrole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginrole as(Name alias) {
|
||||
return new TLoginrole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginrole as(Table<?> alias) {
|
||||
return new TLoginrole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLoginrole rename(String name) {
|
||||
return new TLoginrole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLoginrole rename(Name name) {
|
||||
return new TLoginrole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLoginrole rename(Table<?> name) {
|
||||
return new TLoginrole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,196 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Keys;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TProfileRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfile extends TableImpl<TProfileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.t_profile</code>
|
||||
*/
|
||||
public static final TProfile T_PROFILE = new TProfile();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TProfileRecord> getRecordType() {
|
||||
return TProfileRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, Integer> PK_PROFILE = createField(DSL.name("pk_profile"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field(DSL.raw("'light'::text"), SQLDataType.CLOB)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> DYNAMIC_CSS = createField(DSL.name("dynamic_css"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile(String alias) {
|
||||
this(DSL.name(alias), T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile(Name alias) {
|
||||
this(alias, T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile() {
|
||||
this(DSL.name("t_profile"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TProfile(Table<O> child, ForeignKey<O, TProfileRecord> key) {
|
||||
super(child, key, T_PROFILE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TProfileRecord, Integer> getIdentity() {
|
||||
return (Identity<TProfileRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TProfileRecord> getPrimaryKey() {
|
||||
return Keys.T_PROFILE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TProfileRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(String alias) {
|
||||
return new TProfile(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(Name alias) {
|
||||
return new TProfile(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(Table<?> alias) {
|
||||
return new TProfile(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(String name) {
|
||||
return new TProfile(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Name name) {
|
||||
return new TProfile(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Table<?> name) {
|
||||
return new TProfile(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,186 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Keys;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TRoleRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
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.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TRole extends TableImpl<TRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.t_role</code>
|
||||
*/
|
||||
public static final TRole T_ROLE = new TRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TRoleRecord> getRecordType() {
|
||||
return TRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_role.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TRoleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_role.pk</code>.
|
||||
*/
|
||||
public final TableField<TRoleRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_role.name</code>.
|
||||
*/
|
||||
public final TableField<TRoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
private TRole(Name alias, Table<TRoleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TRole(Name alias, Table<TRoleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_role</code> table reference
|
||||
*/
|
||||
public TRole(String alias) {
|
||||
this(DSL.name(alias), T_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_role</code> table reference
|
||||
*/
|
||||
public TRole(Name alias) {
|
||||
this(alias, T_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.t_role</code> table reference
|
||||
*/
|
||||
public TRole() {
|
||||
this(DSL.name("t_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TRole(Table<O> child, ForeignKey<O, TRoleRecord> key) {
|
||||
super(child, key, T_ROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TRoleRecord, Integer> getIdentity() {
|
||||
return (Identity<TRoleRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TRoleRecord> getPrimaryKey() {
|
||||
return Keys.T_ROLE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_ROLE_NAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRole as(String alias) {
|
||||
return new TRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRole as(Name alias) {
|
||||
return new TRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRole as(Table<?> alias) {
|
||||
return new TRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRole rename(String name) {
|
||||
return new TRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRole rename(Name name) {
|
||||
return new TRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRole rename(Table<?> name) {
|
||||
return new TRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,176 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.VLoginroleRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VLoginrole extends TableImpl<VLoginroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.v_loginrole</code>
|
||||
*/
|
||||
public static final VLoginrole V_LOGINROLE = new VLoginrole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VLoginroleRecord> getRecordType() {
|
||||
return VLoginroleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.v_loginrole.login</code>.
|
||||
*/
|
||||
public final TableField<VLoginroleRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.v_loginrole.forename</code>.
|
||||
*/
|
||||
public final TableField<VLoginroleRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.v_loginrole.surname</code>.
|
||||
*/
|
||||
public final TableField<VLoginroleRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.v_loginrole.duedate</code>.
|
||||
*/
|
||||
public final TableField<VLoginroleRecord, LocalDateTime> DUEDATE = createField(DSL.name("duedate"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.v_loginrole.role_name</code>.
|
||||
*/
|
||||
public final TableField<VLoginroleRecord, String> ROLE_NAME = createField(DSL.name("role_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private VLoginrole(Name alias, Table<VLoginroleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VLoginrole(Name alias, Table<VLoginroleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.v_loginrole</code> table reference
|
||||
*/
|
||||
public VLoginrole(String alias) {
|
||||
this(DSL.name(alias), V_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.v_loginrole</code> table reference
|
||||
*/
|
||||
public VLoginrole(Name alias) {
|
||||
this(alias, V_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.v_loginrole</code> table reference
|
||||
*/
|
||||
public VLoginrole() {
|
||||
this(DSL.name("v_loginrole"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VLoginrole(Table<O> child, ForeignKey<O, VLoginroleRecord> key) {
|
||||
super(child, key, V_LOGINROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginrole as(String alias) {
|
||||
return new VLoginrole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginrole as(Name alias) {
|
||||
return new VLoginrole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginrole as(Table<?> alias) {
|
||||
return new VLoginrole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLoginrole rename(String name) {
|
||||
return new VLoginrole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLoginrole rename(Name name) {
|
||||
return new VLoginrole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLoginrole rename(Table<?> name) {
|
||||
return new VLoginrole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
@@ -1,332 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TLoginRecord extends UpdatableRecordImpl<TLoginRecord> implements Record7<LocalDateTime, Integer, String, String, String, LocalDateTime, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.forename</code>.
|
||||
*/
|
||||
public void setForename(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.surname</code>.
|
||||
*/
|
||||
public void setSurname(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.duedate</code>.
|
||||
*/
|
||||
public void setDuedate(LocalDateTime value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.duedate</code>.
|
||||
*/
|
||||
public LocalDateTime getDuedate() {
|
||||
return (LocalDateTime) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_login.password</code>.
|
||||
*/
|
||||
public void setPassword(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_login.password</code>.
|
||||
*/
|
||||
public String getPassword() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<LocalDateTime, Integer, String, String, String, LocalDateTime, String> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TLogin.T_LOGIN.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TLogin.T_LOGIN.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TLogin.T_LOGIN.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TLogin.T_LOGIN.FORENAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TLogin.T_LOGIN.SURNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return TLogin.T_LOGIN.DUEDATE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return TLogin.T_LOGIN.PASSWORD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component6() {
|
||||
return getDuedate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component7() {
|
||||
return getPassword();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value6() {
|
||||
return getDuedate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value7() {
|
||||
return getPassword();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value3(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value4(String value) {
|
||||
setForename(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value5(String value) {
|
||||
setSurname(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value6(LocalDateTime value) {
|
||||
setDuedate(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord value7(String value) {
|
||||
setPassword(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginRecord values(LocalDateTime value1, Integer value2, String value3, String value4, String value5, LocalDateTime value6, String value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TLoginRecord
|
||||
*/
|
||||
public TLoginRecord() {
|
||||
super(TLogin.T_LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TLoginRecord
|
||||
*/
|
||||
public TLoginRecord(LocalDateTime lastchange, Integer pk, String login, String forename, String surname, LocalDateTime duedate, String password) {
|
||||
super(TLogin.T_LOGIN);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setLogin(login);
|
||||
setForename(forename);
|
||||
setSurname(surname);
|
||||
setDuedate(duedate);
|
||||
setPassword(password);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,221 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TLoginroleRecord extends UpdatableRecordImpl<TLoginroleRecord> implements Record4<LocalDateTime, Integer, Integer, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_loginrole.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_loginrole.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_loginrole.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_loginrole.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_loginrole.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_loginrole.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_loginrole.fk_role</code>.
|
||||
*/
|
||||
public void setFkRole(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_loginrole.fk_role</code>.
|
||||
*/
|
||||
public Integer getFkRole() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, Integer, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TLoginrole.T_LOGINROLE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TLoginrole.T_LOGINROLE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TLoginrole.T_LOGINROLE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TLoginrole.T_LOGINROLE.FK_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginroleRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginroleRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginroleRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginroleRecord value4(Integer value) {
|
||||
setFkRole(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginroleRecord values(LocalDateTime value1, Integer value2, Integer value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TLoginroleRecord
|
||||
*/
|
||||
public TLoginroleRecord() {
|
||||
super(TLoginrole.T_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TLoginroleRecord
|
||||
*/
|
||||
public TLoginroleRecord(LocalDateTime lastchange, Integer pk, Integer fkLogin, Integer fkRole) {
|
||||
super(TLoginrole.T_LOGINROLE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setFkLogin(fkLogin);
|
||||
setFkRole(fkRole);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,258 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implements Record5<LocalDateTime, Integer, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public void setPkProfile(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public Integer getPkProfile() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public void setUsername(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public void setTheme(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public String getTheme() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public void setDynamicCss(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public String getDynamicCss() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<LocalDateTime, Integer, String, String, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TProfile.T_PROFILE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TProfile.T_PROFILE.PK_PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TProfile.T_PROFILE.USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TProfile.T_PROFILE.THEME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TProfile.T_PROFILE.DYNAMIC_CSS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPkProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDynamicCss();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPkProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDynamicCss();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value2(Integer value) {
|
||||
setPkProfile(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value3(String value) {
|
||||
setUsername(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value4(String value) {
|
||||
setTheme(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value5(String value) {
|
||||
setDynamicCss(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord values(LocalDateTime value1, Integer value2, String value3, String value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TProfileRecord
|
||||
*/
|
||||
public TProfileRecord() {
|
||||
super(TProfile.T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TProfileRecord
|
||||
*/
|
||||
public TProfileRecord(LocalDateTime lastchange, Integer pkProfile, String username, String theme, String dynamicCss) {
|
||||
super(TProfile.T_PROFILE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPkProfile(pkProfile);
|
||||
setUsername(username);
|
||||
setTheme(theme);
|
||||
setDynamicCss(dynamicCss);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record3;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TRoleRecord extends UpdatableRecordImpl<TRoleRecord> implements Record3<LocalDateTime, Integer, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_role.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_role.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_role.pk</code>.
|
||||
*/
|
||||
public void setPk(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_role.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_role.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_role.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<LocalDateTime, Integer, String> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TRole.T_ROLE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TRole.T_ROLE.PK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TRole.T_ROLE.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPk();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRoleRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRoleRecord value2(Integer value) {
|
||||
setPk(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRoleRecord value3(String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRoleRecord values(LocalDateTime value1, Integer value2, String value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TRoleRecord
|
||||
*/
|
||||
public TRoleRecord() {
|
||||
super(TRole.T_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TRoleRecord
|
||||
*/
|
||||
public TRoleRecord(LocalDateTime lastchange, Integer pk, String name) {
|
||||
super(TRole.T_ROLE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -1,248 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.VLoginrole;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VLoginroleRecord extends TableRecordImpl<VLoginroleRecord> implements Record5<String, String, String, LocalDateTime, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.v_loginrole.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.v_loginrole.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.v_loginrole.forename</code>.
|
||||
*/
|
||||
public void setForename(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.v_loginrole.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.v_loginrole.surname</code>.
|
||||
*/
|
||||
public void setSurname(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.v_loginrole.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.v_loginrole.duedate</code>.
|
||||
*/
|
||||
public void setDuedate(LocalDateTime value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.v_loginrole.duedate</code>.
|
||||
*/
|
||||
public LocalDateTime getDuedate() {
|
||||
return (LocalDateTime) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.v_loginrole.role_name</code>.
|
||||
*/
|
||||
public void setRoleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.v_loginrole.role_name</code>.
|
||||
*/
|
||||
public String getRoleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<String, String, String, LocalDateTime, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VLoginrole.V_LOGINROLE.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VLoginrole.V_LOGINROLE.FORENAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VLoginrole.V_LOGINROLE.SURNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field4() {
|
||||
return VLoginrole.V_LOGINROLE.DUEDATE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VLoginrole.V_LOGINROLE.ROLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component4() {
|
||||
return getDuedate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getRoleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getForename();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getSurname();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value4() {
|
||||
return getDuedate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getRoleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord value1(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord value2(String value) {
|
||||
setForename(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord value3(String value) {
|
||||
setSurname(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord value4(LocalDateTime value) {
|
||||
setDuedate(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord value5(String value) {
|
||||
setRoleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginroleRecord values(String value1, String value2, String value3, LocalDateTime value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VLoginroleRecord
|
||||
*/
|
||||
public VLoginroleRecord() {
|
||||
super(VLoginrole.V_LOGINROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VLoginroleRecord
|
||||
*/
|
||||
public VLoginroleRecord(String login, String forename, String surname, LocalDateTime duedate, String roleName) {
|
||||
super(VLoginrole.V_LOGINROLE);
|
||||
|
||||
setLogin(login);
|
||||
setForename(forename);
|
||||
setSurname(surname);
|
||||
setDuedate(duedate);
|
||||
setRoleName(roleName);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,31 @@ create table done.t_favorite (
|
||||
fk_billing integer references done.t_billing(pk)
|
||||
);
|
||||
|
||||
create table done.t_required_worktime (
|
||||
pk_required_worktime int primary key generated always as identity,
|
||||
required_minutes int not null default 480,
|
||||
day date not null,
|
||||
reason text,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
create table done.t_overtime (
|
||||
pk_overtime int primary key generated always as identity,
|
||||
overtime_minutes int not null,
|
||||
impact timestamp without time zone not null,
|
||||
fk_login int not null unique references profile.t_login(pk)
|
||||
);
|
||||
|
||||
create table done.t_freetime (
|
||||
pk_freetime int primary key generated always as identity,
|
||||
day date not null,
|
||||
required_worktime time without time zone not null default '0:0'::time,
|
||||
reason text,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
create view done.v_favorite as
|
||||
select f.pk_favorite, f.fk_login, p.name as project, m.name as module, j.name as job, b.name as billing
|
||||
from done.t_favorite f
|
||||
@@ -233,6 +258,52 @@ left join done.t_job j on j.pk = d.fk_job
|
||||
left join done.t_billing b on b.pk = d.fk_billing
|
||||
group by t.day, p.name, m.name, j.name, b.shortcut, b.csskey, t.fk_login;
|
||||
|
||||
create view done.v_daylimit as
|
||||
with x(dayworktime, day, fk_login) as (
|
||||
select coalesce(time_until - time_from, '0'::interval),
|
||||
time_from,
|
||||
fk_login
|
||||
from done.t_done
|
||||
), y(daytime_from, daytime_until, day, fk_login) as (
|
||||
select min(time_from), max(time_until),
|
||||
time_from,
|
||||
fk_login
|
||||
from done.t_done
|
||||
group by time_from, fk_login
|
||||
) select y.daytime_from::time,
|
||||
y.daytime_until::time,
|
||||
sum(x.dayworktime)::time as dayworktime,
|
||||
y.daytime_until - y.daytime_from - sum(x.dayworktime) as breaks,
|
||||
y.day::date,
|
||||
y.fk_login
|
||||
from x
|
||||
left join y on y.day = x.day and y.fk_login = x.fk_login
|
||||
group by y.daytime_from, y.daytime_until, y.day, y.fk_login
|
||||
order by y.day desc;
|
||||
|
||||
create or replace view done.v_current_overtime as
|
||||
select x.overtime_minutes + sum(extract(minute from l.dayworktime) - r.required_minutes) as overtime,
|
||||
to_char(now(), 'DD.MM.YYYY HH24:MI') as impact,
|
||||
x.fk_login
|
||||
from done.t_overtime x
|
||||
left join done.v_daylimit l on l.fk_login = x.fk_login and l.day >= x.impact
|
||||
left join done.t_required_worktime r on r.fk_login = x.fk_login and r.day = l.day
|
||||
where l.day < now()
|
||||
group by x.overtime_minutes, x.fk_login;
|
||||
|
||||
create or replace view done.v_day as
|
||||
with x(dayworktime, day, fk_login, required, starttime, endtime) as (
|
||||
select sum(d.dayworktime), d.day, d.fk_login, make_interval(mins => r.required_minutes),
|
||||
min(d.daytime_from), max(d.daytime_until)
|
||||
from done.v_daylimit d
|
||||
left join done.t_required_worktime r on r.day = d.day and r.fk_login = d.fk_login
|
||||
group by d.day, d.fk_login, r.required_minutes
|
||||
) select day, starttime, endtime, dayworktime as worktime,
|
||||
endtime - starttime - dayworktime as breaktime,
|
||||
dayworktime - required as day_overtime, fk_login
|
||||
from x
|
||||
order by day desc, fk_login;
|
||||
|
||||
copy done.t_billing (lastchange, pk, name, shortcut, csskey) from stdin;
|
||||
2021-03-05 19:37:07.12832 1 WP2 (eucs) - Opal/Mica/..., REST WP2 WP2
|
||||
2021-03-05 19:37:07.12832 2 WP4 (eucs) - Square² WP4 WP4
|
||||
@@ -321,18 +392,25 @@ grant select,insert,delete,update on table done.t_job to timetrack;
|
||||
grant select,insert,delete,update on table done.t_module to timetrack;
|
||||
grant select,insert,delete,update on table done.t_project to timetrack;
|
||||
grant select,insert,delete,update on table done.t_favorite to timetrack;
|
||||
grant select on table done.v_favorite to timetrack;
|
||||
grant select on table done.v_billing to timetrack;
|
||||
grant select on table done.v_done to timetrack;
|
||||
grant select on table done.v_duration to timetrack;
|
||||
grant select on table done.v_daily to timetrack;
|
||||
grant select on table done.v_daylimits to timetrack;
|
||||
grant select on table done.v_daysummary to timetrack;
|
||||
grant select on table done.v_hamstersummary to timetrack;
|
||||
grant select on table done.v_job to timetrack;
|
||||
grant select on table done.v_module to timetrack;
|
||||
grant select on table done.v_project to timetrack;
|
||||
grant select on table done.v_tasklist to timetrack;
|
||||
grant select on table done.v_timelength to timetrack;
|
||||
grant select on table done.v_totalofday to timetrack;
|
||||
grant select on table done.v_worktime to timetrack;
|
||||
grant select,insert,update,delete on done.t_required_worktime to timetrack;
|
||||
grant select,insert,update on done.t_overtime to timetrack;
|
||||
grant select,insert,update,delete on done.t_freetime to timetrack;
|
||||
|
||||
grant select on done.v_favorite to timetrack;
|
||||
grant select on done.v_billing to timetrack;
|
||||
grant select on done.v_done to timetrack;
|
||||
grant select on done.v_duration to timetrack;
|
||||
grant select on done.v_daily to timetrack;
|
||||
grant select on done.v_daylimits to timetrack;
|
||||
grant select on done.v_daysummary to timetrack;
|
||||
grant select on done.v_hamstersummary to timetrack;
|
||||
grant select on done.v_job to timetrack;
|
||||
grant select on done.v_module to timetrack;
|
||||
grant select on done.v_project to timetrack;
|
||||
grant select on done.v_tasklist to timetrack;
|
||||
grant select on done.v_timelength to timetrack;
|
||||
grant select on done.v_totalofday to timetrack;
|
||||
grant select on done.v_worktime to timetrack;
|
||||
grant select on done.v_daylimit to timetrack;
|
||||
grant select on done.v_current_overtime to timetrack;
|
||||
grant select on done.v_day to timetrack;
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
create table done.t_required_worktime (
|
||||
pk_required_worktime int primary key generated always as identity,
|
||||
required_minutes int not null default 480,
|
||||
day date not null,
|
||||
reason text,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
grant select,insert,update,delete on done.t_required_worktime to timetrack;
|
||||
|
||||
create table done.t_overtime (
|
||||
pk_overtime int primary key generated always as identity,
|
||||
overtime_minutes int not null,
|
||||
impact timestamp without time zone not null,
|
||||
fk_login int not null unique references profile.t_login(pk)
|
||||
);
|
||||
|
||||
grant select,insert,update on done.t_overtime to timetrack;
|
||||
|
||||
create table done.t_freetime (
|
||||
pk_freetime int primary key generated always as identity,
|
||||
day date not null,
|
||||
required_worktime time without time zone not null default '0:0'::time,
|
||||
reason text,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
grant select,insert,update,delete on done.t_freetime to timetrack;
|
||||
|
||||
create view done.v_daylimit as
|
||||
with x(dayworktime, day, fk_login) as (
|
||||
select coalesce(time_until - time_from, '0'::interval),
|
||||
time_from,
|
||||
fk_login
|
||||
from done.t_done
|
||||
), y(daytime_from, daytime_until, day, fk_login) as (
|
||||
select min(time_from), max(time_until),
|
||||
time_from,
|
||||
fk_login
|
||||
from done.t_done
|
||||
group by time_from, fk_login
|
||||
) select y.daytime_from::time,
|
||||
y.daytime_until::time,
|
||||
sum(x.dayworktime)::time as dayworktime,
|
||||
y.daytime_until - y.daytime_from - sum(x.dayworktime) as breaks,
|
||||
y.day::date,
|
||||
y.fk_login
|
||||
from x
|
||||
left join y on y.day = x.day and y.fk_login = x.fk_login
|
||||
group by y.daytime_from, y.daytime_until, y.day, y.fk_login
|
||||
order by y.day desc;
|
||||
|
||||
grant select on done.v_daylimit to timetrack;
|
||||
|
||||
create or replace view done.v_current_overtime as
|
||||
select x.overtime_minutes + sum(extract(minute from l.dayworktime) - r.required_minutes) as overtime,
|
||||
to_char(now(), 'DD.MM.YYYY HH24:MI') as impact,
|
||||
x.fk_login
|
||||
from done.t_overtime x
|
||||
left join done.v_daylimit l on l.fk_login = x.fk_login and l.day >= x.impact
|
||||
left join done.t_required_worktime r on r.fk_login = x.fk_login and r.day = l.day
|
||||
where l.day < now()
|
||||
group by x.overtime_minutes, x.fk_login;
|
||||
|
||||
grant select on done.v_current_overtime to timetrack;
|
||||
|
||||
create or replace view done.v_day as
|
||||
with x(dayworktime, day, fk_login, required, starttime, endtime) as (
|
||||
select sum(d.dayworktime), d.day, d.fk_login, make_interval(mins => r.required_minutes),
|
||||
min(d.daytime_from), max(d.daytime_until)
|
||||
from done.v_daylimit d
|
||||
left join done.t_required_worktime r on r.day = d.day and r.fk_login = d.fk_login
|
||||
group by d.day, d.fk_login, r.required_minutes
|
||||
) select day, starttime, endtime, dayworktime as worktime,
|
||||
endtime - starttime - dayworktime as breaktime,
|
||||
dayworktime - required as day_overtime, fk_login
|
||||
from x
|
||||
order by day desc, fk_login;
|
||||
|
||||
grant select on done.v_day to timetrack;
|
||||
|
||||
create or replace view done.v_version as select 20240105 as version;
|
||||
@@ -14,7 +14,8 @@ create table profile.t_profile (
|
||||
lastchange timestamp without time zone default now(),
|
||||
pk_profile integer not null primary key generated always as identity,
|
||||
username text not null unique,
|
||||
theme text default 'light'::text not null
|
||||
theme text default 'light'::text not null,
|
||||
column dynamic_css text
|
||||
);
|
||||
|
||||
create table profile.t_role (
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
alter table profile.t_profile add column dynamic_css text;
|
||||
|
||||
78
src/main/resources/project.sql
Normal file
78
src/main/resources/project.sql
Normal file
@@ -0,0 +1,78 @@
|
||||
create schema project;
|
||||
|
||||
create type project.enum_phase as enum ('concept', 'development', 'test', 'postponed');
|
||||
|
||||
create table project.t_funder (
|
||||
created timestamp without time zone default now(),
|
||||
pk_funder int not null primary key generated always as identity,
|
||||
name text not null unique,
|
||||
description text
|
||||
);
|
||||
|
||||
create table project.t_project (
|
||||
created timestamp without time zone default now(),
|
||||
pk_project int not null primary key generated always as identity,
|
||||
name text not null,
|
||||
description text,
|
||||
fk_funder int references project.t_funder
|
||||
);
|
||||
|
||||
create table project.t_workpackage (
|
||||
created timestamp without time zone default now(),
|
||||
pk_workpackage int not null primary key generated always as identity,
|
||||
fk_project int references project.t_project(pk_project),
|
||||
name text not null,
|
||||
description text,
|
||||
milestone_url text,
|
||||
contract_url text,
|
||||
planned_duedate date
|
||||
);
|
||||
|
||||
create table project.t_bundle (
|
||||
created timestamp without time zone default now(),
|
||||
pk_bundle int not null primary key generated always as identity,
|
||||
name text not null unique,
|
||||
description text
|
||||
);
|
||||
|
||||
create table project.t_app (
|
||||
created timestamp without time zone default now(),
|
||||
pk_app int not null primary key generated always as identity,
|
||||
fk_bundle int references project.t_bundle(pk_bundle),
|
||||
basic_functionality text,
|
||||
name text,
|
||||
description text,
|
||||
fk_replaced_by_app int references project.t_app(pk_app),
|
||||
repository_url text
|
||||
);
|
||||
|
||||
create table project.t_workpackage_app (
|
||||
created timestamp without time zone default now(),
|
||||
pk_workpackage_app int not null primary key generated always as identity,
|
||||
fk_workpackage int not null references project.t_workpackage(pk_workpackage),
|
||||
fk_app int not null references project.t_app(pk_app),
|
||||
unique(fk_workpackage, fk_app)
|
||||
);
|
||||
|
||||
create table project.t_progress (
|
||||
created timestamp without time zone default now(),
|
||||
pk_progress int not null primary key generated always as identity,
|
||||
progress numeric(2, 0) not null,
|
||||
phase project.enum_phase
|
||||
);
|
||||
|
||||
create view project.v_bundle_apps as
|
||||
select b.name, string_agg(a.name, ',')
|
||||
from project.t_bundle b
|
||||
left join project.t_app a on a.fk_bundle = b.pk_bundle
|
||||
group by b.name;
|
||||
|
||||
grant select,insert,update,delete on project.t_funder to timetrack;
|
||||
grant select,insert,update,delete on project.t_project to timetrack;
|
||||
grant select,insert,update,delete on project.t_workpackage to timetrack;
|
||||
grant select,insert,update,delete on project.t_bundle to timetrack;
|
||||
grant select,insert,update,delete on project.t_app to timetrack;
|
||||
grant select,insert,update,delete on project.t_workpackage_app to timetrack;
|
||||
grant select,insert,update,delete on project.t_progress to timetrack;
|
||||
|
||||
grant select on project.v_bundle_apps to timetrack;
|
||||
6
src/main/resources/public.sql
Normal file
6
src/main/resources/public.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
create or replace view public.v_version as
|
||||
select 20260114 as version;
|
||||
|
||||
grant usage on schema public to timetrack;
|
||||
|
||||
grant select on public.v_version to timetrack;
|
||||
@@ -5,4 +5,6 @@ begin;
|
||||
\i done_ext.sql
|
||||
\i contact.sql
|
||||
\i note.sql
|
||||
\i project.sql
|
||||
\i public.sql
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user