db revision

This commit is contained in:
Jottyfan 2023-12-27 11:25:25 +01:00
parent 13682b24cc
commit 467cd5aa45
111 changed files with 3554 additions and 10374 deletions

Binary file not shown.

Binary file not shown.

View File

@ -7,27 +7,27 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'org.jooq:jooq-codegen:3.16.4' classpath 'org.jooq:jooq-codegen:latest.release'
classpath 'org.postgresql:postgresql:42.3.2' classpath 'org.postgresql:postgresql:latest.release'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release' classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:7.1.1' classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:latest.release'
} }
} }
plugins { plugins {
id 'nu.studer.jooq' version '7.1.1' id 'nu.studer.jooq' version '8.2.1'
} }
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
group = 'de.jottyfan' group = 'de.jottyfan'
version = '2023.03' version = '2023.12'
description = """COJooq""" description = """COJooq"""
sourceCompatibility = 11 sourceCompatibility = 17
targetCompatibility = 11 targetCompatibility = 17
repositories { repositories {
mavenLocal() mavenLocal()
@ -36,18 +36,18 @@ repositories {
} }
dependencies { dependencies {
implementation 'org.jooq:jooq:3.16.4' implementation 'org.jooq:jooq:latest.release'
implementation 'org.jooq:jooq-codegen:3.16.4' implementation 'org.jooq:jooq-codegen:latest.release'
implementation 'org.postgresql:postgresql:42.3.2' implementation 'org.postgresql:postgresql:latest.release'
jooqGenerator 'org.postgresql:postgresql:42.3.2' jooqGenerator 'org.postgresql:postgresql:latest.release'
} }
import org.jooq.meta.jaxb.Logging import org.jooq.meta.jaxb.Logging
jooq { jooq {
version = '3.16.4' version = '3.19.1'
edition = nu.studer.gradle.jooq.JooqEdition.OSS edition = nu.studer.gradle.jooq.JooqEdition.OSS
configurations { configurations {
camporganizer { camporganizer {
@ -56,7 +56,7 @@ jooq {
logging = Logging.WARN logging = Logging.WARN
jdbc { jdbc {
driver = 'org.postgresql.Driver' driver = 'org.postgresql.Driver'
url = 'jdbc:postgresql://localhost:5432/camporganizer' url = 'jdbc:postgresql://localhost:5432/testcamporganizer'
user = 'jooq' user = 'jooq'
password = 'jooq' password = 'jooq'
properties { properties {
@ -76,7 +76,7 @@ jooq {
deprecated = false deprecated = false
relations = true relations = true
records = true records = true
immutablePojos = true immutablePojos = false
fluentSetters = true fluentSetters = true
} }
target { target {

View File

@ -18,8 +18,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales; import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
import de.jottyfan.camporganizer.db.jooq.tables.VBudget; import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
import de.jottyfan.camporganizer.db.jooq.tables.VCamp; import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget; import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
@ -27,8 +25,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument; import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole; import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.VDocument; import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
import de.jottyfan.camporganizer.db.jooq.tables.VProfile; import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration; import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
import de.jottyfan.camporganizer.db.jooq.tables.VRole; import de.jottyfan.camporganizer.db.jooq.tables.VRole;
@ -126,16 +122,6 @@ public class Camp extends SchemaImpl {
*/ */
public final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE; public final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
/**
* The table <code>camp.t_salesprofile</code>.
*/
public final TSalesprofile T_SALESPROFILE = TSalesprofile.T_SALESPROFILE;
/**
* The table <code>camp.v_adult</code>.
*/
public final VAdult V_ADULT = VAdult.V_ADULT;
/** /**
* The table <code>camp.v_budget</code>. * The table <code>camp.v_budget</code>.
*/ */
@ -171,16 +157,6 @@ public class Camp extends SchemaImpl {
*/ */
public final VDocument V_DOCUMENT = VDocument.V_DOCUMENT; public final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
/**
* The table <code>camp.v_dsgvo_delete_candidate</code>.
*/
public final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
/**
* The table <code>camp.v_feeder</code>.
*/
public final VFeeder V_FEEDER = VFeeder.V_FEEDER;
/** /**
* The table <code>camp.v_profile</code>. * The table <code>camp.v_profile</code>.
*/ */
@ -236,8 +212,6 @@ public class Camp extends SchemaImpl {
TSales.T_SALES, TSales.T_SALES,
TSalescontent.T_SALESCONTENT, TSalescontent.T_SALESCONTENT,
TSalescontenttype.T_SALESCONTENTTYPE, TSalescontenttype.T_SALESCONTENTTYPE,
TSalesprofile.T_SALESPROFILE,
VAdult.V_ADULT,
VBudget.V_BUDGET, VBudget.V_BUDGET,
VCamp.V_CAMP, VCamp.V_CAMP,
VCampBudget.V_CAMP_BUDGET, VCampBudget.V_CAMP_BUDGET,
@ -245,8 +219,6 @@ public class Camp extends SchemaImpl {
VCampdocument.V_CAMPDOCUMENT, VCampdocument.V_CAMPDOCUMENT,
VCamprole.V_CAMPROLE, VCamprole.V_CAMPROLE,
VDocument.V_DOCUMENT, VDocument.V_DOCUMENT,
VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE,
VFeeder.V_FEEDER,
VProfile.V_PROFILE, VProfile.V_PROFILE,
VRegistration.V_REGISTRATION, VRegistration.V_REGISTRATION,
VRole.V_ROLE, VRole.V_ROLE,

View File

@ -45,10 +45,10 @@ public class DefaultCatalog extends CatalogImpl {
} }
/** /**
* A reference to the 3.16 minor release of the code generator. If this * A reference to the 3.19 minor release of the code generator. If this
* doesn't compile, it's because the runtime library uses an older minor * doesn't compile, it's because the runtime library uses an older minor
* release, namely: 3.16. You can turn off the generation of this reference * release, namely: 3.19. You can turn off the generation of this reference
* by specifying /configuration/generator/generate/jooqVersionReference * by specifying /configuration/generator/generate/jooqVersionReference
*/ */
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_16; private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
} }

View File

@ -18,7 +18,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales; import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
@ -33,7 +32,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesprofileRecord;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.TableField; import org.jooq.TableField;
@ -75,8 +73,6 @@ public class Keys {
public static final UniqueKey<TSalesRecord> T_SALES_PKEY = Internal.createUniqueKey(TSales.T_SALES, DSL.name("t_sales_pkey"), new TableField[] { TSales.T_SALES.PK }, true); public static final UniqueKey<TSalesRecord> T_SALES_PKEY = Internal.createUniqueKey(TSales.T_SALES, DSL.name("t_sales_pkey"), new TableField[] { TSales.T_SALES.PK }, true);
public static final UniqueKey<TSalescontentRecord> T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY = Internal.createUniqueKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fk_salescontenttype_key"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES, TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, true); public static final UniqueKey<TSalescontentRecord> T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY = Internal.createUniqueKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fk_salescontenttype_key"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES, TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, true);
public static final UniqueKey<TSalescontenttypeRecord> T_SALESCONTENTTYPE_PKEY = Internal.createUniqueKey(TSalescontenttype.T_SALESCONTENTTYPE, DSL.name("t_salescontenttype_pkey"), new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true); public static final UniqueKey<TSalescontenttypeRecord> T_SALESCONTENTTYPE_PKEY = Internal.createUniqueKey(TSalescontenttype.T_SALESCONTENTTYPE, DSL.name("t_salescontenttype_pkey"), new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true);
public static final UniqueKey<TSalesprofileRecord> T_SALESPROFILE_FK_CAMP_FK_PROFILE_KEY = Internal.createUniqueKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_camp_fk_profile_key"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_CAMP, TSalesprofile.T_SALESPROFILE.FK_PROFILE }, true);
public static final UniqueKey<TSalesprofileRecord> T_SALESPROFILE_PKEY = Internal.createUniqueKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_pkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.PK }, true);
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// FOREIGN KEY definitions // FOREIGN KEY definitions
@ -97,6 +93,4 @@ public class Keys {
public static final ForeignKey<TPersondocumentRecord, TPersonRecord> T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY = Internal.createForeignKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_fkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true); public static final ForeignKey<TPersondocumentRecord, TPersonRecord> T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY = Internal.createForeignKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_fkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true);
public static final ForeignKey<TProfileroleRecord, TProfileRecord> T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY = Internal.createForeignKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_fkey"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true); public static final ForeignKey<TProfileroleRecord, TProfileRecord> T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY = Internal.createForeignKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_fkey"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
public static final ForeignKey<TSalesRecord, TCampRecord> T_SALES__T_SALES_FK_CAMP_FKEY = Internal.createForeignKey(TSales.T_SALES, DSL.name("t_sales_fk_camp_fkey"), new TableField[] { TSales.T_SALES.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true); public static final ForeignKey<TSalesRecord, TCampRecord> T_SALES__T_SALES_FK_CAMP_FKEY = Internal.createForeignKey(TSales.T_SALES, DSL.name("t_sales_fk_camp_fkey"), new TableField[] { TSales.T_SALES.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
public static final ForeignKey<TSalesprofileRecord, TCampRecord> T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY = Internal.createForeignKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_camp_fkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
public static final ForeignKey<TSalesprofileRecord, TProfileRecord> T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY = Internal.createForeignKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_profile_fkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
} }

View File

@ -18,8 +18,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales; import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
import de.jottyfan.camporganizer.db.jooq.tables.VBudget; import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
import de.jottyfan.camporganizer.db.jooq.tables.VCamp; import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget; import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
@ -27,8 +25,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument; import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole; import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.VDocument; import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
import de.jottyfan.camporganizer.db.jooq.tables.VProfile; import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration; import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
import de.jottyfan.camporganizer.db.jooq.tables.VRole; import de.jottyfan.camporganizer.db.jooq.tables.VRole;
@ -112,16 +108,6 @@ public class Tables {
*/ */
public static final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE; public static final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
/**
* The table <code>camp.t_salesprofile</code>.
*/
public static final TSalesprofile T_SALESPROFILE = TSalesprofile.T_SALESPROFILE;
/**
* The table <code>camp.v_adult</code>.
*/
public static final VAdult V_ADULT = VAdult.V_ADULT;
/** /**
* The table <code>camp.v_budget</code>. * The table <code>camp.v_budget</code>.
*/ */
@ -157,16 +143,6 @@ public class Tables {
*/ */
public static final VDocument V_DOCUMENT = VDocument.V_DOCUMENT; public static final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
/**
* The table <code>camp.v_dsgvo_delete_candidate</code>.
*/
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
/**
* The table <code>camp.v_feeder</code>.
*/
public static final VFeeder V_FEEDER = VFeeder.V_FEEDER;
/** /**
* The table <code>camp.v_profile</code>. * The table <code>camp.v_profile</code>.
*/ */

View File

@ -54,7 +54,9 @@ public enum EnumCamprole implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumCamprole lookupLiteral(String literal) { public static EnumCamprole lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumCamprole.class, literal); return EnumType.lookupLiteral(EnumCamprole.class, literal);

View File

@ -50,7 +50,9 @@ public enum EnumDocument implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumDocument lookupLiteral(String literal) { public static EnumDocument lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumDocument.class, literal); return EnumType.lookupLiteral(EnumDocument.class, literal);

View File

@ -50,7 +50,9 @@ public enum EnumFiletype implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumFiletype lookupLiteral(String literal) { public static EnumFiletype lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumFiletype.class, literal); return EnumType.lookupLiteral(EnumFiletype.class, literal);

View File

@ -48,7 +48,9 @@ public enum EnumModule implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumModule lookupLiteral(String literal) { public static EnumModule lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumModule.class, literal); return EnumType.lookupLiteral(EnumModule.class, literal);

View File

@ -56,7 +56,9 @@ public enum EnumRole implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumRole lookupLiteral(String literal) { public static EnumRole lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumRole.class, literal); return EnumType.lookupLiteral(EnumRole.class, literal);

View File

@ -48,7 +48,9 @@ public enum EnumSex implements EnumType {
} }
/** /**
* Lookup a value of this EnumType by its literal * Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/ */
public static EnumSex lookupLiteral(String literal) { public static EnumSex lookupLiteral(String literal) {
return EnumType.lookupLiteral(EnumSex.class, literal); return EnumType.lookupLiteral(EnumSex.class, literal);

View File

@ -6,19 +6,34 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument.TCampdocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile.TCampprofilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation.TLocationPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TSales.TSalesPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row12; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -102,7 +117,7 @@ public class TCamp extends TableImpl<TCampRecord> {
/** /**
* The column <code>camp.t_camp.lock_sales</code>. * The column <code>camp.t_camp.lock_sales</code>.
*/ */
public final TableField<TCampRecord, Boolean> LOCK_SALES = createField(DSL.name("lock_sales"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, ""); public final TableField<TCampRecord, Boolean> LOCK_SALES = createField(DSL.name("lock_sales"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/** /**
* The column <code>camp.t_camp.fk_profile</code>. * The column <code>camp.t_camp.fk_profile</code>.
@ -110,11 +125,11 @@ public class TCamp extends TableImpl<TCampRecord> {
public final TableField<TCampRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, ""); public final TableField<TCampRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
private TCamp(Name alias, Table<TCampRecord> aliased) { private TCamp(Name alias, Table<TCampRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TCamp(Name alias, Table<TCampRecord> aliased, Field<?>[] parameters) { private TCamp(Name alias, Table<TCampRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -138,8 +153,35 @@ public class TCamp extends TableImpl<TCampRecord> {
this(DSL.name("t_camp"), null); this(DSL.name("t_camp"), null);
} }
public <O extends Record> TCamp(Table<O> child, ForeignKey<O, TCampRecord> key) { public <O extends Record> TCamp(Table<O> path, ForeignKey<O, TCampRecord> childPath, InverseForeignKey<O, TCampRecord> parentPath) {
super(child, key, T_CAMP); super(path, childPath, parentPath, T_CAMP);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TCampPath extends TCamp implements Path<TCampRecord> {
public <O extends Record> TCampPath(Table<O> path, ForeignKey<O, TCampRecord> childPath, InverseForeignKey<O, TCampRecord> parentPath) {
super(path, childPath, parentPath);
}
private TCampPath(Name alias, Table<TCampRecord> aliased) {
super(alias, aliased);
}
@Override
public TCampPath as(String alias) {
return new TCampPath(DSL.name(alias), this);
}
@Override
public TCampPath as(Name alias) {
return new TCampPath(alias, this);
}
@Override
public TCampPath as(Table<?> alias) {
return new TCampPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -162,40 +204,93 @@ public class TCamp extends TableImpl<TCampRecord> {
return Arrays.asList(Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY); return Arrays.asList(Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY);
} }
private transient TLocation _tLocation; private transient TLocationPath _tLocation;
private transient TDocument _tDocument;
private transient TProfile _tProfile;
/** /**
* Get the implicit join path to the <code>camp.t_location</code> table. * Get the implicit join path to the <code>camp.t_location</code> table.
*/ */
public TLocation tLocation() { public TLocationPath tLocation() {
if (_tLocation == null) if (_tLocation == null)
_tLocation = new TLocation(this, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY); _tLocation = new TLocationPath(this, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, null);
return _tLocation; return _tLocation;
} }
private transient TDocumentPath _tDocument;
/** /**
* Get the implicit join path to the <code>camp.t_document</code> table. * Get the implicit join path to the <code>camp.t_document</code> table.
*/ */
public TDocument tDocument() { public TDocumentPath tDocument() {
if (_tDocument == null) if (_tDocument == null)
_tDocument = new TDocument(this, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY); _tDocument = new TDocumentPath(this, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, null);
return _tDocument; return _tDocument;
} }
private transient TProfilePath _tProfile;
/** /**
* Get the implicit join path to the <code>camp.t_profile</code> table. * Get the implicit join path to the <code>camp.t_profile</code> table.
*/ */
public TProfile tProfile() { public TProfilePath tProfile() {
if (_tProfile == null) if (_tProfile == null)
_tProfile = new TProfile(this, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY); _tProfile = new TProfilePath(this, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY, null);
return _tProfile; return _tProfile;
} }
private transient TCampdocumentPath _tCampdocument;
/**
* Get the implicit to-many join path to the
* <code>camp.t_campdocument</code> table
*/
public TCampdocumentPath tCampdocument() {
if (_tCampdocument == null)
_tCampdocument = new TCampdocumentPath(this, null, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY.getInverseKey());
return _tCampdocument;
}
private transient TCampprofilePath _tCampprofile;
/**
* Get the implicit to-many join path to the <code>camp.t_campprofile</code>
* table
*/
public TCampprofilePath tCampprofile() {
if (_tCampprofile == null)
_tCampprofile = new TCampprofilePath(this, null, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY.getInverseKey());
return _tCampprofile;
}
private transient TPersonPath _tPerson;
/**
* Get the implicit to-many join path to the <code>camp.t_person</code>
* table
*/
public TPersonPath tPerson() {
if (_tPerson == null)
_tPerson = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY.getInverseKey());
return _tPerson;
}
private transient TSalesPath _tSales;
/**
* Get the implicit to-many join path to the <code>camp.t_sales</code> table
*/
public TSalesPath tSales() {
if (_tSales == null)
_tSales = new TSalesPath(this, null, Keys.T_SALES__T_SALES_FK_CAMP_FKEY.getInverseKey());
return _tSales;
}
@Override @Override
public TCamp as(String alias) { public TCamp as(String alias) {
return new TCamp(DSL.name(alias), this); return new TCamp(DSL.name(alias), this);
@ -206,6 +301,11 @@ public class TCamp extends TableImpl<TCampRecord> {
return new TCamp(alias, this); return new TCamp(alias, this);
} }
@Override
public TCamp as(Table<?> alias) {
return new TCamp(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -222,12 +322,95 @@ public class TCamp extends TableImpl<TCampRecord> {
return new TCamp(name, null); return new TCamp(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row12 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row12<Integer, String, LocalDateTime, LocalDateTime, Integer, Integer, Integer, String, String, Integer, Boolean, Integer> fieldsRow() { public TCamp rename(Table<?> name) {
return (Row12) super.fieldsRow(); return new TCamp(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp where(Condition condition) {
return new TCamp(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCamp where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCamp where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCamp where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCamp where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCamp whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -6,18 +6,28 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row3; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -64,11 +74,11 @@ public class TCampdocument extends TableImpl<TCampdocumentRecord> {
public final TableField<TCampdocumentRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER.nullable(false), this, ""); public final TableField<TCampdocumentRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER.nullable(false), this, "");
private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased) { private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased, Field<?>[] parameters) { private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -92,8 +102,35 @@ public class TCampdocument extends TableImpl<TCampdocumentRecord> {
this(DSL.name("t_campdocument"), null); this(DSL.name("t_campdocument"), null);
} }
public <O extends Record> TCampdocument(Table<O> child, ForeignKey<O, TCampdocumentRecord> key) { public <O extends Record> TCampdocument(Table<O> path, ForeignKey<O, TCampdocumentRecord> childPath, InverseForeignKey<O, TCampdocumentRecord> parentPath) {
super(child, key, T_CAMPDOCUMENT); super(path, childPath, parentPath, T_CAMPDOCUMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TCampdocumentPath extends TCampdocument implements Path<TCampdocumentRecord> {
public <O extends Record> TCampdocumentPath(Table<O> path, ForeignKey<O, TCampdocumentRecord> childPath, InverseForeignKey<O, TCampdocumentRecord> parentPath) {
super(path, childPath, parentPath);
}
private TCampdocumentPath(Name alias, Table<TCampdocumentRecord> aliased) {
super(alias, aliased);
}
@Override
public TCampdocumentPath as(String alias) {
return new TCampdocumentPath(DSL.name(alias), this);
}
@Override
public TCampdocumentPath as(Name alias) {
return new TCampdocumentPath(alias, this);
}
@Override
public TCampdocumentPath as(Table<?> alias) {
return new TCampdocumentPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -121,25 +158,26 @@ public class TCampdocument extends TableImpl<TCampdocumentRecord> {
return Arrays.asList(Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY); return Arrays.asList(Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY);
} }
private transient TCamp _tCamp; private transient TCampPath _tCamp;
private transient TDocument _tDocument;
/** /**
* Get the implicit join path to the <code>camp.t_camp</code> table. * Get the implicit join path to the <code>camp.t_camp</code> table.
*/ */
public TCamp tCamp() { public TCampPath tCamp() {
if (_tCamp == null) if (_tCamp == null)
_tCamp = new TCamp(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY); _tCamp = new TCampPath(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, null);
return _tCamp; return _tCamp;
} }
private transient TDocumentPath _tDocument;
/** /**
* Get the implicit join path to the <code>camp.t_document</code> table. * Get the implicit join path to the <code>camp.t_document</code> table.
*/ */
public TDocument tDocument() { public TDocumentPath tDocument() {
if (_tDocument == null) if (_tDocument == null)
_tDocument = new TDocument(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY); _tDocument = new TDocumentPath(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY, null);
return _tDocument; return _tDocument;
} }
@ -154,6 +192,11 @@ public class TCampdocument extends TableImpl<TCampdocumentRecord> {
return new TCampdocument(alias, this); return new TCampdocument(alias, this);
} }
@Override
public TCampdocument as(Table<?> alias) {
return new TCampdocument(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -170,12 +213,95 @@ public class TCampdocument extends TableImpl<TCampdocumentRecord> {
return new TCampdocument(name, null); return new TCampdocument(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row3 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row3<Integer, Integer, Integer> fieldsRow() { public TCampdocument rename(Table<?> name) {
return (Row3) super.fieldsRow(); return new TCampdocument(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument where(Condition condition) {
return new TCampdocument(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampdocument where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampdocument where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampdocument where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampdocument where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampdocument whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -7,18 +7,28 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule; import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row4; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -67,14 +77,14 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
/** /**
* The column <code>camp.t_campprofile.module</code>. * The column <code>camp.t_campprofile.module</code>.
*/ */
public final TableField<TCampprofileRecord, EnumModule> MODULE = createField(DSL.name("module"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumModule.class), this, ""); public final TableField<TCampprofileRecord, EnumModule> MODULE = createField(DSL.name("module"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(EnumModule.class), this, "");
private TCampprofile(Name alias, Table<TCampprofileRecord> aliased) { private TCampprofile(Name alias, Table<TCampprofileRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TCampprofile(Name alias, Table<TCampprofileRecord> aliased, Field<?>[] parameters) { private TCampprofile(Name alias, Table<TCampprofileRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -98,8 +108,35 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
this(DSL.name("t_campprofile"), null); this(DSL.name("t_campprofile"), null);
} }
public <O extends Record> TCampprofile(Table<O> child, ForeignKey<O, TCampprofileRecord> key) { public <O extends Record> TCampprofile(Table<O> path, ForeignKey<O, TCampprofileRecord> childPath, InverseForeignKey<O, TCampprofileRecord> parentPath) {
super(child, key, T_CAMPPROFILE); super(path, childPath, parentPath, T_CAMPPROFILE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TCampprofilePath extends TCampprofile implements Path<TCampprofileRecord> {
public <O extends Record> TCampprofilePath(Table<O> path, ForeignKey<O, TCampprofileRecord> childPath, InverseForeignKey<O, TCampprofileRecord> parentPath) {
super(path, childPath, parentPath);
}
private TCampprofilePath(Name alias, Table<TCampprofileRecord> aliased) {
super(alias, aliased);
}
@Override
public TCampprofilePath as(String alias) {
return new TCampprofilePath(DSL.name(alias), this);
}
@Override
public TCampprofilePath as(Name alias) {
return new TCampprofilePath(alias, this);
}
@Override
public TCampprofilePath as(Table<?> alias) {
return new TCampprofilePath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -127,25 +164,26 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY); return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY);
} }
private transient TProfile _tProfile; private transient TProfilePath _tProfile;
private transient TCamp _tCamp;
/** /**
* Get the implicit join path to the <code>camp.t_profile</code> table. * Get the implicit join path to the <code>camp.t_profile</code> table.
*/ */
public TProfile tProfile() { public TProfilePath tProfile() {
if (_tProfile == null) if (_tProfile == null)
_tProfile = new TProfile(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY); _tProfile = new TProfilePath(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, null);
return _tProfile; return _tProfile;
} }
private transient TCampPath _tCamp;
/** /**
* Get the implicit join path to the <code>camp.t_camp</code> table. * Get the implicit join path to the <code>camp.t_camp</code> table.
*/ */
public TCamp tCamp() { public TCampPath tCamp() {
if (_tCamp == null) if (_tCamp == null)
_tCamp = new TCamp(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY); _tCamp = new TCampPath(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY, null);
return _tCamp; return _tCamp;
} }
@ -160,6 +198,11 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
return new TCampprofile(alias, this); return new TCampprofile(alias, this);
} }
@Override
public TCampprofile as(Table<?> alias) {
return new TCampprofile(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -176,12 +219,95 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
return new TCampprofile(name, null); return new TCampprofile(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row4 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row4<Integer, Integer, Integer, EnumModule> fieldsRow() { public TCampprofile rename(Table<?> name) {
return (Row4) super.fieldsRow(); return new TCampprofile(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile where(Condition condition) {
return new TCampprofile(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampprofile where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampprofile where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampprofile where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TCampprofile where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TCampprofile whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,18 +8,30 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument; import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype; import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument.TCampdocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole.TDocumentrolePath;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation.TLocationPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row5; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -58,7 +70,7 @@ public class TDocument extends TableImpl<TDocumentRecord> {
/** /**
* The column <code>camp.t_document.doctype</code>. * The column <code>camp.t_document.doctype</code>.
*/ */
public final TableField<TDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, ""); public final TableField<TDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(EnumDocument.class), this, "");
/** /**
* The column <code>camp.t_document.name</code>. * The column <code>camp.t_document.name</code>.
@ -73,14 +85,14 @@ public class TDocument extends TableImpl<TDocumentRecord> {
/** /**
* The column <code>camp.t_document.filetype</code>. * The column <code>camp.t_document.filetype</code>.
*/ */
public final TableField<TDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, ""); public final TableField<TDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(EnumFiletype.class), this, "");
private TDocument(Name alias, Table<TDocumentRecord> aliased) { private TDocument(Name alias, Table<TDocumentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TDocument(Name alias, Table<TDocumentRecord> aliased, Field<?>[] parameters) { private TDocument(Name alias, Table<TDocumentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -104,8 +116,35 @@ public class TDocument extends TableImpl<TDocumentRecord> {
this(DSL.name("t_document"), null); this(DSL.name("t_document"), null);
} }
public <O extends Record> TDocument(Table<O> child, ForeignKey<O, TDocumentRecord> key) { public <O extends Record> TDocument(Table<O> path, ForeignKey<O, TDocumentRecord> childPath, InverseForeignKey<O, TDocumentRecord> parentPath) {
super(child, key, T_DOCUMENT); super(path, childPath, parentPath, T_DOCUMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TDocumentPath extends TDocument implements Path<TDocumentRecord> {
public <O extends Record> TDocumentPath(Table<O> path, ForeignKey<O, TDocumentRecord> childPath, InverseForeignKey<O, TDocumentRecord> parentPath) {
super(path, childPath, parentPath);
}
private TDocumentPath(Name alias, Table<TDocumentRecord> aliased) {
super(alias, aliased);
}
@Override
public TDocumentPath as(String alias) {
return new TDocumentPath(DSL.name(alias), this);
}
@Override
public TDocumentPath as(Name alias) {
return new TDocumentPath(alias, this);
}
@Override
public TDocumentPath as(Table<?> alias) {
return new TDocumentPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -128,6 +167,57 @@ public class TDocument extends TableImpl<TDocumentRecord> {
return Arrays.asList(Keys.T_DOCUMENT_NAME_KEY); return Arrays.asList(Keys.T_DOCUMENT_NAME_KEY);
} }
private transient TCampPath _tCamp;
/**
* Get the implicit to-many join path to the <code>camp.t_camp</code> table
*/
public TCampPath tCamp() {
if (_tCamp == null)
_tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY.getInverseKey());
return _tCamp;
}
private transient TCampdocumentPath _tCampdocument;
/**
* Get the implicit to-many join path to the
* <code>camp.t_campdocument</code> table
*/
public TCampdocumentPath tCampdocument() {
if (_tCampdocument == null)
_tCampdocument = new TCampdocumentPath(this, null, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY.getInverseKey());
return _tCampdocument;
}
private transient TDocumentrolePath _tDocumentrole;
/**
* Get the implicit to-many join path to the
* <code>camp.t_documentrole</code> table
*/
public TDocumentrolePath tDocumentrole() {
if (_tDocumentrole == null)
_tDocumentrole = new TDocumentrolePath(this, null, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY.getInverseKey());
return _tDocumentrole;
}
private transient TLocationPath _tLocation;
/**
* Get the implicit to-many join path to the <code>camp.t_location</code>
* table
*/
public TLocationPath tLocation() {
if (_tLocation == null)
_tLocation = new TLocationPath(this, null, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY.getInverseKey());
return _tLocation;
}
@Override @Override
public TDocument as(String alias) { public TDocument as(String alias) {
return new TDocument(DSL.name(alias), this); return new TDocument(DSL.name(alias), this);
@ -138,6 +228,11 @@ public class TDocument extends TableImpl<TDocumentRecord> {
return new TDocument(alias, this); return new TDocument(alias, this);
} }
@Override
public TDocument as(Table<?> alias) {
return new TDocument(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -154,12 +249,95 @@ public class TDocument extends TableImpl<TDocumentRecord> {
return new TDocument(name, null); return new TDocument(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row5 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row5<Integer, EnumDocument, String, String, EnumFiletype> fieldsRow() { public TDocument rename(Table<?> name) {
return (Row5) super.fieldsRow(); return new TDocument(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument where(Condition condition) {
return new TDocument(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocument where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocument where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocument where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocument where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocument whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -7,18 +7,27 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole; import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row3; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -62,14 +71,14 @@ public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
/** /**
* The column <code>camp.t_documentrole.camprole</code>. * The column <code>camp.t_documentrole.camprole</code>.
*/ */
public final TableField<TDocumentroleRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, ""); public final TableField<TDocumentroleRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(EnumCamprole.class), this, "");
private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased) { private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased, Field<?>[] parameters) { private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -93,8 +102,35 @@ public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
this(DSL.name("t_documentrole"), null); this(DSL.name("t_documentrole"), null);
} }
public <O extends Record> TDocumentrole(Table<O> child, ForeignKey<O, TDocumentroleRecord> key) { public <O extends Record> TDocumentrole(Table<O> path, ForeignKey<O, TDocumentroleRecord> childPath, InverseForeignKey<O, TDocumentroleRecord> parentPath) {
super(child, key, T_DOCUMENTROLE); super(path, childPath, parentPath, T_DOCUMENTROLE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TDocumentrolePath extends TDocumentrole implements Path<TDocumentroleRecord> {
public <O extends Record> TDocumentrolePath(Table<O> path, ForeignKey<O, TDocumentroleRecord> childPath, InverseForeignKey<O, TDocumentroleRecord> parentPath) {
super(path, childPath, parentPath);
}
private TDocumentrolePath(Name alias, Table<TDocumentroleRecord> aliased) {
super(alias, aliased);
}
@Override
public TDocumentrolePath as(String alias) {
return new TDocumentrolePath(DSL.name(alias), this);
}
@Override
public TDocumentrolePath as(Name alias) {
return new TDocumentrolePath(alias, this);
}
@Override
public TDocumentrolePath as(Table<?> alias) {
return new TDocumentrolePath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -122,14 +158,14 @@ public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
return Arrays.asList(Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY); return Arrays.asList(Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY);
} }
private transient TDocument _tDocument; private transient TDocumentPath _tDocument;
/** /**
* Get the implicit join path to the <code>camp.t_document</code> table. * Get the implicit join path to the <code>camp.t_document</code> table.
*/ */
public TDocument tDocument() { public TDocumentPath tDocument() {
if (_tDocument == null) if (_tDocument == null)
_tDocument = new TDocument(this, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY); _tDocument = new TDocumentPath(this, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY, null);
return _tDocument; return _tDocument;
} }
@ -144,6 +180,11 @@ public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
return new TDocumentrole(alias, this); return new TDocumentrole(alias, this);
} }
@Override
public TDocumentrole as(Table<?> alias) {
return new TDocumentrole(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -160,12 +201,95 @@ public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
return new TDocumentrole(name, null); return new TDocumentrole(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row3 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row3<Integer, Integer, EnumCamprole> fieldsRow() { public TDocumentrole rename(Table<?> name) {
return (Row3) super.fieldsRow(); return new TDocumentrole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole where(Condition condition) {
return new TDocumentrole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocumentrole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocumentrole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocumentrole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TDocumentrole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TDocumentrole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -6,18 +6,28 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row4; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -69,11 +79,11 @@ public class TLocation extends TableImpl<TLocationRecord> {
public final TableField<TLocationRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, ""); public final TableField<TLocationRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
private TLocation(Name alias, Table<TLocationRecord> aliased) { private TLocation(Name alias, Table<TLocationRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TLocation(Name alias, Table<TLocationRecord> aliased, Field<?>[] parameters) { private TLocation(Name alias, Table<TLocationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -97,8 +107,35 @@ public class TLocation extends TableImpl<TLocationRecord> {
this(DSL.name("t_location"), null); this(DSL.name("t_location"), null);
} }
public <O extends Record> TLocation(Table<O> child, ForeignKey<O, TLocationRecord> key) { public <O extends Record> TLocation(Table<O> path, ForeignKey<O, TLocationRecord> childPath, InverseForeignKey<O, TLocationRecord> parentPath) {
super(child, key, T_LOCATION); super(path, childPath, parentPath, T_LOCATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TLocationPath extends TLocation implements Path<TLocationRecord> {
public <O extends Record> TLocationPath(Table<O> path, ForeignKey<O, TLocationRecord> childPath, InverseForeignKey<O, TLocationRecord> parentPath) {
super(path, childPath, parentPath);
}
private TLocationPath(Name alias, Table<TLocationRecord> aliased) {
super(alias, aliased);
}
@Override
public TLocationPath as(String alias) {
return new TLocationPath(DSL.name(alias), this);
}
@Override
public TLocationPath as(Name alias) {
return new TLocationPath(alias, this);
}
@Override
public TLocationPath as(Table<?> alias) {
return new TLocationPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -121,18 +158,30 @@ public class TLocation extends TableImpl<TLocationRecord> {
return Arrays.asList(Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY); return Arrays.asList(Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY);
} }
private transient TDocument _tDocument; private transient TDocumentPath _tDocument;
/** /**
* Get the implicit join path to the <code>camp.t_document</code> table. * Get the implicit join path to the <code>camp.t_document</code> table.
*/ */
public TDocument tDocument() { public TDocumentPath tDocument() {
if (_tDocument == null) if (_tDocument == null)
_tDocument = new TDocument(this, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY); _tDocument = new TDocumentPath(this, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY, null);
return _tDocument; return _tDocument;
} }
private transient TCampPath _tCamp;
/**
* Get the implicit to-many join path to the <code>camp.t_camp</code> table
*/
public TCampPath tCamp() {
if (_tCamp == null)
_tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY.getInverseKey());
return _tCamp;
}
@Override @Override
public TLocation as(String alias) { public TLocation as(String alias) {
return new TLocation(DSL.name(alias), this); return new TLocation(DSL.name(alias), this);
@ -143,6 +192,11 @@ public class TLocation extends TableImpl<TLocationRecord> {
return new TLocation(alias, this); return new TLocation(alias, this);
} }
@Override
public TLocation as(Table<?> alias) {
return new TLocation(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -159,12 +213,95 @@ public class TLocation extends TableImpl<TLocationRecord> {
return new TLocation(name, null); return new TLocation(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row4 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row4<Integer, String, String, Integer> fieldsRow() { public TLocation rename(Table<?> name) {
return (Row4) super.fieldsRow(); return new TLocation(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation where(Condition condition) {
return new TLocation(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLocation where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLocation where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLocation where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLocation where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLocation whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,21 +8,32 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole; import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex; import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument.TPersondocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row20; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -96,7 +107,7 @@ public class TPerson extends TableImpl<TPersonRecord> {
/** /**
* The column <code>camp.t_person.camprole</code>. * The column <code>camp.t_person.camprole</code>.
*/ */
public final TableField<TPersonRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, ""); public final TableField<TPersonRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(EnumCamprole.class), this, "");
/** /**
* The column <code>camp.t_person.email</code>. * The column <code>camp.t_person.email</code>.
@ -121,12 +132,12 @@ public class TPerson extends TableImpl<TPersonRecord> {
/** /**
* The column <code>camp.t_person.created</code>. * The column <code>camp.t_person.created</code>.
*/ */
public final TableField<TPersonRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, ""); public final TableField<TPersonRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
/** /**
* The column <code>camp.t_person.sex</code>. * The column <code>camp.t_person.sex</code>.
*/ */
public final TableField<TPersonRecord, EnumSex> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumSex.class), this, ""); public final TableField<TPersonRecord, EnumSex> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR.asEnumDataType(EnumSex.class), this, "");
/** /**
* The column <code>camp.t_person.fk_registrator</code>. * The column <code>camp.t_person.fk_registrator</code>.
@ -146,7 +157,7 @@ public class TPerson extends TableImpl<TPersonRecord> {
/** /**
* The column <code>camp.t_person.consent_catalog_photo</code>. * The column <code>camp.t_person.consent_catalog_photo</code>.
*/ */
public final TableField<TPersonRecord, Boolean> CONSENT_CATALOG_PHOTO = createField(DSL.name("consent_catalog_photo"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, ""); public final TableField<TPersonRecord, Boolean> CONSENT_CATALOG_PHOTO = createField(DSL.name("consent_catalog_photo"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/** /**
* The column <code>camp.t_person.required_price</code>. * The column <code>camp.t_person.required_price</code>.
@ -154,11 +165,11 @@ public class TPerson extends TableImpl<TPersonRecord> {
public final TableField<TPersonRecord, BigDecimal> REQUIRED_PRICE = createField(DSL.name("required_price"), SQLDataType.NUMERIC(7, 2), this, ""); public final TableField<TPersonRecord, BigDecimal> REQUIRED_PRICE = createField(DSL.name("required_price"), SQLDataType.NUMERIC(7, 2), this, "");
private TPerson(Name alias, Table<TPersonRecord> aliased) { private TPerson(Name alias, Table<TPersonRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TPerson(Name alias, Table<TPersonRecord> aliased, Field<?>[] parameters) { private TPerson(Name alias, Table<TPersonRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -182,8 +193,35 @@ public class TPerson extends TableImpl<TPersonRecord> {
this(DSL.name("t_person"), null); this(DSL.name("t_person"), null);
} }
public <O extends Record> TPerson(Table<O> child, ForeignKey<O, TPersonRecord> key) { public <O extends Record> TPerson(Table<O> path, ForeignKey<O, TPersonRecord> childPath, InverseForeignKey<O, TPersonRecord> parentPath) {
super(child, key, T_PERSON); super(path, childPath, parentPath, T_PERSON);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TPersonPath extends TPerson implements Path<TPersonRecord> {
public <O extends Record> TPersonPath(Table<O> path, ForeignKey<O, TPersonRecord> childPath, InverseForeignKey<O, TPersonRecord> parentPath) {
super(path, childPath, parentPath);
}
private TPersonPath(Name alias, Table<TPersonRecord> aliased) {
super(alias, aliased);
}
@Override
public TPersonPath as(String alias) {
return new TPersonPath(DSL.name(alias), this);
}
@Override
public TPersonPath as(Name alias) {
return new TPersonPath(alias, this);
}
@Override
public TPersonPath as(Table<?> alias) {
return new TPersonPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -211,42 +249,57 @@ public class TPerson extends TableImpl<TPersonRecord> {
return Arrays.asList(Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY); return Arrays.asList(Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY);
} }
private transient TCamp _tCamp; private transient TCampPath _tCamp;
private transient TProfile _tPersonFkProfileFkey;
private transient TProfile _tPersonFkRegistratorFkey;
/** /**
* Get the implicit join path to the <code>camp.t_camp</code> table. * Get the implicit join path to the <code>camp.t_camp</code> table.
*/ */
public TCamp tCamp() { public TCampPath tCamp() {
if (_tCamp == null) if (_tCamp == null)
_tCamp = new TCamp(this, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY); _tCamp = new TCampPath(this, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, null);
return _tCamp; return _tCamp;
} }
private transient TProfilePath _tPersonFkProfileFkey;
/** /**
* Get the implicit join path to the <code>camp.t_profile</code> table, via * Get the implicit join path to the <code>camp.t_profile</code> table, via
* the <code>t_person_fk_profile_fkey</code> key. * the <code>t_person_fk_profile_fkey</code> key.
*/ */
public TProfile tPersonFkProfileFkey() { public TProfilePath tPersonFkProfileFkey() {
if (_tPersonFkProfileFkey == null) if (_tPersonFkProfileFkey == null)
_tPersonFkProfileFkey = new TProfile(this, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY); _tPersonFkProfileFkey = new TProfilePath(this, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, null);
return _tPersonFkProfileFkey; return _tPersonFkProfileFkey;
} }
private transient TProfilePath _tPersonFkRegistratorFkey;
/** /**
* Get the implicit join path to the <code>camp.t_profile</code> table, via * Get the implicit join path to the <code>camp.t_profile</code> table, via
* the <code>t_person_fk_registrator_fkey</code> key. * the <code>t_person_fk_registrator_fkey</code> key.
*/ */
public TProfile tPersonFkRegistratorFkey() { public TProfilePath tPersonFkRegistratorFkey() {
if (_tPersonFkRegistratorFkey == null) if (_tPersonFkRegistratorFkey == null)
_tPersonFkRegistratorFkey = new TProfile(this, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY); _tPersonFkRegistratorFkey = new TProfilePath(this, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY, null);
return _tPersonFkRegistratorFkey; return _tPersonFkRegistratorFkey;
} }
private transient TPersondocumentPath _tPersondocument;
/**
* Get the implicit to-many join path to the
* <code>camp.t_persondocument</code> table
*/
public TPersondocumentPath tPersondocument() {
if (_tPersondocument == null)
_tPersondocument = new TPersondocumentPath(this, null, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY.getInverseKey());
return _tPersondocument;
}
@Override @Override
public TPerson as(String alias) { public TPerson as(String alias) {
return new TPerson(DSL.name(alias), this); return new TPerson(DSL.name(alias), this);
@ -257,6 +310,11 @@ public class TPerson extends TableImpl<TPersonRecord> {
return new TPerson(alias, this); return new TPerson(alias, this);
} }
@Override
public TPerson as(Table<?> alias) {
return new TPerson(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -273,12 +331,95 @@ public class TPerson extends TableImpl<TPersonRecord> {
return new TPerson(name, null); return new TPerson(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row20 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row20<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, Integer, Integer, Boolean, LocalDateTime, EnumSex, Integer, BigDecimal, String, Boolean, BigDecimal> fieldsRow() { public TPerson rename(Table<?> name) {
return (Row20) super.fieldsRow(); return new TPerson(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson where(Condition condition) {
return new TPerson(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPerson where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPerson where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPerson where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPerson where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPerson whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -7,18 +7,27 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype; import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row5; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -72,14 +81,14 @@ public class TPersondocument extends TableImpl<TPersondocumentRecord> {
/** /**
* The column <code>camp.t_persondocument.filetype</code>. * The column <code>camp.t_persondocument.filetype</code>.
*/ */
public final TableField<TPersondocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, ""); public final TableField<TPersondocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(EnumFiletype.class), this, "");
private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased) { private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased, Field<?>[] parameters) { private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -103,8 +112,35 @@ public class TPersondocument extends TableImpl<TPersondocumentRecord> {
this(DSL.name("t_persondocument"), null); this(DSL.name("t_persondocument"), null);
} }
public <O extends Record> TPersondocument(Table<O> child, ForeignKey<O, TPersondocumentRecord> key) { public <O extends Record> TPersondocument(Table<O> path, ForeignKey<O, TPersondocumentRecord> childPath, InverseForeignKey<O, TPersondocumentRecord> parentPath) {
super(child, key, T_PERSONDOCUMENT); super(path, childPath, parentPath, T_PERSONDOCUMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TPersondocumentPath extends TPersondocument implements Path<TPersondocumentRecord> {
public <O extends Record> TPersondocumentPath(Table<O> path, ForeignKey<O, TPersondocumentRecord> childPath, InverseForeignKey<O, TPersondocumentRecord> parentPath) {
super(path, childPath, parentPath);
}
private TPersondocumentPath(Name alias, Table<TPersondocumentRecord> aliased) {
super(alias, aliased);
}
@Override
public TPersondocumentPath as(String alias) {
return new TPersondocumentPath(DSL.name(alias), this);
}
@Override
public TPersondocumentPath as(Name alias) {
return new TPersondocumentPath(alias, this);
}
@Override
public TPersondocumentPath as(Table<?> alias) {
return new TPersondocumentPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -132,14 +168,14 @@ public class TPersondocument extends TableImpl<TPersondocumentRecord> {
return Arrays.asList(Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY); return Arrays.asList(Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY);
} }
private transient TPerson _tPerson; private transient TPersonPath _tPerson;
/** /**
* Get the implicit join path to the <code>camp.t_person</code> table. * Get the implicit join path to the <code>camp.t_person</code> table.
*/ */
public TPerson tPerson() { public TPersonPath tPerson() {
if (_tPerson == null) if (_tPerson == null)
_tPerson = new TPerson(this, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY); _tPerson = new TPersonPath(this, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY, null);
return _tPerson; return _tPerson;
} }
@ -154,6 +190,11 @@ public class TPersondocument extends TableImpl<TPersondocumentRecord> {
return new TPersondocument(alias, this); return new TPersondocument(alias, this);
} }
@Override
public TPersondocument as(Table<?> alias) {
return new TPersondocument(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -170,12 +211,95 @@ public class TPersondocument extends TableImpl<TPersondocumentRecord> {
return new TPersondocument(name, null); return new TPersondocument(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row5 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row5<Integer, Integer, String, String, EnumFiletype> fieldsRow() { public TPersondocument rename(Table<?> name) {
return (Row5) super.fieldsRow(); return new TPersondocument(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument where(Condition condition) {
return new TPersondocument(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPersondocument where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPersondocument where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPersondocument where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPersondocument where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPersondocument whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -6,19 +6,31 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile.TCampprofilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole.TProfilerolePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row7; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -77,7 +89,7 @@ public class TProfile extends TableImpl<TProfileRecord> {
/** /**
* The column <code>camp.t_profile.duedate</code>. * The column <code>camp.t_profile.duedate</code>.
*/ */
public final TableField<TProfileRecord, LocalDateTime> DUEDATE = createField(DSL.name("duedate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("(now() + '1 year'::interval)", SQLDataType.LOCALDATETIME)), this, ""); public final TableField<TProfileRecord, LocalDateTime> DUEDATE = createField(DSL.name("duedate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("(now() + '1 year'::interval)"), SQLDataType.LOCALDATETIME)), this, "");
/** /**
* The column <code>camp.t_profile.uuid</code>. * The column <code>camp.t_profile.uuid</code>.
@ -85,11 +97,11 @@ public class TProfile extends TableImpl<TProfileRecord> {
public final TableField<TProfileRecord, String> UUID = createField(DSL.name("uuid"), SQLDataType.CLOB.nullable(false), this, ""); public final TableField<TProfileRecord, String> UUID = createField(DSL.name("uuid"), SQLDataType.CLOB.nullable(false), this, "");
private TProfile(Name alias, Table<TProfileRecord> aliased) { private TProfile(Name alias, Table<TProfileRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters) { private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -113,8 +125,35 @@ public class TProfile extends TableImpl<TProfileRecord> {
this(DSL.name("t_profile"), null); this(DSL.name("t_profile"), null);
} }
public <O extends Record> TProfile(Table<O> child, ForeignKey<O, TProfileRecord> key) { public <O extends Record> TProfile(Table<O> path, ForeignKey<O, TProfileRecord> childPath, InverseForeignKey<O, TProfileRecord> parentPath) {
super(child, key, T_PROFILE); super(path, childPath, parentPath, T_PROFILE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TProfilePath extends TProfile implements Path<TProfileRecord> {
public <O extends Record> TProfilePath(Table<O> path, ForeignKey<O, TProfileRecord> childPath, InverseForeignKey<O, TProfileRecord> parentPath) {
super(path, childPath, parentPath);
}
private TProfilePath(Name alias, Table<TProfileRecord> aliased) {
super(alias, aliased);
}
@Override
public TProfilePath as(String alias) {
return new TProfilePath(DSL.name(alias), this);
}
@Override
public TProfilePath as(Name alias) {
return new TProfilePath(alias, this);
}
@Override
public TProfilePath as(Table<?> alias) {
return new TProfilePath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -137,6 +176,70 @@ public class TProfile extends TableImpl<TProfileRecord> {
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY, Keys.T_PROFILE_UUID_KEY); return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY, Keys.T_PROFILE_UUID_KEY);
} }
private transient TCampPath _tCamp;
/**
* Get the implicit to-many join path to the <code>camp.t_camp</code> table
*/
public TCampPath tCamp() {
if (_tCamp == null)
_tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY.getInverseKey());
return _tCamp;
}
private transient TCampprofilePath _tCampprofile;
/**
* Get the implicit to-many join path to the <code>camp.t_campprofile</code>
* table
*/
public TCampprofilePath tCampprofile() {
if (_tCampprofile == null)
_tCampprofile = new TCampprofilePath(this, null, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY.getInverseKey());
return _tCampprofile;
}
private transient TPersonPath _tPersonFkProfileFkey;
/**
* Get the implicit to-many join path to the <code>camp.t_person</code>
* table, via the <code>t_person_fk_profile_fkey</code> key
*/
public TPersonPath tPersonFkProfileFkey() {
if (_tPersonFkProfileFkey == null)
_tPersonFkProfileFkey = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY.getInverseKey());
return _tPersonFkProfileFkey;
}
private transient TPersonPath _tPersonFkRegistratorFkey;
/**
* Get the implicit to-many join path to the <code>camp.t_person</code>
* table, via the <code>t_person_fk_registrator_fkey</code> key
*/
public TPersonPath tPersonFkRegistratorFkey() {
if (_tPersonFkRegistratorFkey == null)
_tPersonFkRegistratorFkey = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY.getInverseKey());
return _tPersonFkRegistratorFkey;
}
private transient TProfilerolePath _tProfilerole;
/**
* Get the implicit to-many join path to the <code>camp.t_profilerole</code>
* table
*/
public TProfilerolePath tProfilerole() {
if (_tProfilerole == null)
_tProfilerole = new TProfilerolePath(this, null, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY.getInverseKey());
return _tProfilerole;
}
@Override @Override
public TProfile as(String alias) { public TProfile as(String alias) {
return new TProfile(DSL.name(alias), this); return new TProfile(DSL.name(alias), this);
@ -147,6 +250,11 @@ public class TProfile extends TableImpl<TProfileRecord> {
return new TProfile(alias, this); return new TProfile(alias, this);
} }
@Override
public TProfile as(Table<?> alias) {
return new TProfile(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -163,12 +271,95 @@ public class TProfile extends TableImpl<TProfileRecord> {
return new TProfile(name, null); return new TProfile(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row7 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row7<Integer, String, String, String, String, LocalDateTime, String> fieldsRow() { public TProfile rename(Table<?> name) {
return (Row7) super.fieldsRow(); return new TProfile(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile where(Condition condition) {
return new TProfile(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfile where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfile where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfile where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfile where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfile whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -7,17 +7,26 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole; import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row2; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -56,14 +65,14 @@ public class TProfilerole extends TableImpl<TProfileroleRecord> {
/** /**
* The column <code>camp.t_profilerole.role</code>. * The column <code>camp.t_profilerole.role</code>.
*/ */
public final TableField<TProfileroleRecord, EnumRole> ROLE = createField(DSL.name("role"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class), this, ""); public final TableField<TProfileroleRecord, EnumRole> ROLE = createField(DSL.name("role"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(EnumRole.class), this, "");
private TProfilerole(Name alias, Table<TProfileroleRecord> aliased) { private TProfilerole(Name alias, Table<TProfileroleRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TProfilerole(Name alias, Table<TProfileroleRecord> aliased, Field<?>[] parameters) { private TProfilerole(Name alias, Table<TProfileroleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -87,8 +96,35 @@ public class TProfilerole extends TableImpl<TProfileroleRecord> {
this(DSL.name("t_profilerole"), null); this(DSL.name("t_profilerole"), null);
} }
public <O extends Record> TProfilerole(Table<O> child, ForeignKey<O, TProfileroleRecord> key) { public <O extends Record> TProfilerole(Table<O> path, ForeignKey<O, TProfileroleRecord> childPath, InverseForeignKey<O, TProfileroleRecord> parentPath) {
super(child, key, T_PROFILEROLE); super(path, childPath, parentPath, T_PROFILEROLE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TProfilerolePath extends TProfilerole implements Path<TProfileroleRecord> {
public <O extends Record> TProfilerolePath(Table<O> path, ForeignKey<O, TProfileroleRecord> childPath, InverseForeignKey<O, TProfileroleRecord> parentPath) {
super(path, childPath, parentPath);
}
private TProfilerolePath(Name alias, Table<TProfileroleRecord> aliased) {
super(alias, aliased);
}
@Override
public TProfilerolePath as(String alias) {
return new TProfilerolePath(DSL.name(alias), this);
}
@Override
public TProfilerolePath as(Name alias) {
return new TProfilerolePath(alias, this);
}
@Override
public TProfilerolePath as(Table<?> alias) {
return new TProfilerolePath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -106,14 +142,14 @@ public class TProfilerole extends TableImpl<TProfileroleRecord> {
return Arrays.asList(Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY); return Arrays.asList(Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY);
} }
private transient TProfile _tProfile; private transient TProfilePath _tProfile;
/** /**
* Get the implicit join path to the <code>camp.t_profile</code> table. * Get the implicit join path to the <code>camp.t_profile</code> table.
*/ */
public TProfile tProfile() { public TProfilePath tProfile() {
if (_tProfile == null) if (_tProfile == null)
_tProfile = new TProfile(this, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY); _tProfile = new TProfilePath(this, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY, null);
return _tProfile; return _tProfile;
} }
@ -128,6 +164,11 @@ public class TProfilerole extends TableImpl<TProfileroleRecord> {
return new TProfilerole(alias, this); return new TProfilerole(alias, this);
} }
@Override
public TProfilerole as(Table<?> alias) {
return new TProfilerole(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -144,12 +185,95 @@ public class TProfilerole extends TableImpl<TProfileroleRecord> {
return new TProfilerole(name, null); return new TProfilerole(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row2 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row2<Integer, EnumRole> fieldsRow() { public TProfilerole rename(Table<?> name) {
return (Row2) super.fieldsRow(); return new TProfilerole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole where(Condition condition) {
return new TProfilerole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfilerole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfilerole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfilerole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TProfilerole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TProfilerole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -9,14 +9,18 @@ import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row4; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -55,7 +59,7 @@ public class TRss extends TableImpl<TRssRecord> {
/** /**
* The column <code>camp.t_rss.regdate</code>. * The column <code>camp.t_rss.regdate</code>.
*/ */
public final TableField<TRssRecord, LocalDateTime> REGDATE = createField(DSL.name("regdate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, ""); public final TableField<TRssRecord, LocalDateTime> REGDATE = createField(DSL.name("regdate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
/** /**
* The column <code>camp.t_rss.recipient</code>. * The column <code>camp.t_rss.recipient</code>.
@ -68,11 +72,11 @@ public class TRss extends TableImpl<TRssRecord> {
public final TableField<TRssRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); public final TableField<TRssRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
private TRss(Name alias, Table<TRssRecord> aliased) { private TRss(Name alias, Table<TRssRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TRss(Name alias, Table<TRssRecord> aliased, Field<?>[] parameters) { private TRss(Name alias, Table<TRssRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -96,10 +100,6 @@ public class TRss extends TableImpl<TRssRecord> {
this(DSL.name("t_rss"), null); this(DSL.name("t_rss"), null);
} }
public <O extends Record> TRss(Table<O> child, ForeignKey<O, TRssRecord> key) {
super(child, key, T_RSS);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -125,6 +125,11 @@ public class TRss extends TableImpl<TRssRecord> {
return new TRss(alias, this); return new TRss(alias, this);
} }
@Override
public TRss as(Table<?> alias) {
return new TRss(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -141,12 +146,95 @@ public class TRss extends TableImpl<TRssRecord> {
return new TRss(name, null); return new TRss(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row4 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row4<String, LocalDateTime, String, Integer> fieldsRow() { public TRss rename(Table<?> name) {
return (Row4) super.fieldsRow(); return new TRss(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss where(Condition condition) {
return new TRss(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TRss where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TRss where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TRss where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TRss where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TRss whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -6,20 +6,29 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey; import org.jooq.ForeignKey;
import org.jooq.Identity; import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record; import org.jooq.Record;
import org.jooq.Row11; import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -106,11 +115,11 @@ public class TSales extends TableImpl<TSalesRecord> {
public final TableField<TSalesRecord, String> RECIPEFILENAME = createField(DSL.name("recipefilename"), SQLDataType.CLOB, this, ""); public final TableField<TSalesRecord, String> RECIPEFILENAME = createField(DSL.name("recipefilename"), SQLDataType.CLOB, this, "");
private TSales(Name alias, Table<TSalesRecord> aliased) { private TSales(Name alias, Table<TSalesRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TSales(Name alias, Table<TSalesRecord> aliased, Field<?>[] parameters) { private TSales(Name alias, Table<TSalesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -134,8 +143,35 @@ public class TSales extends TableImpl<TSalesRecord> {
this(DSL.name("t_sales"), null); this(DSL.name("t_sales"), null);
} }
public <O extends Record> TSales(Table<O> child, ForeignKey<O, TSalesRecord> key) { public <O extends Record> TSales(Table<O> path, ForeignKey<O, TSalesRecord> childPath, InverseForeignKey<O, TSalesRecord> parentPath) {
super(child, key, T_SALES); super(path, childPath, parentPath, T_SALES);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TSalesPath extends TSales implements Path<TSalesRecord> {
public <O extends Record> TSalesPath(Table<O> path, ForeignKey<O, TSalesRecord> childPath, InverseForeignKey<O, TSalesRecord> parentPath) {
super(path, childPath, parentPath);
}
private TSalesPath(Name alias, Table<TSalesRecord> aliased) {
super(alias, aliased);
}
@Override
public TSalesPath as(String alias) {
return new TSalesPath(DSL.name(alias), this);
}
@Override
public TSalesPath as(Name alias) {
return new TSalesPath(alias, this);
}
@Override
public TSalesPath as(Table<?> alias) {
return new TSalesPath(alias.getQualifiedName(), this);
}
} }
@Override @Override
@ -158,14 +194,14 @@ public class TSales extends TableImpl<TSalesRecord> {
return Arrays.asList(Keys.T_SALES__T_SALES_FK_CAMP_FKEY); return Arrays.asList(Keys.T_SALES__T_SALES_FK_CAMP_FKEY);
} }
private transient TCamp _tCamp; private transient TCampPath _tCamp;
/** /**
* Get the implicit join path to the <code>camp.t_camp</code> table. * Get the implicit join path to the <code>camp.t_camp</code> table.
*/ */
public TCamp tCamp() { public TCampPath tCamp() {
if (_tCamp == null) if (_tCamp == null)
_tCamp = new TCamp(this, Keys.T_SALES__T_SALES_FK_CAMP_FKEY); _tCamp = new TCampPath(this, Keys.T_SALES__T_SALES_FK_CAMP_FKEY, null);
return _tCamp; return _tCamp;
} }
@ -180,6 +216,11 @@ public class TSales extends TableImpl<TSalesRecord> {
return new TSales(alias, this); return new TSales(alias, this);
} }
@Override
public TSales as(Table<?> alias) {
return new TSales(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -196,12 +237,95 @@ public class TSales extends TableImpl<TSalesRecord> {
return new TSales(name, null); return new TSales(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row11 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row11<Integer, String, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String, String> fieldsRow() { public TSales rename(Table<?> name) {
return (Row11) super.fieldsRow(); return new TSales(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales where(Condition condition) {
return new TSales(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSales where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSales where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSales where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSales where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSales whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -9,14 +9,18 @@ import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row2; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -58,11 +62,11 @@ public class TSalescontent extends TableImpl<TSalescontentRecord> {
public final TableField<TSalescontentRecord, String> FK_SALESCONTENTTYPE = createField(DSL.name("fk_salescontenttype"), SQLDataType.CLOB.nullable(false), this, ""); public final TableField<TSalescontentRecord, String> FK_SALESCONTENTTYPE = createField(DSL.name("fk_salescontenttype"), SQLDataType.CLOB.nullable(false), this, "");
private TSalescontent(Name alias, Table<TSalescontentRecord> aliased) { private TSalescontent(Name alias, Table<TSalescontentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TSalescontent(Name alias, Table<TSalescontentRecord> aliased, Field<?>[] parameters) { private TSalescontent(Name alias, Table<TSalescontentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -86,10 +90,6 @@ public class TSalescontent extends TableImpl<TSalescontentRecord> {
this(DSL.name("t_salescontent"), null); this(DSL.name("t_salescontent"), null);
} }
public <O extends Record> TSalescontent(Table<O> child, ForeignKey<O, TSalescontentRecord> key) {
super(child, key, T_SALESCONTENT);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -110,6 +110,11 @@ public class TSalescontent extends TableImpl<TSalescontentRecord> {
return new TSalescontent(alias, this); return new TSalescontent(alias, this);
} }
@Override
public TSalescontent as(Table<?> alias) {
return new TSalescontent(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -126,12 +131,95 @@ public class TSalescontent extends TableImpl<TSalescontentRecord> {
return new TSalescontent(name, null); return new TSalescontent(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row2 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row2<Integer, String> fieldsRow() { public TSalescontent rename(Table<?> name) {
return (Row2) super.fieldsRow(); return new TSalescontent(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent where(Condition condition) {
return new TSalescontent(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontent where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontent where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontent where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontent where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontent whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,12 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys; import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row1; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -50,11 +55,11 @@ public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
public final TableField<TSalescontenttypeRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, ""); public final TableField<TSalescontenttypeRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased) { private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased, Field<?>[] parameters) { private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
} }
/** /**
@ -78,10 +83,6 @@ public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
this(DSL.name("t_salescontenttype"), null); this(DSL.name("t_salescontenttype"), null);
} }
public <O extends Record> TSalescontenttype(Table<O> child, ForeignKey<O, TSalescontenttypeRecord> key) {
super(child, key, T_SALESCONTENTTYPE);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -102,6 +103,11 @@ public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
return new TSalescontenttype(alias, this); return new TSalescontenttype(alias, this);
} }
@Override
public TSalescontenttype as(Table<?> alias) {
return new TSalescontenttype(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -118,12 +124,95 @@ public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
return new TSalescontenttype(name, null); return new TSalescontenttype(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row1 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row1<String> fieldsRow() { public TSalescontenttype rename(Table<?> name) {
return (Row1) super.fieldsRow(); return new TSalescontenttype(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype where(Condition condition) {
return new TSalescontenttype(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontenttype where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontenttype where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontenttype where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSalescontenttype where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSalescontenttype whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -1,181 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesprofileRecord;
import java.util.Arrays;
import java.util.List;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row3;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalesprofile extends TableImpl<TSalesprofileRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>camp.t_salesprofile</code>
*/
public static final TSalesprofile T_SALESPROFILE = new TSalesprofile();
/**
* The class holding records for this type
*/
@Override
public Class<TSalesprofileRecord> getRecordType() {
return TSalesprofileRecord.class;
}
/**
* The column <code>camp.t_salesprofile.pk</code>.
*/
public final TableField<TSalesprofileRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>camp.t_salesprofile.fk_camp</code>.
*/
public final TableField<TSalesprofileRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>camp.t_salesprofile.fk_profile</code>.
*/
public final TableField<TSalesprofileRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
private TSalesprofile(Name alias, Table<TSalesprofileRecord> aliased) {
this(alias, aliased, null);
}
private TSalesprofile(Name alias, Table<TSalesprofileRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>camp.t_salesprofile</code> table reference
*/
public TSalesprofile(String alias) {
this(DSL.name(alias), T_SALESPROFILE);
}
/**
* Create an aliased <code>camp.t_salesprofile</code> table reference
*/
public TSalesprofile(Name alias) {
this(alias, T_SALESPROFILE);
}
/**
* Create a <code>camp.t_salesprofile</code> table reference
*/
public TSalesprofile() {
this(DSL.name("t_salesprofile"), null);
}
public <O extends Record> TSalesprofile(Table<O> child, ForeignKey<O, TSalesprofileRecord> key) {
super(child, key, T_SALESPROFILE);
}
@Override
public Schema getSchema() {
return aliased() ? null : Camp.CAMP;
}
@Override
public Identity<TSalesprofileRecord, Integer> getIdentity() {
return (Identity<TSalesprofileRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TSalesprofileRecord> getPrimaryKey() {
return Keys.T_SALESPROFILE_PKEY;
}
@Override
public List<UniqueKey<TSalesprofileRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_SALESPROFILE_FK_CAMP_FK_PROFILE_KEY);
}
@Override
public List<ForeignKey<TSalesprofileRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY);
}
private transient TCamp _tCamp;
private transient TProfile _tProfile;
/**
* Get the implicit join path to the <code>camp.t_camp</code> table.
*/
public TCamp tCamp() {
if (_tCamp == null)
_tCamp = new TCamp(this, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY);
return _tCamp;
}
/**
* Get the implicit join path to the <code>camp.t_profile</code> table.
*/
public TProfile tProfile() {
if (_tProfile == null)
_tProfile = new TProfile(this, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY);
return _tProfile;
}
@Override
public TSalesprofile as(String alias) {
return new TSalesprofile(DSL.name(alias), this);
}
@Override
public TSalesprofile as(Name alias) {
return new TSalesprofile(alias, this);
}
/**
* Rename this table
*/
@Override
public TSalesprofile rename(String name) {
return new TSalesprofile(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TSalesprofile rename(Name name) {
return new TSalesprofile(name, null);
}
// -------------------------------------------------------------------------
// Row3 type methods
// -------------------------------------------------------------------------
@Override
public Row3<Integer, Integer, Integer> fieldsRow() {
return (Row3) super.fieldsRow();
}
}

View File

@ -1,144 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VAdultRecord;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row5;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.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 VAdult extends TableImpl<VAdultRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>camp.v_adult</code>
*/
public static final VAdult V_ADULT = new VAdult();
/**
* The class holding records for this type
*/
@Override
public Class<VAdultRecord> getRecordType() {
return VAdultRecord.class;
}
/**
* The column <code>camp.v_adult.age</code>.
*/
public final TableField<VAdultRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
/**
* The column <code>camp.v_adult.forename</code>.
*/
public final TableField<VAdultRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_adult.surname</code>.
*/
public final TableField<VAdultRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_adult.camprole</code>.
*/
public final TableField<VAdultRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
/**
* The column <code>camp.v_adult.adult</code>.
*/
public final TableField<VAdultRecord, Boolean> ADULT = createField(DSL.name("adult"), SQLDataType.BOOLEAN, this, "");
private VAdult(Name alias, Table<VAdultRecord> aliased) {
this(alias, aliased, null);
}
private VAdult(Name alias, Table<VAdultRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>camp.v_adult</code> table reference
*/
public VAdult(String alias) {
this(DSL.name(alias), V_ADULT);
}
/**
* Create an aliased <code>camp.v_adult</code> table reference
*/
public VAdult(Name alias) {
this(alias, V_ADULT);
}
/**
* Create a <code>camp.v_adult</code> table reference
*/
public VAdult() {
this(DSL.name("v_adult"), null);
}
public <O extends Record> VAdult(Table<O> child, ForeignKey<O, VAdultRecord> key) {
super(child, key, V_ADULT);
}
@Override
public Schema getSchema() {
return aliased() ? null : Camp.CAMP;
}
@Override
public VAdult as(String alias) {
return new VAdult(DSL.name(alias), this);
}
@Override
public VAdult as(Name alias) {
return new VAdult(alias, this);
}
/**
* Rename this table
*/
@Override
public VAdult rename(String name) {
return new VAdult(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VAdult rename(Name name) {
return new VAdult(name, null);
}
// -------------------------------------------------------------------------
// Row5 type methods
// -------------------------------------------------------------------------
@Override
public Row5<YearToSecond, String, String, EnumCamprole, Boolean> fieldsRow() {
return (Row5) super.fieldsRow();
}
}

View File

@ -8,13 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.tables.records.VBudgetRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VBudgetRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row5; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -70,11 +74,19 @@ public class VBudget extends TableImpl<VBudgetRecord> {
public final TableField<VBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, ""); public final TableField<VBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
private VBudget(Name alias, Table<VBudgetRecord> aliased) { private VBudget(Name alias, Table<VBudgetRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VBudget(Name alias, Table<VBudgetRecord> aliased, Field<?>[] parameters) { private VBudget(Name alias, Table<VBudgetRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_budget" as SELECT sum(cash) AS budget,
fk_camp,
name,
location,
year
FROM camp.v_sales
GROUP BY fk_camp, name, location, year;
"""), where);
} }
/** /**
@ -98,10 +110,6 @@ public class VBudget extends TableImpl<VBudgetRecord> {
this(DSL.name("v_budget"), null); this(DSL.name("v_budget"), null);
} }
public <O extends Record> VBudget(Table<O> child, ForeignKey<O, VBudgetRecord> key) {
super(child, key, V_BUDGET);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -117,6 +125,11 @@ public class VBudget extends TableImpl<VBudgetRecord> {
return new VBudget(alias, this); return new VBudget(alias, this);
} }
@Override
public VBudget as(Table<?> alias) {
return new VBudget(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -133,12 +146,95 @@ public class VBudget extends TableImpl<VBudgetRecord> {
return new VBudget(name, null); return new VBudget(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row5 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row5<BigDecimal, Integer, String, String, Double> fieldsRow() { public VBudget rename(Table<?> name) {
return (Row5) super.fieldsRow(); return new VBudget(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget where(Condition condition) {
return new VBudget(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VBudget where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VBudget where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VBudget where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VBudget where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VBudget whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,13 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VCampRecord;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row13; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -110,11 +114,27 @@ public class VCamp extends TableImpl<VCampRecord> {
public final TableField<VCampRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, ""); public final TableField<VCampRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
private VCamp(Name alias, Table<VCampRecord> aliased) { private VCamp(Name alias, Table<VCampRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VCamp(Name alias, Table<VCampRecord> aliased, Field<?>[] parameters) { private VCamp(Name alias, Table<VCampRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_camp" as SELECT c.pk,
(c.depart < now()) AS is_over,
c.name,
c.arrive,
c.depart,
date_part('isoyear'::text, c.arrive) AS year,
l.name AS location_name,
c.min_age,
c.max_age,
l.url,
c.price,
c.countries,
c.fk_document
FROM (camp.t_camp c
LEFT JOIN camp.t_location l ON ((c.fk_location = l.pk)));
"""), where);
} }
/** /**
@ -138,10 +158,6 @@ public class VCamp extends TableImpl<VCampRecord> {
this(DSL.name("v_camp"), null); this(DSL.name("v_camp"), null);
} }
public <O extends Record> VCamp(Table<O> child, ForeignKey<O, VCampRecord> key) {
super(child, key, V_CAMP);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -157,6 +173,11 @@ public class VCamp extends TableImpl<VCampRecord> {
return new VCamp(alias, this); return new VCamp(alias, this);
} }
@Override
public VCamp as(Table<?> alias) {
return new VCamp(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -173,12 +194,95 @@ public class VCamp extends TableImpl<VCampRecord> {
return new VCamp(name, null); return new VCamp(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row13 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row13<Integer, Boolean, String, LocalDateTime, LocalDateTime, Double, String, Integer, Integer, String, String, String, Integer> fieldsRow() { public VCamp rename(Table<?> name) {
return (Row13) super.fieldsRow(); return new VCamp(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp where(Condition condition) {
return new VCamp(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamp where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamp where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamp where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamp where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamp whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,13 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row4; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -65,11 +69,29 @@ public class VCampBudget extends TableImpl<VCampBudgetRecord> {
public final TableField<VCampBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, ""); public final TableField<VCampBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased) { private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased, Field<?>[] parameters) { private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_camp_budget" as WITH x(money, camp) AS (
SELECT COALESCE(t_person.paid, 0.0) AS cash,
t_person.fk_camp
FROM camp.t_person
UNION ALL
SELECT (t_sales.cash * ('-1'::integer)::numeric),
t_sales.fk_camp
FROM camp.t_sales
)
SELECT sum(x.money) AS budget,
c.pk AS fk_camp,
c.name AS camp_name,
date_part('year'::text, c.arrive) AS year
FROM (x
LEFT JOIN camp.t_camp c ON ((c.pk = x.camp)))
GROUP BY c.pk, c.name, c.arrive
ORDER BY c.arrive;
"""), where);
} }
/** /**
@ -93,10 +115,6 @@ public class VCampBudget extends TableImpl<VCampBudgetRecord> {
this(DSL.name("v_camp_budget"), null); this(DSL.name("v_camp_budget"), null);
} }
public <O extends Record> VCampBudget(Table<O> child, ForeignKey<O, VCampBudgetRecord> key) {
super(child, key, V_CAMP_BUDGET);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -112,6 +130,11 @@ public class VCampBudget extends TableImpl<VCampBudgetRecord> {
return new VCampBudget(alias, this); return new VCampBudget(alias, this);
} }
@Override
public VCampBudget as(Table<?> alias) {
return new VCampBudget(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -128,12 +151,95 @@ public class VCampBudget extends TableImpl<VCampBudgetRecord> {
return new VCampBudget(name, null); return new VCampBudget(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row4 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row4<BigDecimal, Integer, String, Double> fieldsRow() { public VCampBudget rename(Table<?> name) {
return (Row4) super.fieldsRow(); return new VCampBudget(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget where(Condition condition) {
return new VCampBudget(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudget where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudget where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudget where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudget where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudget whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,13 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetYearRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetYearRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row2; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -55,11 +59,17 @@ public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
public final TableField<VCampBudgetYearRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, ""); public final TableField<VCampBudgetYearRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased) { private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased, Field<?>[] parameters) { private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_camp_budget_year" as SELECT sum(budget) AS sum,
year
FROM camp.v_camp_budget
GROUP BY year
ORDER BY year;
"""), where);
} }
/** /**
@ -83,10 +93,6 @@ public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
this(DSL.name("v_camp_budget_year"), null); this(DSL.name("v_camp_budget_year"), null);
} }
public <O extends Record> VCampBudgetYear(Table<O> child, ForeignKey<O, VCampBudgetYearRecord> key) {
super(child, key, V_CAMP_BUDGET_YEAR);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -102,6 +108,11 @@ public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
return new VCampBudgetYear(alias, this); return new VCampBudgetYear(alias, this);
} }
@Override
public VCampBudgetYear as(Table<?> alias) {
return new VCampBudgetYear(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -118,12 +129,95 @@ public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
return new VCampBudgetYear(name, null); return new VCampBudgetYear(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row2 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row2<BigDecimal, Double> fieldsRow() { public VCampBudgetYear rename(Table<?> name) {
return (Row2) super.fieldsRow(); return new VCampBudgetYear(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear where(Condition condition) {
return new VCampBudgetYear(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudgetYear where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudgetYear where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudgetYear where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampBudgetYear where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampBudgetYear whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -10,13 +10,17 @@ import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampdocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VCampdocumentRecord;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row8; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -79,19 +83,31 @@ public class VCampdocument extends TableImpl<VCampdocumentRecord> {
/** /**
* The column <code>camp.v_campdocument.doctype</code>. * The column <code>camp.v_campdocument.doctype</code>.
*/ */
public final TableField<VCampdocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, ""); public final TableField<VCampdocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(EnumDocument.class), this, "");
/** /**
* The column <code>camp.v_campdocument.filetype</code>. * The column <code>camp.v_campdocument.filetype</code>.
*/ */
public final TableField<VCampdocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, ""); public final TableField<VCampdocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(EnumFiletype.class), this, "");
private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased) { private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased, Field<?>[] parameters) { private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_campdocument" as SELECT cd.fk_camp,
c.name AS campname,
c.arrive,
cd.fk_document,
d.document,
d.name AS documentname,
d.doctype,
d.filetype
FROM ((camp.t_campdocument cd
LEFT JOIN camp.t_camp c ON ((c.pk = cd.fk_camp)))
LEFT JOIN camp.t_document d ON ((d.pk = cd.fk_document)));
"""), where);
} }
/** /**
@ -115,10 +131,6 @@ public class VCampdocument extends TableImpl<VCampdocumentRecord> {
this(DSL.name("v_campdocument"), null); this(DSL.name("v_campdocument"), null);
} }
public <O extends Record> VCampdocument(Table<O> child, ForeignKey<O, VCampdocumentRecord> key) {
super(child, key, V_CAMPDOCUMENT);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -134,6 +146,11 @@ public class VCampdocument extends TableImpl<VCampdocumentRecord> {
return new VCampdocument(alias, this); return new VCampdocument(alias, this);
} }
@Override
public VCampdocument as(Table<?> alias) {
return new VCampdocument(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -150,12 +167,95 @@ public class VCampdocument extends TableImpl<VCampdocumentRecord> {
return new VCampdocument(name, null); return new VCampdocument(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row8 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row8<Integer, String, LocalDateTime, Integer, String, String, EnumDocument, EnumFiletype> fieldsRow() { public VCampdocument rename(Table<?> name) {
return (Row8) super.fieldsRow(); return new VCampdocument(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument where(Condition condition) {
return new VCampdocument(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampdocument where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampdocument where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampdocument where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCampdocument where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCampdocument whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,12 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole; import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VCamproleRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VCamproleRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row1; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -46,14 +51,16 @@ public class VCamprole extends TableImpl<VCamproleRecord> {
/** /**
* The column <code>camp.v_camprole.name</code>. * The column <code>camp.v_camprole.name</code>.
*/ */
public final TableField<VCamproleRecord, EnumCamprole> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, ""); public final TableField<VCamproleRecord, EnumCamprole> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.asEnumDataType(EnumCamprole.class), this, "");
private VCamprole(Name alias, Table<VCamproleRecord> aliased) { private VCamprole(Name alias, Table<VCamproleRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VCamprole(Name alias, Table<VCamproleRecord> aliased, Field<?>[] parameters) { private VCamprole(Name alias, Table<VCamproleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_camprole" as SELECT unnest(enum_range(NULL::camp.enum_camprole)) AS name;
"""), where);
} }
/** /**
@ -77,10 +84,6 @@ public class VCamprole extends TableImpl<VCamproleRecord> {
this(DSL.name("v_camprole"), null); this(DSL.name("v_camprole"), null);
} }
public <O extends Record> VCamprole(Table<O> child, ForeignKey<O, VCamproleRecord> key) {
super(child, key, V_CAMPROLE);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -96,6 +99,11 @@ public class VCamprole extends TableImpl<VCamproleRecord> {
return new VCamprole(alias, this); return new VCamprole(alias, this);
} }
@Override
public VCamprole as(Table<?> alias) {
return new VCamprole(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -112,12 +120,95 @@ public class VCamprole extends TableImpl<VCamproleRecord> {
return new VCamprole(name, null); return new VCamprole(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row1 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row1<EnumCamprole> fieldsRow() { public VCamprole rename(Table<?> name) {
return (Row1) super.fieldsRow(); return new VCamprole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole where(Condition condition) {
return new VCamprole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamprole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamprole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamprole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VCamprole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VCamprole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -9,12 +9,17 @@ import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype; import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.records.VDocumentRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VDocumentRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row6; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -52,7 +57,7 @@ public class VDocument extends TableImpl<VDocumentRecord> {
/** /**
* The column <code>camp.v_document.doctype</code>. * The column <code>camp.v_document.doctype</code>.
*/ */
public final TableField<VDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, ""); public final TableField<VDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(EnumDocument.class), this, "");
/** /**
* The column <code>camp.v_document.name</code>. * The column <code>camp.v_document.name</code>.
@ -67,7 +72,7 @@ public class VDocument extends TableImpl<VDocumentRecord> {
/** /**
* The column <code>camp.v_document.filetype</code>. * The column <code>camp.v_document.filetype</code>.
*/ */
public final TableField<VDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, ""); public final TableField<VDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(EnumFiletype.class), this, "");
/** /**
* The column <code>camp.v_document.roles</code>. * The column <code>camp.v_document.roles</code>.
@ -75,11 +80,21 @@ public class VDocument extends TableImpl<VDocumentRecord> {
public final TableField<VDocumentRecord, String> ROLES = createField(DSL.name("roles"), SQLDataType.CLOB, this, ""); public final TableField<VDocumentRecord, String> ROLES = createField(DSL.name("roles"), SQLDataType.CLOB, this, "");
private VDocument(Name alias, Table<VDocumentRecord> aliased) { private VDocument(Name alias, Table<VDocumentRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VDocument(Name alias, Table<VDocumentRecord> aliased, Field<?>[] parameters) { private VDocument(Name alias, Table<VDocumentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_document" as SELECT d.pk,
d.doctype,
d.name,
d.document,
d.filetype,
string_agg((r.camprole)::text, ','::text) AS roles
FROM (camp.t_document d
LEFT JOIN camp.t_documentrole r ON ((r.fk_document = d.pk)))
GROUP BY d.pk, d.doctype, d.name, d.document, d.filetype;
"""), where);
} }
/** /**
@ -103,10 +118,6 @@ public class VDocument extends TableImpl<VDocumentRecord> {
this(DSL.name("v_document"), null); this(DSL.name("v_document"), null);
} }
public <O extends Record> VDocument(Table<O> child, ForeignKey<O, VDocumentRecord> key) {
super(child, key, V_DOCUMENT);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -122,6 +133,11 @@ public class VDocument extends TableImpl<VDocumentRecord> {
return new VDocument(alias, this); return new VDocument(alias, this);
} }
@Override
public VDocument as(Table<?> alias) {
return new VDocument(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -138,12 +154,95 @@ public class VDocument extends TableImpl<VDocumentRecord> {
return new VDocument(name, null); return new VDocument(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row6 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row6<Integer, EnumDocument, String, String, EnumFiletype, String> fieldsRow() { public VDocument rename(Table<?> name) {
return (Row6) super.fieldsRow(); return new VDocument(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument where(Condition condition) {
return new VDocument(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VDocument where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VDocument where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VDocument where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VDocument where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VDocument whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -1,166 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VDsgvoDeleteCandidateRecord;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row9;
import org.jooq.Schema;
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 VDsgvoDeleteCandidate extends TableImpl<VDsgvoDeleteCandidateRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>camp.v_dsgvo_delete_candidate</code>
*/
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = new VDsgvoDeleteCandidate();
/**
* The class holding records for this type
*/
@Override
public Class<VDsgvoDeleteCandidateRecord> getRecordType() {
return VDsgvoDeleteCandidateRecord.class;
}
/**
* The column <code>camp.v_dsgvo_delete_candidate.fk_person</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.forename</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.surname</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.fk_camp</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.age</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.camprole</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.name</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.year</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
/**
* The column <code>camp.v_dsgvo_delete_candidate.is_over</code>.
*/
public final TableField<VDsgvoDeleteCandidateRecord, Boolean> IS_OVER = createField(DSL.name("is_over"), SQLDataType.BOOLEAN, this, "");
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> aliased) {
this(alias, aliased, null);
}
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>camp.v_dsgvo_delete_candidate</code> table
* reference
*/
public VDsgvoDeleteCandidate(String alias) {
this(DSL.name(alias), V_DSGVO_DELETE_CANDIDATE);
}
/**
* Create an aliased <code>camp.v_dsgvo_delete_candidate</code> table
* reference
*/
public VDsgvoDeleteCandidate(Name alias) {
this(alias, V_DSGVO_DELETE_CANDIDATE);
}
/**
* Create a <code>camp.v_dsgvo_delete_candidate</code> table reference
*/
public VDsgvoDeleteCandidate() {
this(DSL.name("v_dsgvo_delete_candidate"), null);
}
public <O extends Record> VDsgvoDeleteCandidate(Table<O> child, ForeignKey<O, VDsgvoDeleteCandidateRecord> key) {
super(child, key, V_DSGVO_DELETE_CANDIDATE);
}
@Override
public Schema getSchema() {
return aliased() ? null : Camp.CAMP;
}
@Override
public VDsgvoDeleteCandidate as(String alias) {
return new VDsgvoDeleteCandidate(DSL.name(alias), this);
}
@Override
public VDsgvoDeleteCandidate as(Name alias) {
return new VDsgvoDeleteCandidate(alias, this);
}
/**
* Rename this table
*/
@Override
public VDsgvoDeleteCandidate rename(String name) {
return new VDsgvoDeleteCandidate(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VDsgvoDeleteCandidate rename(Name name) {
return new VDsgvoDeleteCandidate(name, null);
}
// -------------------------------------------------------------------------
// Row9 type methods
// -------------------------------------------------------------------------
@Override
public Row9<Integer, String, String, Integer, YearToSecond, EnumCamprole, String, Double, Boolean> fieldsRow() {
return (Row9) super.fieldsRow();
}
}

View File

@ -1,174 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
import de.jottyfan.camporganizer.db.jooq.tables.records.VFeederRecord;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Row11;
import org.jooq.Schema;
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 VFeeder extends TableImpl<VFeederRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>camp.v_feeder</code>
*/
public static final VFeeder V_FEEDER = new VFeeder();
/**
* The class holding records for this type
*/
@Override
public Class<VFeederRecord> getRecordType() {
return VFeederRecord.class;
}
/**
* The column <code>camp.v_feeder.forename</code>.
*/
public final TableField<VFeederRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.surname</code>.
*/
public final TableField<VFeederRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.street</code>.
*/
public final TableField<VFeederRecord, String> STREET = createField(DSL.name("street"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.zip</code>.
*/
public final TableField<VFeederRecord, String> ZIP = createField(DSL.name("zip"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.city</code>.
*/
public final TableField<VFeederRecord, String> CITY = createField(DSL.name("city"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.phone</code>.
*/
public final TableField<VFeederRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.age</code>.
*/
public final TableField<VFeederRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
/**
* The column <code>camp.v_feeder.email</code>.
*/
public final TableField<VFeederRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.sex</code>.
*/
public final TableField<VFeederRecord, EnumSex> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumSex.class), this, "");
/**
* The column <code>camp.v_feeder.name</code>.
*/
public final TableField<VFeederRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
/**
* The column <code>camp.v_feeder.year</code>.
*/
public final TableField<VFeederRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
private VFeeder(Name alias, Table<VFeederRecord> aliased) {
this(alias, aliased, null);
}
private VFeeder(Name alias, Table<VFeederRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>camp.v_feeder</code> table reference
*/
public VFeeder(String alias) {
this(DSL.name(alias), V_FEEDER);
}
/**
* Create an aliased <code>camp.v_feeder</code> table reference
*/
public VFeeder(Name alias) {
this(alias, V_FEEDER);
}
/**
* Create a <code>camp.v_feeder</code> table reference
*/
public VFeeder() {
this(DSL.name("v_feeder"), null);
}
public <O extends Record> VFeeder(Table<O> child, ForeignKey<O, VFeederRecord> key) {
super(child, key, V_FEEDER);
}
@Override
public Schema getSchema() {
return aliased() ? null : Camp.CAMP;
}
@Override
public VFeeder as(String alias) {
return new VFeeder(DSL.name(alias), this);
}
@Override
public VFeeder as(Name alias) {
return new VFeeder(alias, this);
}
/**
* Rename this table
*/
@Override
public VFeeder rename(String name) {
return new VFeeder(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VFeeder rename(Name name) {
return new VFeeder(name, null);
}
// -------------------------------------------------------------------------
// Row11 type methods
// -------------------------------------------------------------------------
@Override
public Row11<String, String, String, String, String, String, YearToSecond, String, EnumSex, String, Double> fieldsRow() {
return (Row11) super.fieldsRow();
}
}

View File

@ -8,12 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole; import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VProfileRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VProfileRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row7; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -76,14 +81,26 @@ public class VProfile extends TableImpl<VProfileRecord> {
/** /**
* The column <code>camp.v_profile.roles</code>. * The column <code>camp.v_profile.roles</code>.
*/ */
public final TableField<VProfileRecord, EnumRole[]> ROLES = createField(DSL.name("roles"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class).getArrayDataType(), this, ""); public final TableField<VProfileRecord, EnumRole[]> ROLES = createField(DSL.name("roles"), SQLDataType.VARCHAR.asEnumDataType(EnumRole.class).array(), this, "");
private VProfile(Name alias, Table<VProfileRecord> aliased) { private VProfile(Name alias, Table<VProfileRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VProfile(Name alias, Table<VProfileRecord> aliased, Field<?>[] parameters) { private VProfile(Name alias, Table<VProfileRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_profile" as SELECT t_profile.pk,
t_profile.forename,
t_profile.surname,
t_profile.username,
t_profile.password,
t_profile.uuid,
array_agg(t_profilerole.role) AS roles
FROM (camp.t_profile
LEFT JOIN camp.t_profilerole ON ((t_profilerole.fk_profile = t_profile.pk)))
WHERE (t_profile.duedate > now())
GROUP BY t_profile.pk, t_profile.forename, t_profile.surname, t_profile.username, t_profile.password;
"""), where);
} }
/** /**
@ -107,10 +124,6 @@ public class VProfile extends TableImpl<VProfileRecord> {
this(DSL.name("v_profile"), null); this(DSL.name("v_profile"), null);
} }
public <O extends Record> VProfile(Table<O> child, ForeignKey<O, VProfileRecord> key) {
super(child, key, V_PROFILE);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -126,6 +139,11 @@ public class VProfile extends TableImpl<VProfileRecord> {
return new VProfile(alias, this); return new VProfile(alias, this);
} }
@Override
public VProfile as(Table<?> alias) {
return new VProfile(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -142,12 +160,95 @@ public class VProfile extends TableImpl<VProfileRecord> {
return new VProfile(name, null); return new VProfile(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row7 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row7<Integer, String, String, String, String, String, EnumRole[]> fieldsRow() { public VProfile rename(Table<?> name) {
return (Row7) super.fieldsRow(); return new VProfile(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile where(Condition condition) {
return new VProfile(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VProfile where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VProfile where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VProfile where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VProfile where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VProfile whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -9,13 +9,17 @@ import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VRegistrationRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VRegistrationRecord;
import java.time.LocalDate; import java.time.LocalDate;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row11; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -88,7 +92,7 @@ public class VRegistration extends TableImpl<VRegistrationRecord> {
/** /**
* The column <code>camp.v_registration.camprole</code>. * The column <code>camp.v_registration.camprole</code>.
*/ */
public final TableField<VRegistrationRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, ""); public final TableField<VRegistrationRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(EnumCamprole.class), this, "");
/** /**
* The column <code>camp.v_registration.email</code>. * The column <code>camp.v_registration.email</code>.
@ -101,11 +105,25 @@ public class VRegistration extends TableImpl<VRegistrationRecord> {
public final TableField<VRegistrationRecord, String> CAMPNAME = createField(DSL.name("campname"), SQLDataType.CLOB, this, ""); public final TableField<VRegistrationRecord, String> CAMPNAME = createField(DSL.name("campname"), SQLDataType.CLOB, this, "");
private VRegistration(Name alias, Table<VRegistrationRecord> aliased) { private VRegistration(Name alias, Table<VRegistrationRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VRegistration(Name alias, Table<VRegistrationRecord> aliased, Field<?>[] parameters) { private VRegistration(Name alias, Table<VRegistrationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_registration" as SELECT t_person.pk,
t_person.forename,
t_person.surname,
t_person.street,
t_person.zip,
t_person.city,
t_person.phone,
t_person.birthdate,
t_person.camprole,
t_person.email,
(t_camp.name || date_part('isoyear'::text, t_camp.arrive)) AS campname
FROM (camp.t_person
LEFT JOIN camp.t_camp ON ((t_camp.pk = t_person.fk_camp)));
"""), where);
} }
/** /**
@ -129,10 +147,6 @@ public class VRegistration extends TableImpl<VRegistrationRecord> {
this(DSL.name("v_registration"), null); this(DSL.name("v_registration"), null);
} }
public <O extends Record> VRegistration(Table<O> child, ForeignKey<O, VRegistrationRecord> key) {
super(child, key, V_REGISTRATION);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -148,6 +162,11 @@ public class VRegistration extends TableImpl<VRegistrationRecord> {
return new VRegistration(alias, this); return new VRegistration(alias, this);
} }
@Override
public VRegistration as(Table<?> alias) {
return new VRegistration(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -164,12 +183,95 @@ public class VRegistration extends TableImpl<VRegistrationRecord> {
return new VRegistration(name, null); return new VRegistration(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row11 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row11<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, String> fieldsRow() { public VRegistration rename(Table<?> name) {
return (Row11) super.fieldsRow(); return new VRegistration(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration where(Condition condition) {
return new VRegistration(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRegistration where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRegistration where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRegistration where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRegistration where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRegistration whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -8,12 +8,17 @@ import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole; import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import de.jottyfan.camporganizer.db.jooq.tables.records.VRoleRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VRoleRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row1; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -46,14 +51,16 @@ public class VRole extends TableImpl<VRoleRecord> {
/** /**
* The column <code>camp.v_role.unnest</code>. * The column <code>camp.v_role.unnest</code>.
*/ */
public final TableField<VRoleRecord, EnumRole> UNNEST = createField(DSL.name("unnest"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class), this, ""); public final TableField<VRoleRecord, EnumRole> UNNEST = createField(DSL.name("unnest"), SQLDataType.VARCHAR.asEnumDataType(EnumRole.class), this, "");
private VRole(Name alias, Table<VRoleRecord> aliased) { private VRole(Name alias, Table<VRoleRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VRole(Name alias, Table<VRoleRecord> aliased, Field<?>[] parameters) { private VRole(Name alias, Table<VRoleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_role" as SELECT unnest(enum_range(NULL::camp.enum_role)) AS unnest;
"""), where);
} }
/** /**
@ -77,10 +84,6 @@ public class VRole extends TableImpl<VRoleRecord> {
this(DSL.name("v_role"), null); this(DSL.name("v_role"), null);
} }
public <O extends Record> VRole(Table<O> child, ForeignKey<O, VRoleRecord> key) {
super(child, key, V_ROLE);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -96,6 +99,11 @@ public class VRole extends TableImpl<VRoleRecord> {
return new VRole(alias, this); return new VRole(alias, this);
} }
@Override
public VRole as(Table<?> alias) {
return new VRole(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -112,12 +120,95 @@ public class VRole extends TableImpl<VRoleRecord> {
return new VRole(name, null); return new VRole(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row1 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row1<EnumRole> fieldsRow() { public VRole rename(Table<?> name) {
return (Row1) super.fieldsRow(); return new VRole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole where(Condition condition) {
return new VRole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VRole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VRole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -9,13 +9,17 @@ import de.jottyfan.camporganizer.db.jooq.tables.records.VSalesRecord;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row16; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -123,14 +127,36 @@ public class VSales extends TableImpl<VSalesRecord> {
/** /**
* The column <code>camp.v_sales.content</code>. * The column <code>camp.v_sales.content</code>.
*/ */
public final TableField<VSalesRecord, String[]> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.getArrayDataType(), this, ""); public final TableField<VSalesRecord, String[]> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.array(), this, "");
private VSales(Name alias, Table<VSalesRecord> aliased) { private VSales(Name alias, Table<VSalesRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VSales(Name alias, Table<VSalesRecord> aliased, Field<?>[] parameters) { private VSales(Name alias, Table<VSalesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_sales" as SELECT s.pk,
s.trader,
c.pk AS fk_camp,
c.name,
l.pk AS fk_location,
l.name AS location,
s.incredients,
date_part('isoyear'::text, c.arrive) AS year,
s.pk AS fk_sales,
s.provider,
s.cash,
s.buydate,
s.recipenumber,
s.recipeshot,
s.recipenote,
array_agg(t.fk_salescontenttype) AS content
FROM (((camp.t_sales s
LEFT JOIN camp.t_camp c ON ((c.pk = s.fk_camp)))
LEFT JOIN camp.t_location l ON ((l.pk = c.fk_location)))
LEFT JOIN camp.t_salescontent t ON ((t.fk_sales = s.pk)))
GROUP BY s.pk, s.trader, c.pk, c.name, l.pk, l.name, s.incredients, (date_part('isoyear'::text, c.arrive)), s.provider, s.cash, s.buydate, s.recipenumber, s.recipeshot;
"""), where);
} }
/** /**
@ -154,10 +180,6 @@ public class VSales extends TableImpl<VSalesRecord> {
this(DSL.name("v_sales"), null); this(DSL.name("v_sales"), null);
} }
public <O extends Record> VSales(Table<O> child, ForeignKey<O, VSalesRecord> key) {
super(child, key, V_SALES);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -173,6 +195,11 @@ public class VSales extends TableImpl<VSalesRecord> {
return new VSales(alias, this); return new VSales(alias, this);
} }
@Override
public VSales as(Table<?> alias) {
return new VSales(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -189,12 +216,95 @@ public class VSales extends TableImpl<VSalesRecord> {
return new VSales(name, null); return new VSales(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row16 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row16<Integer, String, Integer, String, Integer, String, String, Double, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String[]> fieldsRow() { public VSales rename(Table<?> name) {
return (Row16) super.fieldsRow(); return new VSales(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales where(Condition condition) {
return new VSales(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VSales where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VSales where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VSales where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VSales where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VSales whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -7,12 +7,17 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Camp; import de.jottyfan.camporganizer.db.jooq.Camp;
import de.jottyfan.camporganizer.db.jooq.tables.records.VVersionRecord; import de.jottyfan.camporganizer.db.jooq.tables.records.VVersionRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field; import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name; import org.jooq.Name;
import org.jooq.Record; import org.jooq.PlainSQL;
import org.jooq.Row1; import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema; import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table; import org.jooq.Table;
import org.jooq.TableField; import org.jooq.TableField;
import org.jooq.TableOptions; import org.jooq.TableOptions;
@ -48,11 +53,13 @@ public class VVersion extends TableImpl<VVersionRecord> {
public final TableField<VVersionRecord, String> VERSION = createField(DSL.name("version"), SQLDataType.CLOB, this, ""); public final TableField<VVersionRecord, String> VERSION = createField(DSL.name("version"), SQLDataType.CLOB, this, "");
private VVersion(Name alias, Table<VVersionRecord> aliased) { private VVersion(Name alias, Table<VVersionRecord> aliased) {
this(alias, aliased, null); this(alias, aliased, (Field<?>[]) null, null);
} }
private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters) { private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "v_version" as SELECT '2023.03'::text AS version;
"""), where);
} }
/** /**
@ -76,10 +83,6 @@ public class VVersion extends TableImpl<VVersionRecord> {
this(DSL.name("v_version"), null); this(DSL.name("v_version"), null);
} }
public <O extends Record> VVersion(Table<O> child, ForeignKey<O, VVersionRecord> key) {
super(child, key, V_VERSION);
}
@Override @Override
public Schema getSchema() { public Schema getSchema() {
return aliased() ? null : Camp.CAMP; return aliased() ? null : Camp.CAMP;
@ -95,6 +98,11 @@ public class VVersion extends TableImpl<VVersionRecord> {
return new VVersion(alias, this); return new VVersion(alias, this);
} }
@Override
public VVersion as(Table<?> alias) {
return new VVersion(alias.getQualifiedName(), this);
}
/** /**
* Rename this table * Rename this table
*/ */
@ -111,12 +119,95 @@ public class VVersion extends TableImpl<VVersionRecord> {
return new VVersion(name, null); return new VVersion(name, null);
} }
// ------------------------------------------------------------------------- /**
// Row1 type methods * Rename this table
// ------------------------------------------------------------------------- */
@Override @Override
public Row1<String> fieldsRow() { public VVersion rename(Table<?> name) {
return (Row1) super.fieldsRow(); return new VVersion(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion where(Condition condition) {
return new VVersion(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VVersion where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VVersion where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VVersion where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public VVersion where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public VVersion whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
} }
} }

View File

@ -1,179 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCamp implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String name;
private final LocalDateTime arrive;
private final LocalDateTime depart;
private final Integer fkLocation;
private final Integer minAge;
private final Integer maxAge;
private final String price;
private final String countries;
private final Integer fkDocument;
private final Boolean lockSales;
private final Integer fkProfile;
public TCamp(TCamp value) {
this.pk = value.pk;
this.name = value.name;
this.arrive = value.arrive;
this.depart = value.depart;
this.fkLocation = value.fkLocation;
this.minAge = value.minAge;
this.maxAge = value.maxAge;
this.price = value.price;
this.countries = value.countries;
this.fkDocument = value.fkDocument;
this.lockSales = value.lockSales;
this.fkProfile = value.fkProfile;
}
public TCamp(
Integer pk,
String name,
LocalDateTime arrive,
LocalDateTime depart,
Integer fkLocation,
Integer minAge,
Integer maxAge,
String price,
String countries,
Integer fkDocument,
Boolean lockSales,
Integer fkProfile
) {
this.pk = pk;
this.name = name;
this.arrive = arrive;
this.depart = depart;
this.fkLocation = fkLocation;
this.minAge = minAge;
this.maxAge = maxAge;
this.price = price;
this.countries = countries;
this.fkDocument = fkDocument;
this.lockSales = lockSales;
this.fkProfile = fkProfile;
}
/**
* Getter for <code>camp.t_camp.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_camp.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.t_camp.arrive</code>.
*/
public LocalDateTime getArrive() {
return this.arrive;
}
/**
* Getter for <code>camp.t_camp.depart</code>.
*/
public LocalDateTime getDepart() {
return this.depart;
}
/**
* Getter for <code>camp.t_camp.fk_location</code>.
*/
public Integer getFkLocation() {
return this.fkLocation;
}
/**
* Getter for <code>camp.t_camp.min_age</code>.
*/
public Integer getMinAge() {
return this.minAge;
}
/**
* Getter for <code>camp.t_camp.max_age</code>.
*/
public Integer getMaxAge() {
return this.maxAge;
}
/**
* Getter for <code>camp.t_camp.price</code>.
*/
public String getPrice() {
return this.price;
}
/**
* Getter for <code>camp.t_camp.countries</code>.
*/
public String getCountries() {
return this.countries;
}
/**
* Getter for <code>camp.t_camp.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
/**
* Getter for <code>camp.t_camp.lock_sales</code>.
*/
public Boolean getLockSales() {
return this.lockSales;
}
/**
* Getter for <code>camp.t_camp.fk_profile</code>.
*/
public Integer getFkProfile() {
return this.fkProfile;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TCamp (");
sb.append(pk);
sb.append(", ").append(name);
sb.append(", ").append(arrive);
sb.append(", ").append(depart);
sb.append(", ").append(fkLocation);
sb.append(", ").append(minAge);
sb.append(", ").append(maxAge);
sb.append(", ").append(price);
sb.append(", ").append(countries);
sb.append(", ").append(fkDocument);
sb.append(", ").append(lockSales);
sb.append(", ").append(fkProfile);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,70 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCampdocument implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Integer fkCamp;
private final Integer fkDocument;
public TCampdocument(TCampdocument value) {
this.pk = value.pk;
this.fkCamp = value.fkCamp;
this.fkDocument = value.fkDocument;
}
public TCampdocument(
Integer pk,
Integer fkCamp,
Integer fkDocument
) {
this.pk = pk;
this.fkCamp = fkCamp;
this.fkDocument = fkDocument;
}
/**
* Getter for <code>camp.t_campdocument.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_campdocument.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.t_campdocument.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TCampdocument (");
sb.append(pk);
sb.append(", ").append(fkCamp);
sb.append(", ").append(fkDocument);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,84 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCampprofile implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Integer fkProfile;
private final Integer fkCamp;
private final EnumModule module;
public TCampprofile(TCampprofile value) {
this.pk = value.pk;
this.fkProfile = value.fkProfile;
this.fkCamp = value.fkCamp;
this.module = value.module;
}
public TCampprofile(
Integer pk,
Integer fkProfile,
Integer fkCamp,
EnumModule module
) {
this.pk = pk;
this.fkProfile = fkProfile;
this.fkCamp = fkCamp;
this.module = module;
}
/**
* Getter for <code>camp.t_campprofile.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_campprofile.fk_profile</code>.
*/
public Integer getFkProfile() {
return this.fkProfile;
}
/**
* Getter for <code>camp.t_campprofile.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.t_campprofile.module</code>.
*/
public EnumModule getModule() {
return this.module;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TCampprofile (");
sb.append(pk);
sb.append(", ").append(fkProfile);
sb.append(", ").append(fkCamp);
sb.append(", ").append(module);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,97 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TDocument implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final EnumDocument doctype;
private final String name;
private final String document;
private final EnumFiletype filetype;
public TDocument(TDocument value) {
this.pk = value.pk;
this.doctype = value.doctype;
this.name = value.name;
this.document = value.document;
this.filetype = value.filetype;
}
public TDocument(
Integer pk,
EnumDocument doctype,
String name,
String document,
EnumFiletype filetype
) {
this.pk = pk;
this.doctype = doctype;
this.name = name;
this.document = document;
this.filetype = filetype;
}
/**
* Getter for <code>camp.t_document.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_document.doctype</code>.
*/
public EnumDocument getDoctype() {
return this.doctype;
}
/**
* Getter for <code>camp.t_document.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.t_document.document</code>.
*/
public String getDocument() {
return this.document;
}
/**
* Getter for <code>camp.t_document.filetype</code>.
*/
public EnumFiletype getFiletype() {
return this.filetype;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TDocument (");
sb.append(pk);
sb.append(", ").append(doctype);
sb.append(", ").append(name);
sb.append(", ").append(document);
sb.append(", ").append(filetype);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,72 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TDocumentrole implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Integer fkDocument;
private final EnumCamprole camprole;
public TDocumentrole(TDocumentrole value) {
this.pk = value.pk;
this.fkDocument = value.fkDocument;
this.camprole = value.camprole;
}
public TDocumentrole(
Integer pk,
Integer fkDocument,
EnumCamprole camprole
) {
this.pk = pk;
this.fkDocument = fkDocument;
this.camprole = camprole;
}
/**
* Getter for <code>camp.t_documentrole.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_documentrole.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
/**
* Getter for <code>camp.t_documentrole.camprole</code>.
*/
public EnumCamprole getCamprole() {
return this.camprole;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TDocumentrole (");
sb.append(pk);
sb.append(", ").append(fkDocument);
sb.append(", ").append(camprole);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,82 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLocation implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String name;
private final String url;
private final Integer fkDocument;
public TLocation(TLocation value) {
this.pk = value.pk;
this.name = value.name;
this.url = value.url;
this.fkDocument = value.fkDocument;
}
public TLocation(
Integer pk,
String name,
String url,
Integer fkDocument
) {
this.pk = pk;
this.name = name;
this.url = url;
this.fkDocument = fkDocument;
}
/**
* Getter for <code>camp.t_location.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_location.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.t_location.url</code>.
*/
public String getUrl() {
return this.url;
}
/**
* Getter for <code>camp.t_location.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TLocation (");
sb.append(pk);
sb.append(", ").append(name);
sb.append(", ").append(url);
sb.append(", ").append(fkDocument);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,280 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPerson implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String forename;
private final String surname;
private final String street;
private final String zip;
private final String city;
private final String phone;
private final LocalDate birthdate;
private final EnumCamprole camprole;
private final String email;
private final Integer fkCamp;
private final Integer fkProfile;
private final Boolean accept;
private final LocalDateTime created;
private final EnumSex sex;
private final Integer fkRegistrator;
private final BigDecimal paid;
private final String comment;
private final Boolean consentCatalogPhoto;
private final BigDecimal requiredPrice;
public TPerson(TPerson value) {
this.pk = value.pk;
this.forename = value.forename;
this.surname = value.surname;
this.street = value.street;
this.zip = value.zip;
this.city = value.city;
this.phone = value.phone;
this.birthdate = value.birthdate;
this.camprole = value.camprole;
this.email = value.email;
this.fkCamp = value.fkCamp;
this.fkProfile = value.fkProfile;
this.accept = value.accept;
this.created = value.created;
this.sex = value.sex;
this.fkRegistrator = value.fkRegistrator;
this.paid = value.paid;
this.comment = value.comment;
this.consentCatalogPhoto = value.consentCatalogPhoto;
this.requiredPrice = value.requiredPrice;
}
public TPerson(
Integer pk,
String forename,
String surname,
String street,
String zip,
String city,
String phone,
LocalDate birthdate,
EnumCamprole camprole,
String email,
Integer fkCamp,
Integer fkProfile,
Boolean accept,
LocalDateTime created,
EnumSex sex,
Integer fkRegistrator,
BigDecimal paid,
String comment,
Boolean consentCatalogPhoto,
BigDecimal requiredPrice
) {
this.pk = pk;
this.forename = forename;
this.surname = surname;
this.street = street;
this.zip = zip;
this.city = city;
this.phone = phone;
this.birthdate = birthdate;
this.camprole = camprole;
this.email = email;
this.fkCamp = fkCamp;
this.fkProfile = fkProfile;
this.accept = accept;
this.created = created;
this.sex = sex;
this.fkRegistrator = fkRegistrator;
this.paid = paid;
this.comment = comment;
this.consentCatalogPhoto = consentCatalogPhoto;
this.requiredPrice = requiredPrice;
}
/**
* Getter for <code>camp.t_person.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_person.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.t_person.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.t_person.street</code>.
*/
public String getStreet() {
return this.street;
}
/**
* Getter for <code>camp.t_person.zip</code>.
*/
public String getZip() {
return this.zip;
}
/**
* Getter for <code>camp.t_person.city</code>.
*/
public String getCity() {
return this.city;
}
/**
* Getter for <code>camp.t_person.phone</code>.
*/
public String getPhone() {
return this.phone;
}
/**
* Getter for <code>camp.t_person.birthdate</code>.
*/
public LocalDate getBirthdate() {
return this.birthdate;
}
/**
* Getter for <code>camp.t_person.camprole</code>.
*/
public EnumCamprole getCamprole() {
return this.camprole;
}
/**
* Getter for <code>camp.t_person.email</code>.
*/
public String getEmail() {
return this.email;
}
/**
* Getter for <code>camp.t_person.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.t_person.fk_profile</code>.
*/
public Integer getFkProfile() {
return this.fkProfile;
}
/**
* Getter for <code>camp.t_person.accept</code>.
*/
public Boolean getAccept() {
return this.accept;
}
/**
* Getter for <code>camp.t_person.created</code>.
*/
public LocalDateTime getCreated() {
return this.created;
}
/**
* Getter for <code>camp.t_person.sex</code>.
*/
public EnumSex getSex() {
return this.sex;
}
/**
* Getter for <code>camp.t_person.fk_registrator</code>.
*/
public Integer getFkRegistrator() {
return this.fkRegistrator;
}
/**
* Getter for <code>camp.t_person.paid</code>.
*/
public BigDecimal getPaid() {
return this.paid;
}
/**
* Getter for <code>camp.t_person.comment</code>.
*/
public String getComment() {
return this.comment;
}
/**
* Getter for <code>camp.t_person.consent_catalog_photo</code>.
*/
public Boolean getConsentCatalogPhoto() {
return this.consentCatalogPhoto;
}
/**
* Getter for <code>camp.t_person.required_price</code>.
*/
public BigDecimal getRequiredPrice() {
return this.requiredPrice;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TPerson (");
sb.append(pk);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(street);
sb.append(", ").append(zip);
sb.append(", ").append(city);
sb.append(", ").append(phone);
sb.append(", ").append(birthdate);
sb.append(", ").append(camprole);
sb.append(", ").append(email);
sb.append(", ").append(fkCamp);
sb.append(", ").append(fkProfile);
sb.append(", ").append(accept);
sb.append(", ").append(created);
sb.append(", ").append(sex);
sb.append(", ").append(fkRegistrator);
sb.append(", ").append(paid);
sb.append(", ").append(comment);
sb.append(", ").append(consentCatalogPhoto);
sb.append(", ").append(requiredPrice);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,96 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPersondocument implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Integer fkPerson;
private final String name;
private final String document;
private final EnumFiletype filetype;
public TPersondocument(TPersondocument value) {
this.pk = value.pk;
this.fkPerson = value.fkPerson;
this.name = value.name;
this.document = value.document;
this.filetype = value.filetype;
}
public TPersondocument(
Integer pk,
Integer fkPerson,
String name,
String document,
EnumFiletype filetype
) {
this.pk = pk;
this.fkPerson = fkPerson;
this.name = name;
this.document = document;
this.filetype = filetype;
}
/**
* Getter for <code>camp.t_persondocument.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_persondocument.fk_person</code>.
*/
public Integer getFkPerson() {
return this.fkPerson;
}
/**
* Getter for <code>camp.t_persondocument.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.t_persondocument.document</code>.
*/
public String getDocument() {
return this.document;
}
/**
* Getter for <code>camp.t_persondocument.filetype</code>.
*/
public EnumFiletype getFiletype() {
return this.filetype;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TPersondocument (");
sb.append(pk);
sb.append(", ").append(fkPerson);
sb.append(", ").append(name);
sb.append(", ").append(document);
sb.append(", ").append(filetype);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,119 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfile implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String forename;
private final String surname;
private final String username;
private final String password;
private final LocalDateTime duedate;
private final String uuid;
public TProfile(TProfile value) {
this.pk = value.pk;
this.forename = value.forename;
this.surname = value.surname;
this.username = value.username;
this.password = value.password;
this.duedate = value.duedate;
this.uuid = value.uuid;
}
public TProfile(
Integer pk,
String forename,
String surname,
String username,
String password,
LocalDateTime duedate,
String uuid
) {
this.pk = pk;
this.forename = forename;
this.surname = surname;
this.username = username;
this.password = password;
this.duedate = duedate;
this.uuid = uuid;
}
/**
* Getter for <code>camp.t_profile.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_profile.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.t_profile.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.t_profile.username</code>.
*/
public String getUsername() {
return this.username;
}
/**
* Getter for <code>camp.t_profile.password</code>.
*/
public String getPassword() {
return this.password;
}
/**
* Getter for <code>camp.t_profile.duedate</code>.
*/
public LocalDateTime getDuedate() {
return this.duedate;
}
/**
* Getter for <code>camp.t_profile.uuid</code>.
*/
public String getUuid() {
return this.uuid;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TProfile (");
sb.append(pk);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(username);
sb.append(", ").append(password);
sb.append(", ").append(duedate);
sb.append(", ").append(uuid);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,60 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfilerole implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer fkProfile;
private final EnumRole role;
public TProfilerole(TProfilerole value) {
this.fkProfile = value.fkProfile;
this.role = value.role;
}
public TProfilerole(
Integer fkProfile,
EnumRole role
) {
this.fkProfile = fkProfile;
this.role = role;
}
/**
* Getter for <code>camp.t_profilerole.fk_profile</code>.
*/
public Integer getFkProfile() {
return this.fkProfile;
}
/**
* Getter for <code>camp.t_profilerole.role</code>.
*/
public EnumRole getRole() {
return this.role;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TProfilerole (");
sb.append(fkProfile);
sb.append(", ").append(role);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,83 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TRss implements Serializable {
private static final long serialVersionUID = 1L;
private final String msg;
private final LocalDateTime regdate;
private final String recipient;
private final Integer pk;
public TRss(TRss value) {
this.msg = value.msg;
this.regdate = value.regdate;
this.recipient = value.recipient;
this.pk = value.pk;
}
public TRss(
String msg,
LocalDateTime regdate,
String recipient,
Integer pk
) {
this.msg = msg;
this.regdate = regdate;
this.recipient = recipient;
this.pk = pk;
}
/**
* Getter for <code>camp.t_rss.msg</code>.
*/
public String getMsg() {
return this.msg;
}
/**
* Getter for <code>camp.t_rss.regdate</code>.
*/
public LocalDateTime getRegdate() {
return this.regdate;
}
/**
* Getter for <code>camp.t_rss.recipient</code>.
*/
public String getRecipient() {
return this.recipient;
}
/**
* Getter for <code>camp.t_rss.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TRss (");
sb.append(msg);
sb.append(", ").append(regdate);
sb.append(", ").append(recipient);
sb.append(", ").append(pk);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,168 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSales implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String trader;
private final Integer fkCamp;
private final String provider;
private final BigDecimal cash;
private final LocalDateTime buydate;
private final String recipenumber;
private final byte[] recipeshot;
private final String recipenote;
private final String incredients;
private final String recipefilename;
public TSales(TSales value) {
this.pk = value.pk;
this.trader = value.trader;
this.fkCamp = value.fkCamp;
this.provider = value.provider;
this.cash = value.cash;
this.buydate = value.buydate;
this.recipenumber = value.recipenumber;
this.recipeshot = value.recipeshot;
this.recipenote = value.recipenote;
this.incredients = value.incredients;
this.recipefilename = value.recipefilename;
}
public TSales(
Integer pk,
String trader,
Integer fkCamp,
String provider,
BigDecimal cash,
LocalDateTime buydate,
String recipenumber,
byte[] recipeshot,
String recipenote,
String incredients,
String recipefilename
) {
this.pk = pk;
this.trader = trader;
this.fkCamp = fkCamp;
this.provider = provider;
this.cash = cash;
this.buydate = buydate;
this.recipenumber = recipenumber;
this.recipeshot = recipeshot;
this.recipenote = recipenote;
this.incredients = incredients;
this.recipefilename = recipefilename;
}
/**
* Getter for <code>camp.t_sales.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_sales.trader</code>.
*/
public String getTrader() {
return this.trader;
}
/**
* Getter for <code>camp.t_sales.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.t_sales.provider</code>.
*/
public String getProvider() {
return this.provider;
}
/**
* Getter for <code>camp.t_sales.cash</code>.
*/
public BigDecimal getCash() {
return this.cash;
}
/**
* Getter for <code>camp.t_sales.buydate</code>.
*/
public LocalDateTime getBuydate() {
return this.buydate;
}
/**
* Getter for <code>camp.t_sales.recipenumber</code>.
*/
public String getRecipenumber() {
return this.recipenumber;
}
/**
* Getter for <code>camp.t_sales.recipeshot</code>.
*/
public byte[] getRecipeshot() {
return this.recipeshot;
}
/**
* Getter for <code>camp.t_sales.recipenote</code>.
*/
public String getRecipenote() {
return this.recipenote;
}
/**
* Getter for <code>camp.t_sales.incredients</code>.
*/
public String getIncredients() {
return this.incredients;
}
/**
* Getter for <code>camp.t_sales.recipefilename</code>.
*/
public String getRecipefilename() {
return this.recipefilename;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSales (");
sb.append(pk);
sb.append(", ").append(trader);
sb.append(", ").append(fkCamp);
sb.append(", ").append(provider);
sb.append(", ").append(cash);
sb.append(", ").append(buydate);
sb.append(", ").append(recipenumber);
sb.append(", ").append("[binary...]");
sb.append(", ").append(recipenote);
sb.append(", ").append(incredients);
sb.append(", ").append(recipefilename);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,58 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalescontent implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer fkSales;
private final String fkSalescontenttype;
public TSalescontent(TSalescontent value) {
this.fkSales = value.fkSales;
this.fkSalescontenttype = value.fkSalescontenttype;
}
public TSalescontent(
Integer fkSales,
String fkSalescontenttype
) {
this.fkSales = fkSales;
this.fkSalescontenttype = fkSalescontenttype;
}
/**
* Getter for <code>camp.t_salescontent.fk_sales</code>.
*/
public Integer getFkSales() {
return this.fkSales;
}
/**
* Getter for <code>camp.t_salescontent.fk_salescontenttype</code>.
*/
public String getFkSalescontenttype() {
return this.fkSalescontenttype;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSalescontent (");
sb.append(fkSales);
sb.append(", ").append(fkSalescontenttype);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,46 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalescontenttype implements Serializable {
private static final long serialVersionUID = 1L;
private final String name;
public TSalescontenttype(TSalescontenttype value) {
this.name = value.name;
}
public TSalescontenttype(
String name
) {
this.name = name;
}
/**
* Getter for <code>camp.t_salescontenttype.name</code>.
*/
public String getName() {
return this.name;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSalescontenttype (");
sb.append(name);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,70 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalesprofile implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Integer fkCamp;
private final Integer fkProfile;
public TSalesprofile(TSalesprofile value) {
this.pk = value.pk;
this.fkCamp = value.fkCamp;
this.fkProfile = value.fkProfile;
}
public TSalesprofile(
Integer pk,
Integer fkCamp,
Integer fkProfile
) {
this.pk = pk;
this.fkCamp = fkCamp;
this.fkProfile = fkProfile;
}
/**
* Getter for <code>camp.t_salesprofile.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.t_salesprofile.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.t_salesprofile.fk_profile</code>.
*/
public Integer getFkProfile() {
return this.fkProfile;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSalesprofile (");
sb.append(pk);
sb.append(", ").append(fkCamp);
sb.append(", ").append(fkProfile);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,98 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import java.io.Serializable;
import org.jooq.types.YearToSecond;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VAdult implements Serializable {
private static final long serialVersionUID = 1L;
private final YearToSecond age;
private final String forename;
private final String surname;
private final EnumCamprole camprole;
private final Boolean adult;
public VAdult(VAdult value) {
this.age = value.age;
this.forename = value.forename;
this.surname = value.surname;
this.camprole = value.camprole;
this.adult = value.adult;
}
public VAdult(
YearToSecond age,
String forename,
String surname,
EnumCamprole camprole,
Boolean adult
) {
this.age = age;
this.forename = forename;
this.surname = surname;
this.camprole = camprole;
this.adult = adult;
}
/**
* Getter for <code>camp.v_adult.age</code>.
*/
public YearToSecond getAge() {
return this.age;
}
/**
* Getter for <code>camp.v_adult.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.v_adult.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.v_adult.camprole</code>.
*/
public EnumCamprole getCamprole() {
return this.camprole;
}
/**
* Getter for <code>camp.v_adult.adult</code>.
*/
public Boolean getAdult() {
return this.adult;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VAdult (");
sb.append(age);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(camprole);
sb.append(", ").append(adult);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,95 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VBudget implements Serializable {
private static final long serialVersionUID = 1L;
private final BigDecimal budget;
private final Integer fkCamp;
private final String name;
private final String location;
private final Double year;
public VBudget(VBudget value) {
this.budget = value.budget;
this.fkCamp = value.fkCamp;
this.name = value.name;
this.location = value.location;
this.year = value.year;
}
public VBudget(
BigDecimal budget,
Integer fkCamp,
String name,
String location,
Double year
) {
this.budget = budget;
this.fkCamp = fkCamp;
this.name = name;
this.location = location;
this.year = year;
}
/**
* Getter for <code>camp.v_budget.budget</code>.
*/
public BigDecimal getBudget() {
return this.budget;
}
/**
* Getter for <code>camp.v_budget.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.v_budget.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_budget.location</code>.
*/
public String getLocation() {
return this.location;
}
/**
* Getter for <code>camp.v_budget.year</code>.
*/
public Double getYear() {
return this.year;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VBudget (");
sb.append(budget);
sb.append(", ").append(fkCamp);
sb.append(", ").append(name);
sb.append(", ").append(location);
sb.append(", ").append(year);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,191 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCamp implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final Boolean isOver;
private final String name;
private final LocalDateTime arrive;
private final LocalDateTime depart;
private final Double year;
private final String locationName;
private final Integer minAge;
private final Integer maxAge;
private final String url;
private final String price;
private final String countries;
private final Integer fkDocument;
public VCamp(VCamp value) {
this.pk = value.pk;
this.isOver = value.isOver;
this.name = value.name;
this.arrive = value.arrive;
this.depart = value.depart;
this.year = value.year;
this.locationName = value.locationName;
this.minAge = value.minAge;
this.maxAge = value.maxAge;
this.url = value.url;
this.price = value.price;
this.countries = value.countries;
this.fkDocument = value.fkDocument;
}
public VCamp(
Integer pk,
Boolean isOver,
String name,
LocalDateTime arrive,
LocalDateTime depart,
Double year,
String locationName,
Integer minAge,
Integer maxAge,
String url,
String price,
String countries,
Integer fkDocument
) {
this.pk = pk;
this.isOver = isOver;
this.name = name;
this.arrive = arrive;
this.depart = depart;
this.year = year;
this.locationName = locationName;
this.minAge = minAge;
this.maxAge = maxAge;
this.url = url;
this.price = price;
this.countries = countries;
this.fkDocument = fkDocument;
}
/**
* Getter for <code>camp.v_camp.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.v_camp.is_over</code>.
*/
public Boolean getIsOver() {
return this.isOver;
}
/**
* Getter for <code>camp.v_camp.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_camp.arrive</code>.
*/
public LocalDateTime getArrive() {
return this.arrive;
}
/**
* Getter for <code>camp.v_camp.depart</code>.
*/
public LocalDateTime getDepart() {
return this.depart;
}
/**
* Getter for <code>camp.v_camp.year</code>.
*/
public Double getYear() {
return this.year;
}
/**
* Getter for <code>camp.v_camp.location_name</code>.
*/
public String getLocationName() {
return this.locationName;
}
/**
* Getter for <code>camp.v_camp.min_age</code>.
*/
public Integer getMinAge() {
return this.minAge;
}
/**
* Getter for <code>camp.v_camp.max_age</code>.
*/
public Integer getMaxAge() {
return this.maxAge;
}
/**
* Getter for <code>camp.v_camp.url</code>.
*/
public String getUrl() {
return this.url;
}
/**
* Getter for <code>camp.v_camp.price</code>.
*/
public String getPrice() {
return this.price;
}
/**
* Getter for <code>camp.v_camp.countries</code>.
*/
public String getCountries() {
return this.countries;
}
/**
* Getter for <code>camp.v_camp.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCamp (");
sb.append(pk);
sb.append(", ").append(isOver);
sb.append(", ").append(name);
sb.append(", ").append(arrive);
sb.append(", ").append(depart);
sb.append(", ").append(year);
sb.append(", ").append(locationName);
sb.append(", ").append(minAge);
sb.append(", ").append(maxAge);
sb.append(", ").append(url);
sb.append(", ").append(price);
sb.append(", ").append(countries);
sb.append(", ").append(fkDocument);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,83 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCampBudget implements Serializable {
private static final long serialVersionUID = 1L;
private final BigDecimal budget;
private final Integer fkCamp;
private final String campName;
private final Double year;
public VCampBudget(VCampBudget value) {
this.budget = value.budget;
this.fkCamp = value.fkCamp;
this.campName = value.campName;
this.year = value.year;
}
public VCampBudget(
BigDecimal budget,
Integer fkCamp,
String campName,
Double year
) {
this.budget = budget;
this.fkCamp = fkCamp;
this.campName = campName;
this.year = year;
}
/**
* Getter for <code>camp.v_camp_budget.budget</code>.
*/
public BigDecimal getBudget() {
return this.budget;
}
/**
* Getter for <code>camp.v_camp_budget.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.v_camp_budget.camp_name</code>.
*/
public String getCampName() {
return this.campName;
}
/**
* Getter for <code>camp.v_camp_budget.year</code>.
*/
public Double getYear() {
return this.year;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCampBudget (");
sb.append(budget);
sb.append(", ").append(fkCamp);
sb.append(", ").append(campName);
sb.append(", ").append(year);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,59 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCampBudgetYear implements Serializable {
private static final long serialVersionUID = 1L;
private final BigDecimal sum;
private final Double year;
public VCampBudgetYear(VCampBudgetYear value) {
this.sum = value.sum;
this.year = value.year;
}
public VCampBudgetYear(
BigDecimal sum,
Double year
) {
this.sum = sum;
this.year = year;
}
/**
* Getter for <code>camp.v_camp_budget_year.sum</code>.
*/
public BigDecimal getSum() {
return this.sum;
}
/**
* Getter for <code>camp.v_camp_budget_year.year</code>.
*/
public Double getYear() {
return this.year;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCampBudgetYear (");
sb.append(sum);
sb.append(", ").append(year);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,134 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCampdocument implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer fkCamp;
private final String campname;
private final LocalDateTime arrive;
private final Integer fkDocument;
private final String document;
private final String documentname;
private final EnumDocument doctype;
private final EnumFiletype filetype;
public VCampdocument(VCampdocument value) {
this.fkCamp = value.fkCamp;
this.campname = value.campname;
this.arrive = value.arrive;
this.fkDocument = value.fkDocument;
this.document = value.document;
this.documentname = value.documentname;
this.doctype = value.doctype;
this.filetype = value.filetype;
}
public VCampdocument(
Integer fkCamp,
String campname,
LocalDateTime arrive,
Integer fkDocument,
String document,
String documentname,
EnumDocument doctype,
EnumFiletype filetype
) {
this.fkCamp = fkCamp;
this.campname = campname;
this.arrive = arrive;
this.fkDocument = fkDocument;
this.document = document;
this.documentname = documentname;
this.doctype = doctype;
this.filetype = filetype;
}
/**
* Getter for <code>camp.v_campdocument.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.v_campdocument.campname</code>.
*/
public String getCampname() {
return this.campname;
}
/**
* Getter for <code>camp.v_campdocument.arrive</code>.
*/
public LocalDateTime getArrive() {
return this.arrive;
}
/**
* Getter for <code>camp.v_campdocument.fk_document</code>.
*/
public Integer getFkDocument() {
return this.fkDocument;
}
/**
* Getter for <code>camp.v_campdocument.document</code>.
*/
public String getDocument() {
return this.document;
}
/**
* Getter for <code>camp.v_campdocument.documentname</code>.
*/
public String getDocumentname() {
return this.documentname;
}
/**
* Getter for <code>camp.v_campdocument.doctype</code>.
*/
public EnumDocument getDoctype() {
return this.doctype;
}
/**
* Getter for <code>camp.v_campdocument.filetype</code>.
*/
public EnumFiletype getFiletype() {
return this.filetype;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCampdocument (");
sb.append(fkCamp);
sb.append(", ").append(campname);
sb.append(", ").append(arrive);
sb.append(", ").append(fkDocument);
sb.append(", ").append(document);
sb.append(", ").append(documentname);
sb.append(", ").append(doctype);
sb.append(", ").append(filetype);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,48 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCamprole implements Serializable {
private static final long serialVersionUID = 1L;
private final EnumCamprole name;
public VCamprole(VCamprole value) {
this.name = value.name;
}
public VCamprole(
EnumCamprole name
) {
this.name = name;
}
/**
* Getter for <code>camp.v_camprole.name</code>.
*/
public EnumCamprole getName() {
return this.name;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCamprole (");
sb.append(name);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,109 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VDocument implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final EnumDocument doctype;
private final String name;
private final String document;
private final EnumFiletype filetype;
private final String roles;
public VDocument(VDocument value) {
this.pk = value.pk;
this.doctype = value.doctype;
this.name = value.name;
this.document = value.document;
this.filetype = value.filetype;
this.roles = value.roles;
}
public VDocument(
Integer pk,
EnumDocument doctype,
String name,
String document,
EnumFiletype filetype,
String roles
) {
this.pk = pk;
this.doctype = doctype;
this.name = name;
this.document = document;
this.filetype = filetype;
this.roles = roles;
}
/**
* Getter for <code>camp.v_document.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.v_document.doctype</code>.
*/
public EnumDocument getDoctype() {
return this.doctype;
}
/**
* Getter for <code>camp.v_document.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_document.document</code>.
*/
public String getDocument() {
return this.document;
}
/**
* Getter for <code>camp.v_document.filetype</code>.
*/
public EnumFiletype getFiletype() {
return this.filetype;
}
/**
* Getter for <code>camp.v_document.roles</code>.
*/
public String getRoles() {
return this.roles;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VDocument (");
sb.append(pk);
sb.append(", ").append(doctype);
sb.append(", ").append(name);
sb.append(", ").append(document);
sb.append(", ").append(filetype);
sb.append(", ").append(roles);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,146 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import java.io.Serializable;
import org.jooq.types.YearToSecond;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VDsgvoDeleteCandidate implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer fkPerson;
private final String forename;
private final String surname;
private final Integer fkCamp;
private final YearToSecond age;
private final EnumCamprole camprole;
private final String name;
private final Double year;
private final Boolean isOver;
public VDsgvoDeleteCandidate(VDsgvoDeleteCandidate value) {
this.fkPerson = value.fkPerson;
this.forename = value.forename;
this.surname = value.surname;
this.fkCamp = value.fkCamp;
this.age = value.age;
this.camprole = value.camprole;
this.name = value.name;
this.year = value.year;
this.isOver = value.isOver;
}
public VDsgvoDeleteCandidate(
Integer fkPerson,
String forename,
String surname,
Integer fkCamp,
YearToSecond age,
EnumCamprole camprole,
String name,
Double year,
Boolean isOver
) {
this.fkPerson = fkPerson;
this.forename = forename;
this.surname = surname;
this.fkCamp = fkCamp;
this.age = age;
this.camprole = camprole;
this.name = name;
this.year = year;
this.isOver = isOver;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.fk_person</code>.
*/
public Integer getFkPerson() {
return this.fkPerson;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.age</code>.
*/
public YearToSecond getAge() {
return this.age;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.camprole</code>.
*/
public EnumCamprole getCamprole() {
return this.camprole;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.year</code>.
*/
public Double getYear() {
return this.year;
}
/**
* Getter for <code>camp.v_dsgvo_delete_candidate.is_over</code>.
*/
public Boolean getIsOver() {
return this.isOver;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VDsgvoDeleteCandidate (");
sb.append(fkPerson);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(fkCamp);
sb.append(", ").append(age);
sb.append(", ").append(camprole);
sb.append(", ").append(name);
sb.append(", ").append(year);
sb.append(", ").append(isOver);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,170 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
import java.io.Serializable;
import org.jooq.types.YearToSecond;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VFeeder implements Serializable {
private static final long serialVersionUID = 1L;
private final String forename;
private final String surname;
private final String street;
private final String zip;
private final String city;
private final String phone;
private final YearToSecond age;
private final String email;
private final EnumSex sex;
private final String name;
private final Double year;
public VFeeder(VFeeder value) {
this.forename = value.forename;
this.surname = value.surname;
this.street = value.street;
this.zip = value.zip;
this.city = value.city;
this.phone = value.phone;
this.age = value.age;
this.email = value.email;
this.sex = value.sex;
this.name = value.name;
this.year = value.year;
}
public VFeeder(
String forename,
String surname,
String street,
String zip,
String city,
String phone,
YearToSecond age,
String email,
EnumSex sex,
String name,
Double year
) {
this.forename = forename;
this.surname = surname;
this.street = street;
this.zip = zip;
this.city = city;
this.phone = phone;
this.age = age;
this.email = email;
this.sex = sex;
this.name = name;
this.year = year;
}
/**
* Getter for <code>camp.v_feeder.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.v_feeder.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.v_feeder.street</code>.
*/
public String getStreet() {
return this.street;
}
/**
* Getter for <code>camp.v_feeder.zip</code>.
*/
public String getZip() {
return this.zip;
}
/**
* Getter for <code>camp.v_feeder.city</code>.
*/
public String getCity() {
return this.city;
}
/**
* Getter for <code>camp.v_feeder.phone</code>.
*/
public String getPhone() {
return this.phone;
}
/**
* Getter for <code>camp.v_feeder.age</code>.
*/
public YearToSecond getAge() {
return this.age;
}
/**
* Getter for <code>camp.v_feeder.email</code>.
*/
public String getEmail() {
return this.email;
}
/**
* Getter for <code>camp.v_feeder.sex</code>.
*/
public EnumSex getSex() {
return this.sex;
}
/**
* Getter for <code>camp.v_feeder.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_feeder.year</code>.
*/
public Double getYear() {
return this.year;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VFeeder (");
sb.append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(street);
sb.append(", ").append(zip);
sb.append(", ").append(city);
sb.append(", ").append(phone);
sb.append(", ").append(age);
sb.append(", ").append(email);
sb.append(", ").append(sex);
sb.append(", ").append(name);
sb.append(", ").append(year);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,121 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import java.io.Serializable;
import java.util.Arrays;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VProfile implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String forename;
private final String surname;
private final String username;
private final String password;
private final String uuid;
private final EnumRole[] roles;
public VProfile(VProfile value) {
this.pk = value.pk;
this.forename = value.forename;
this.surname = value.surname;
this.username = value.username;
this.password = value.password;
this.uuid = value.uuid;
this.roles = value.roles;
}
public VProfile(
Integer pk,
String forename,
String surname,
String username,
String password,
String uuid,
EnumRole[] roles
) {
this.pk = pk;
this.forename = forename;
this.surname = surname;
this.username = username;
this.password = password;
this.uuid = uuid;
this.roles = roles;
}
/**
* Getter for <code>camp.v_profile.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.v_profile.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.v_profile.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.v_profile.username</code>.
*/
public String getUsername() {
return this.username;
}
/**
* Getter for <code>camp.v_profile.password</code>.
*/
public String getPassword() {
return this.password;
}
/**
* Getter for <code>camp.v_profile.uuid</code>.
*/
public String getUuid() {
return this.uuid;
}
/**
* Getter for <code>camp.v_profile.roles</code>.
*/
public EnumRole[] getRoles() {
return this.roles;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VProfile (");
sb.append(pk);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(username);
sb.append(", ").append(password);
sb.append(", ").append(uuid);
sb.append(", ").append(Arrays.toString(roles));
sb.append(")");
return sb.toString();
}
}

View File

@ -1,169 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import java.io.Serializable;
import java.time.LocalDate;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VRegistration implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String forename;
private final String surname;
private final String street;
private final String zip;
private final String city;
private final String phone;
private final LocalDate birthdate;
private final EnumCamprole camprole;
private final String email;
private final String campname;
public VRegistration(VRegistration value) {
this.pk = value.pk;
this.forename = value.forename;
this.surname = value.surname;
this.street = value.street;
this.zip = value.zip;
this.city = value.city;
this.phone = value.phone;
this.birthdate = value.birthdate;
this.camprole = value.camprole;
this.email = value.email;
this.campname = value.campname;
}
public VRegistration(
Integer pk,
String forename,
String surname,
String street,
String zip,
String city,
String phone,
LocalDate birthdate,
EnumCamprole camprole,
String email,
String campname
) {
this.pk = pk;
this.forename = forename;
this.surname = surname;
this.street = street;
this.zip = zip;
this.city = city;
this.phone = phone;
this.birthdate = birthdate;
this.camprole = camprole;
this.email = email;
this.campname = campname;
}
/**
* Getter for <code>camp.v_registration.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.v_registration.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>camp.v_registration.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>camp.v_registration.street</code>.
*/
public String getStreet() {
return this.street;
}
/**
* Getter for <code>camp.v_registration.zip</code>.
*/
public String getZip() {
return this.zip;
}
/**
* Getter for <code>camp.v_registration.city</code>.
*/
public String getCity() {
return this.city;
}
/**
* Getter for <code>camp.v_registration.phone</code>.
*/
public String getPhone() {
return this.phone;
}
/**
* Getter for <code>camp.v_registration.birthdate</code>.
*/
public LocalDate getBirthdate() {
return this.birthdate;
}
/**
* Getter for <code>camp.v_registration.camprole</code>.
*/
public EnumCamprole getCamprole() {
return this.camprole;
}
/**
* Getter for <code>camp.v_registration.email</code>.
*/
public String getEmail() {
return this.email;
}
/**
* Getter for <code>camp.v_registration.campname</code>.
*/
public String getCampname() {
return this.campname;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VRegistration (");
sb.append(pk);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(street);
sb.append(", ").append(zip);
sb.append(", ").append(city);
sb.append(", ").append(phone);
sb.append(", ").append(birthdate);
sb.append(", ").append(camprole);
sb.append(", ").append(email);
sb.append(", ").append(campname);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,48 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VRole implements Serializable {
private static final long serialVersionUID = 1L;
private final EnumRole unnest;
public VRole(VRole value) {
this.unnest = value.unnest;
}
public VRole(
EnumRole unnest
) {
this.unnest = unnest;
}
/**
* Getter for <code>camp.v_role.unnest</code>.
*/
public EnumRole getUnnest() {
return this.unnest;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VRole (");
sb.append(unnest);
sb.append(")");
return sb.toString();
}
}

View File

@ -1,229 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Arrays;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VSales implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pk;
private final String trader;
private final Integer fkCamp;
private final String name;
private final Integer fkLocation;
private final String location;
private final String incredients;
private final Double year;
private final Integer fkSales;
private final String provider;
private final BigDecimal cash;
private final LocalDateTime buydate;
private final String recipenumber;
private final byte[] recipeshot;
private final String recipenote;
private final String[] content;
public VSales(VSales value) {
this.pk = value.pk;
this.trader = value.trader;
this.fkCamp = value.fkCamp;
this.name = value.name;
this.fkLocation = value.fkLocation;
this.location = value.location;
this.incredients = value.incredients;
this.year = value.year;
this.fkSales = value.fkSales;
this.provider = value.provider;
this.cash = value.cash;
this.buydate = value.buydate;
this.recipenumber = value.recipenumber;
this.recipeshot = value.recipeshot;
this.recipenote = value.recipenote;
this.content = value.content;
}
public VSales(
Integer pk,
String trader,
Integer fkCamp,
String name,
Integer fkLocation,
String location,
String incredients,
Double year,
Integer fkSales,
String provider,
BigDecimal cash,
LocalDateTime buydate,
String recipenumber,
byte[] recipeshot,
String recipenote,
String[] content
) {
this.pk = pk;
this.trader = trader;
this.fkCamp = fkCamp;
this.name = name;
this.fkLocation = fkLocation;
this.location = location;
this.incredients = incredients;
this.year = year;
this.fkSales = fkSales;
this.provider = provider;
this.cash = cash;
this.buydate = buydate;
this.recipenumber = recipenumber;
this.recipeshot = recipeshot;
this.recipenote = recipenote;
this.content = content;
}
/**
* Getter for <code>camp.v_sales.pk</code>.
*/
public Integer getPk() {
return this.pk;
}
/**
* Getter for <code>camp.v_sales.trader</code>.
*/
public String getTrader() {
return this.trader;
}
/**
* Getter for <code>camp.v_sales.fk_camp</code>.
*/
public Integer getFkCamp() {
return this.fkCamp;
}
/**
* Getter for <code>camp.v_sales.name</code>.
*/
public String getName() {
return this.name;
}
/**
* Getter for <code>camp.v_sales.fk_location</code>.
*/
public Integer getFkLocation() {
return this.fkLocation;
}
/**
* Getter for <code>camp.v_sales.location</code>.
*/
public String getLocation() {
return this.location;
}
/**
* Getter for <code>camp.v_sales.incredients</code>.
*/
public String getIncredients() {
return this.incredients;
}
/**
* Getter for <code>camp.v_sales.year</code>.
*/
public Double getYear() {
return this.year;
}
/**
* Getter for <code>camp.v_sales.fk_sales</code>.
*/
public Integer getFkSales() {
return this.fkSales;
}
/**
* Getter for <code>camp.v_sales.provider</code>.
*/
public String getProvider() {
return this.provider;
}
/**
* Getter for <code>camp.v_sales.cash</code>.
*/
public BigDecimal getCash() {
return this.cash;
}
/**
* Getter for <code>camp.v_sales.buydate</code>.
*/
public LocalDateTime getBuydate() {
return this.buydate;
}
/**
* Getter for <code>camp.v_sales.recipenumber</code>.
*/
public String getRecipenumber() {
return this.recipenumber;
}
/**
* Getter for <code>camp.v_sales.recipeshot</code>.
*/
public byte[] getRecipeshot() {
return this.recipeshot;
}
/**
* Getter for <code>camp.v_sales.recipenote</code>.
*/
public String getRecipenote() {
return this.recipenote;
}
/**
* Getter for <code>camp.v_sales.content</code>.
*/
public String[] getContent() {
return this.content;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VSales (");
sb.append(pk);
sb.append(", ").append(trader);
sb.append(", ").append(fkCamp);
sb.append(", ").append(name);
sb.append(", ").append(fkLocation);
sb.append(", ").append(location);
sb.append(", ").append(incredients);
sb.append(", ").append(year);
sb.append(", ").append(fkSales);
sb.append(", ").append(provider);
sb.append(", ").append(cash);
sb.append(", ").append(buydate);
sb.append(", ").append(recipenumber);
sb.append(", ").append("[binary...]");
sb.append(", ").append(recipenote);
sb.append(", ").append(Arrays.toString(content));
sb.append(")");
return sb.toString();
}
}

View File

@ -1,46 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VVersion implements Serializable {
private static final long serialVersionUID = 1L;
private final String version;
public VVersion(VVersion value) {
this.version = value.version;
}
public VVersion(
String version
) {
this.version = version;
}
/**
* Getter for <code>camp.v_version.version</code>.
*/
public String getVersion() {
return this.version;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VVersion (");
sb.append(version);
sb.append(")");
return sb.toString();
}
}

View File

@ -8,10 +8,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.TCamp;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record12;
import org.jooq.Row12;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -19,7 +16,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCampRecord extends UpdatableRecordImpl<TCampRecord> implements Record12<Integer, String, LocalDateTime, LocalDateTime, Integer, Integer, Integer, String, String, Integer, Boolean, Integer> { public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -212,289 +209,6 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> implements Rec
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record12 type implementation
// -------------------------------------------------------------------------
@Override
public Row12<Integer, String, LocalDateTime, LocalDateTime, Integer, Integer, Integer, String, String, Integer, Boolean, Integer> fieldsRow() {
return (Row12) super.fieldsRow();
}
@Override
public Row12<Integer, String, LocalDateTime, LocalDateTime, Integer, Integer, Integer, String, String, Integer, Boolean, Integer> valuesRow() {
return (Row12) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TCamp.T_CAMP.PK;
}
@Override
public Field<String> field2() {
return TCamp.T_CAMP.NAME;
}
@Override
public Field<LocalDateTime> field3() {
return TCamp.T_CAMP.ARRIVE;
}
@Override
public Field<LocalDateTime> field4() {
return TCamp.T_CAMP.DEPART;
}
@Override
public Field<Integer> field5() {
return TCamp.T_CAMP.FK_LOCATION;
}
@Override
public Field<Integer> field6() {
return TCamp.T_CAMP.MIN_AGE;
}
@Override
public Field<Integer> field7() {
return TCamp.T_CAMP.MAX_AGE;
}
@Override
public Field<String> field8() {
return TCamp.T_CAMP.PRICE;
}
@Override
public Field<String> field9() {
return TCamp.T_CAMP.COUNTRIES;
}
@Override
public Field<Integer> field10() {
return TCamp.T_CAMP.FK_DOCUMENT;
}
@Override
public Field<Boolean> field11() {
return TCamp.T_CAMP.LOCK_SALES;
}
@Override
public Field<Integer> field12() {
return TCamp.T_CAMP.FK_PROFILE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public String component2() {
return getName();
}
@Override
public LocalDateTime component3() {
return getArrive();
}
@Override
public LocalDateTime component4() {
return getDepart();
}
@Override
public Integer component5() {
return getFkLocation();
}
@Override
public Integer component6() {
return getMinAge();
}
@Override
public Integer component7() {
return getMaxAge();
}
@Override
public String component8() {
return getPrice();
}
@Override
public String component9() {
return getCountries();
}
@Override
public Integer component10() {
return getFkDocument();
}
@Override
public Boolean component11() {
return getLockSales();
}
@Override
public Integer component12() {
return getFkProfile();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public String value2() {
return getName();
}
@Override
public LocalDateTime value3() {
return getArrive();
}
@Override
public LocalDateTime value4() {
return getDepart();
}
@Override
public Integer value5() {
return getFkLocation();
}
@Override
public Integer value6() {
return getMinAge();
}
@Override
public Integer value7() {
return getMaxAge();
}
@Override
public String value8() {
return getPrice();
}
@Override
public String value9() {
return getCountries();
}
@Override
public Integer value10() {
return getFkDocument();
}
@Override
public Boolean value11() {
return getLockSales();
}
@Override
public Integer value12() {
return getFkProfile();
}
@Override
public TCampRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TCampRecord value2(String value) {
setName(value);
return this;
}
@Override
public TCampRecord value3(LocalDateTime value) {
setArrive(value);
return this;
}
@Override
public TCampRecord value4(LocalDateTime value) {
setDepart(value);
return this;
}
@Override
public TCampRecord value5(Integer value) {
setFkLocation(value);
return this;
}
@Override
public TCampRecord value6(Integer value) {
setMinAge(value);
return this;
}
@Override
public TCampRecord value7(Integer value) {
setMaxAge(value);
return this;
}
@Override
public TCampRecord value8(String value) {
setPrice(value);
return this;
}
@Override
public TCampRecord value9(String value) {
setCountries(value);
return this;
}
@Override
public TCampRecord value10(Integer value) {
setFkDocument(value);
return this;
}
@Override
public TCampRecord value11(Boolean value) {
setLockSales(value);
return this;
}
@Override
public TCampRecord value12(Integer value) {
setFkProfile(value);
return this;
}
@Override
public TCampRecord values(Integer value1, String value2, LocalDateTime value3, LocalDateTime value4, Integer value5, Integer value6, Integer value7, String value8, String value9, Integer value10, Boolean value11, Integer value12) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
value6(value6);
value7(value7);
value8(value8);
value9(value9);
value10(value10);
value11(value11);
value12(value12);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -524,27 +238,6 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> implements Rec
setFkDocument(fkDocument); setFkDocument(fkDocument);
setLockSales(lockSales); setLockSales(lockSales);
setFkProfile(fkProfile); setFkProfile(fkProfile);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TCampRecord
*/
public TCampRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCamp value) {
super(TCamp.T_CAMP);
if (value != null) {
setPk(value.getPk());
setName(value.getName());
setArrive(value.getArrive());
setDepart(value.getDepart());
setFkLocation(value.getFkLocation());
setMinAge(value.getMinAge());
setMaxAge(value.getMaxAge());
setPrice(value.getPrice());
setCountries(value.getCountries());
setFkDocument(value.getFkDocument());
setLockSales(value.getLockSales());
setFkProfile(value.getFkProfile());
}
} }
} }

View File

@ -6,10 +6,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument; import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -17,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord> implements Record3<Integer, Integer, Integer> { public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -75,91 +72,6 @@ public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record3 type implementation
// -------------------------------------------------------------------------
@Override
public Row3<Integer, Integer, Integer> fieldsRow() {
return (Row3) super.fieldsRow();
}
@Override
public Row3<Integer, Integer, Integer> valuesRow() {
return (Row3) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TCampdocument.T_CAMPDOCUMENT.PK;
}
@Override
public Field<Integer> field2() {
return TCampdocument.T_CAMPDOCUMENT.FK_CAMP;
}
@Override
public Field<Integer> field3() {
return TCampdocument.T_CAMPDOCUMENT.FK_DOCUMENT;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public Integer component2() {
return getFkCamp();
}
@Override
public Integer component3() {
return getFkDocument();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public Integer value2() {
return getFkCamp();
}
@Override
public Integer value3() {
return getFkDocument();
}
@Override
public TCampdocumentRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TCampdocumentRecord value2(Integer value) {
setFkCamp(value);
return this;
}
@Override
public TCampdocumentRecord value3(Integer value) {
setFkDocument(value);
return this;
}
@Override
public TCampdocumentRecord values(Integer value1, Integer value2, Integer value3) {
value1(value1);
value2(value2);
value3(value3);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -180,18 +92,6 @@ public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord
setPk(pk); setPk(pk);
setFkCamp(fkCamp); setFkCamp(fkCamp);
setFkDocument(fkDocument); setFkDocument(fkDocument);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TCampdocumentRecord
*/
public TCampdocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCampdocument value) {
super(TCampdocument.T_CAMPDOCUMENT);
if (value != null) {
setPk(value.getPk());
setFkCamp(value.getFkCamp());
setFkDocument(value.getFkDocument());
}
} }
} }

View File

@ -7,10 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule; import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile; import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record4;
import org.jooq.Row4;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord> implements Record4<Integer, Integer, Integer, EnumModule> { public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -91,113 +88,6 @@ public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord>
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record4 type implementation
// -------------------------------------------------------------------------
@Override
public Row4<Integer, Integer, Integer, EnumModule> fieldsRow() {
return (Row4) super.fieldsRow();
}
@Override
public Row4<Integer, Integer, Integer, EnumModule> valuesRow() {
return (Row4) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TCampprofile.T_CAMPPROFILE.PK;
}
@Override
public Field<Integer> field2() {
return TCampprofile.T_CAMPPROFILE.FK_PROFILE;
}
@Override
public Field<Integer> field3() {
return TCampprofile.T_CAMPPROFILE.FK_CAMP;
}
@Override
public Field<EnumModule> field4() {
return TCampprofile.T_CAMPPROFILE.MODULE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public Integer component2() {
return getFkProfile();
}
@Override
public Integer component3() {
return getFkCamp();
}
@Override
public EnumModule component4() {
return getModule();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public Integer value2() {
return getFkProfile();
}
@Override
public Integer value3() {
return getFkCamp();
}
@Override
public EnumModule value4() {
return getModule();
}
@Override
public TCampprofileRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TCampprofileRecord value2(Integer value) {
setFkProfile(value);
return this;
}
@Override
public TCampprofileRecord value3(Integer value) {
setFkCamp(value);
return this;
}
@Override
public TCampprofileRecord value4(EnumModule value) {
setModule(value);
return this;
}
@Override
public TCampprofileRecord values(Integer value1, Integer value2, Integer value3, EnumModule value4) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -219,19 +109,6 @@ public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord>
setFkProfile(fkProfile); setFkProfile(fkProfile);
setFkCamp(fkCamp); setFkCamp(fkCamp);
setModule(module); setModule(module);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TCampprofileRecord
*/
public TCampprofileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCampprofile value) {
super(TCampprofile.T_CAMPPROFILE);
if (value != null) {
setPk(value.getPk());
setFkProfile(value.getFkProfile());
setFkCamp(value.getFkCamp());
setModule(value.getModule());
}
} }
} }

View File

@ -8,10 +8,7 @@ import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype; import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument; import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -19,7 +16,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> implements Record5<Integer, EnumDocument, String, String, EnumFiletype> { public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -107,135 +104,6 @@ public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> implem
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record5 type implementation
// -------------------------------------------------------------------------
@Override
public Row5<Integer, EnumDocument, String, String, EnumFiletype> fieldsRow() {
return (Row5) super.fieldsRow();
}
@Override
public Row5<Integer, EnumDocument, String, String, EnumFiletype> valuesRow() {
return (Row5) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TDocument.T_DOCUMENT.PK;
}
@Override
public Field<EnumDocument> field2() {
return TDocument.T_DOCUMENT.DOCTYPE;
}
@Override
public Field<String> field3() {
return TDocument.T_DOCUMENT.NAME;
}
@Override
public Field<String> field4() {
return TDocument.T_DOCUMENT.DOCUMENT;
}
@Override
public Field<EnumFiletype> field5() {
return TDocument.T_DOCUMENT.FILETYPE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public EnumDocument component2() {
return getDoctype();
}
@Override
public String component3() {
return getName();
}
@Override
public String component4() {
return getDocument();
}
@Override
public EnumFiletype component5() {
return getFiletype();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public EnumDocument value2() {
return getDoctype();
}
@Override
public String value3() {
return getName();
}
@Override
public String value4() {
return getDocument();
}
@Override
public EnumFiletype value5() {
return getFiletype();
}
@Override
public TDocumentRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TDocumentRecord value2(EnumDocument value) {
setDoctype(value);
return this;
}
@Override
public TDocumentRecord value3(String value) {
setName(value);
return this;
}
@Override
public TDocumentRecord value4(String value) {
setDocument(value);
return this;
}
@Override
public TDocumentRecord value5(EnumFiletype value) {
setFiletype(value);
return this;
}
@Override
public TDocumentRecord values(Integer value1, EnumDocument value2, String value3, String value4, EnumFiletype value5) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -258,20 +126,6 @@ public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> implem
setName(name); setName(name);
setDocument(document); setDocument(document);
setFiletype(filetype); setFiletype(filetype);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TDocumentRecord
*/
public TDocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TDocument value) {
super(TDocument.T_DOCUMENT);
if (value != null) {
setPk(value.getPk());
setDoctype(value.getDoctype());
setName(value.getName());
setDocument(value.getDocument());
setFiletype(value.getFiletype());
}
} }
} }

View File

@ -7,10 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole; import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole; import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord> implements Record3<Integer, Integer, EnumCamprole> { public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -76,91 +73,6 @@ public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record3 type implementation
// -------------------------------------------------------------------------
@Override
public Row3<Integer, Integer, EnumCamprole> fieldsRow() {
return (Row3) super.fieldsRow();
}
@Override
public Row3<Integer, Integer, EnumCamprole> valuesRow() {
return (Row3) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TDocumentrole.T_DOCUMENTROLE.PK;
}
@Override
public Field<Integer> field2() {
return TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT;
}
@Override
public Field<EnumCamprole> field3() {
return TDocumentrole.T_DOCUMENTROLE.CAMPROLE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public Integer component2() {
return getFkDocument();
}
@Override
public EnumCamprole component3() {
return getCamprole();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public Integer value2() {
return getFkDocument();
}
@Override
public EnumCamprole value3() {
return getCamprole();
}
@Override
public TDocumentroleRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TDocumentroleRecord value2(Integer value) {
setFkDocument(value);
return this;
}
@Override
public TDocumentroleRecord value3(EnumCamprole value) {
setCamprole(value);
return this;
}
@Override
public TDocumentroleRecord values(Integer value1, Integer value2, EnumCamprole value3) {
value1(value1);
value2(value2);
value3(value3);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -181,18 +93,6 @@ public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord
setPk(pk); setPk(pk);
setFkDocument(fkDocument); setFkDocument(fkDocument);
setCamprole(camprole); setCamprole(camprole);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TDocumentroleRecord
*/
public TDocumentroleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TDocumentrole value) {
super(TDocumentrole.T_DOCUMENTROLE);
if (value != null) {
setPk(value.getPk());
setFkDocument(value.getFkDocument());
setCamprole(value.getCamprole());
}
} }
} }

View File

@ -6,10 +6,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation; import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record4;
import org.jooq.Row4;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -17,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> implements Record4<Integer, String, String, Integer> { public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -90,113 +87,6 @@ public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> implem
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record4 type implementation
// -------------------------------------------------------------------------
@Override
public Row4<Integer, String, String, Integer> fieldsRow() {
return (Row4) super.fieldsRow();
}
@Override
public Row4<Integer, String, String, Integer> valuesRow() {
return (Row4) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TLocation.T_LOCATION.PK;
}
@Override
public Field<String> field2() {
return TLocation.T_LOCATION.NAME;
}
@Override
public Field<String> field3() {
return TLocation.T_LOCATION.URL;
}
@Override
public Field<Integer> field4() {
return TLocation.T_LOCATION.FK_DOCUMENT;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public String component2() {
return getName();
}
@Override
public String component3() {
return getUrl();
}
@Override
public Integer component4() {
return getFkDocument();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public String value2() {
return getName();
}
@Override
public String value3() {
return getUrl();
}
@Override
public Integer value4() {
return getFkDocument();
}
@Override
public TLocationRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TLocationRecord value2(String value) {
setName(value);
return this;
}
@Override
public TLocationRecord value3(String value) {
setUrl(value);
return this;
}
@Override
public TLocationRecord value4(Integer value) {
setFkDocument(value);
return this;
}
@Override
public TLocationRecord values(Integer value1, String value2, String value3, Integer value4) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -218,19 +108,6 @@ public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> implem
setName(name); setName(name);
setUrl(url); setUrl(url);
setFkDocument(fkDocument); setFkDocument(fkDocument);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TLocationRecord
*/
public TLocationRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TLocation value) {
super(TLocation.T_LOCATION);
if (value != null) {
setPk(value.getPk());
setName(value.getName());
setUrl(value.getUrl());
setFkDocument(value.getFkDocument());
}
} }
} }

View File

@ -12,10 +12,7 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record20;
import org.jooq.Row20;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -23,7 +20,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> implements Record20<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, Integer, Integer, Boolean, LocalDateTime, EnumSex, Integer, BigDecimal, String, Boolean, BigDecimal> { public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -336,465 +333,6 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> implements
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record20 type implementation
// -------------------------------------------------------------------------
@Override
public Row20<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, Integer, Integer, Boolean, LocalDateTime, EnumSex, Integer, BigDecimal, String, Boolean, BigDecimal> fieldsRow() {
return (Row20) super.fieldsRow();
}
@Override
public Row20<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, Integer, Integer, Boolean, LocalDateTime, EnumSex, Integer, BigDecimal, String, Boolean, BigDecimal> valuesRow() {
return (Row20) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TPerson.T_PERSON.PK;
}
@Override
public Field<String> field2() {
return TPerson.T_PERSON.FORENAME;
}
@Override
public Field<String> field3() {
return TPerson.T_PERSON.SURNAME;
}
@Override
public Field<String> field4() {
return TPerson.T_PERSON.STREET;
}
@Override
public Field<String> field5() {
return TPerson.T_PERSON.ZIP;
}
@Override
public Field<String> field6() {
return TPerson.T_PERSON.CITY;
}
@Override
public Field<String> field7() {
return TPerson.T_PERSON.PHONE;
}
@Override
public Field<LocalDate> field8() {
return TPerson.T_PERSON.BIRTHDATE;
}
@Override
public Field<EnumCamprole> field9() {
return TPerson.T_PERSON.CAMPROLE;
}
@Override
public Field<String> field10() {
return TPerson.T_PERSON.EMAIL;
}
@Override
public Field<Integer> field11() {
return TPerson.T_PERSON.FK_CAMP;
}
@Override
public Field<Integer> field12() {
return TPerson.T_PERSON.FK_PROFILE;
}
@Override
public Field<Boolean> field13() {
return TPerson.T_PERSON.ACCEPT;
}
@Override
public Field<LocalDateTime> field14() {
return TPerson.T_PERSON.CREATED;
}
@Override
public Field<EnumSex> field15() {
return TPerson.T_PERSON.SEX;
}
@Override
public Field<Integer> field16() {
return TPerson.T_PERSON.FK_REGISTRATOR;
}
@Override
public Field<BigDecimal> field17() {
return TPerson.T_PERSON.PAID;
}
@Override
public Field<String> field18() {
return TPerson.T_PERSON.COMMENT;
}
@Override
public Field<Boolean> field19() {
return TPerson.T_PERSON.CONSENT_CATALOG_PHOTO;
}
@Override
public Field<BigDecimal> field20() {
return TPerson.T_PERSON.REQUIRED_PRICE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public String component2() {
return getForename();
}
@Override
public String component3() {
return getSurname();
}
@Override
public String component4() {
return getStreet();
}
@Override
public String component5() {
return getZip();
}
@Override
public String component6() {
return getCity();
}
@Override
public String component7() {
return getPhone();
}
@Override
public LocalDate component8() {
return getBirthdate();
}
@Override
public EnumCamprole component9() {
return getCamprole();
}
@Override
public String component10() {
return getEmail();
}
@Override
public Integer component11() {
return getFkCamp();
}
@Override
public Integer component12() {
return getFkProfile();
}
@Override
public Boolean component13() {
return getAccept();
}
@Override
public LocalDateTime component14() {
return getCreated();
}
@Override
public EnumSex component15() {
return getSex();
}
@Override
public Integer component16() {
return getFkRegistrator();
}
@Override
public BigDecimal component17() {
return getPaid();
}
@Override
public String component18() {
return getComment();
}
@Override
public Boolean component19() {
return getConsentCatalogPhoto();
}
@Override
public BigDecimal component20() {
return getRequiredPrice();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public String value2() {
return getForename();
}
@Override
public String value3() {
return getSurname();
}
@Override
public String value4() {
return getStreet();
}
@Override
public String value5() {
return getZip();
}
@Override
public String value6() {
return getCity();
}
@Override
public String value7() {
return getPhone();
}
@Override
public LocalDate value8() {
return getBirthdate();
}
@Override
public EnumCamprole value9() {
return getCamprole();
}
@Override
public String value10() {
return getEmail();
}
@Override
public Integer value11() {
return getFkCamp();
}
@Override
public Integer value12() {
return getFkProfile();
}
@Override
public Boolean value13() {
return getAccept();
}
@Override
public LocalDateTime value14() {
return getCreated();
}
@Override
public EnumSex value15() {
return getSex();
}
@Override
public Integer value16() {
return getFkRegistrator();
}
@Override
public BigDecimal value17() {
return getPaid();
}
@Override
public String value18() {
return getComment();
}
@Override
public Boolean value19() {
return getConsentCatalogPhoto();
}
@Override
public BigDecimal value20() {
return getRequiredPrice();
}
@Override
public TPersonRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TPersonRecord value2(String value) {
setForename(value);
return this;
}
@Override
public TPersonRecord value3(String value) {
setSurname(value);
return this;
}
@Override
public TPersonRecord value4(String value) {
setStreet(value);
return this;
}
@Override
public TPersonRecord value5(String value) {
setZip(value);
return this;
}
@Override
public TPersonRecord value6(String value) {
setCity(value);
return this;
}
@Override
public TPersonRecord value7(String value) {
setPhone(value);
return this;
}
@Override
public TPersonRecord value8(LocalDate value) {
setBirthdate(value);
return this;
}
@Override
public TPersonRecord value9(EnumCamprole value) {
setCamprole(value);
return this;
}
@Override
public TPersonRecord value10(String value) {
setEmail(value);
return this;
}
@Override
public TPersonRecord value11(Integer value) {
setFkCamp(value);
return this;
}
@Override
public TPersonRecord value12(Integer value) {
setFkProfile(value);
return this;
}
@Override
public TPersonRecord value13(Boolean value) {
setAccept(value);
return this;
}
@Override
public TPersonRecord value14(LocalDateTime value) {
setCreated(value);
return this;
}
@Override
public TPersonRecord value15(EnumSex value) {
setSex(value);
return this;
}
@Override
public TPersonRecord value16(Integer value) {
setFkRegistrator(value);
return this;
}
@Override
public TPersonRecord value17(BigDecimal value) {
setPaid(value);
return this;
}
@Override
public TPersonRecord value18(String value) {
setComment(value);
return this;
}
@Override
public TPersonRecord value19(Boolean value) {
setConsentCatalogPhoto(value);
return this;
}
@Override
public TPersonRecord value20(BigDecimal value) {
setRequiredPrice(value);
return this;
}
@Override
public TPersonRecord values(Integer value1, String value2, String value3, String value4, String value5, String value6, String value7, LocalDate value8, EnumCamprole value9, String value10, Integer value11, Integer value12, Boolean value13, LocalDateTime value14, EnumSex value15, Integer value16, BigDecimal value17, String value18, Boolean value19, BigDecimal value20) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
value6(value6);
value7(value7);
value8(value8);
value9(value9);
value10(value10);
value11(value11);
value12(value12);
value13(value13);
value14(value14);
value15(value15);
value16(value16);
value17(value17);
value18(value18);
value19(value19);
value20(value20);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -832,35 +370,6 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> implements
setComment(comment); setComment(comment);
setConsentCatalogPhoto(consentCatalogPhoto); setConsentCatalogPhoto(consentCatalogPhoto);
setRequiredPrice(requiredPrice); setRequiredPrice(requiredPrice);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TPersonRecord
*/
public TPersonRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TPerson value) {
super(TPerson.T_PERSON);
if (value != null) {
setPk(value.getPk());
setForename(value.getForename());
setSurname(value.getSurname());
setStreet(value.getStreet());
setZip(value.getZip());
setCity(value.getCity());
setPhone(value.getPhone());
setBirthdate(value.getBirthdate());
setCamprole(value.getCamprole());
setEmail(value.getEmail());
setFkCamp(value.getFkCamp());
setFkProfile(value.getFkProfile());
setAccept(value.getAccept());
setCreated(value.getCreated());
setSex(value.getSex());
setFkRegistrator(value.getFkRegistrator());
setPaid(value.getPaid());
setComment(value.getComment());
setConsentCatalogPhoto(value.getConsentCatalogPhoto());
setRequiredPrice(value.getRequiredPrice());
}
} }
} }

View File

@ -7,10 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype; import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument; import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRecord> implements Record5<Integer, Integer, String, String, EnumFiletype> { public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -106,135 +103,6 @@ public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRe
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record5 type implementation
// -------------------------------------------------------------------------
@Override
public Row5<Integer, Integer, String, String, EnumFiletype> fieldsRow() {
return (Row5) super.fieldsRow();
}
@Override
public Row5<Integer, Integer, String, String, EnumFiletype> valuesRow() {
return (Row5) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TPersondocument.T_PERSONDOCUMENT.PK;
}
@Override
public Field<Integer> field2() {
return TPersondocument.T_PERSONDOCUMENT.FK_PERSON;
}
@Override
public Field<String> field3() {
return TPersondocument.T_PERSONDOCUMENT.NAME;
}
@Override
public Field<String> field4() {
return TPersondocument.T_PERSONDOCUMENT.DOCUMENT;
}
@Override
public Field<EnumFiletype> field5() {
return TPersondocument.T_PERSONDOCUMENT.FILETYPE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public Integer component2() {
return getFkPerson();
}
@Override
public String component3() {
return getName();
}
@Override
public String component4() {
return getDocument();
}
@Override
public EnumFiletype component5() {
return getFiletype();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public Integer value2() {
return getFkPerson();
}
@Override
public String value3() {
return getName();
}
@Override
public String value4() {
return getDocument();
}
@Override
public EnumFiletype value5() {
return getFiletype();
}
@Override
public TPersondocumentRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TPersondocumentRecord value2(Integer value) {
setFkPerson(value);
return this;
}
@Override
public TPersondocumentRecord value3(String value) {
setName(value);
return this;
}
@Override
public TPersondocumentRecord value4(String value) {
setDocument(value);
return this;
}
@Override
public TPersondocumentRecord value5(EnumFiletype value) {
setFiletype(value);
return this;
}
@Override
public TPersondocumentRecord values(Integer value1, Integer value2, String value3, String value4, EnumFiletype value5) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -257,20 +125,6 @@ public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRe
setName(name); setName(name);
setDocument(document); setDocument(document);
setFiletype(filetype); setFiletype(filetype);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TPersondocumentRecord
*/
public TPersondocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TPersondocument value) {
super(TPersondocument.T_PERSONDOCUMENT);
if (value != null) {
setPk(value.getPk());
setFkPerson(value.getFkPerson());
setName(value.getName());
setDocument(value.getDocument());
setFiletype(value.getFiletype());
}
} }
} }

View File

@ -8,10 +8,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record7;
import org.jooq.Row7;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -19,7 +16,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implements Record7<Integer, String, String, String, String, LocalDateTime, String> { public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -137,179 +134,6 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record7 type implementation
// -------------------------------------------------------------------------
@Override
public Row7<Integer, String, String, String, String, LocalDateTime, String> fieldsRow() {
return (Row7) super.fieldsRow();
}
@Override
public Row7<Integer, String, String, String, String, LocalDateTime, String> valuesRow() {
return (Row7) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TProfile.T_PROFILE.PK;
}
@Override
public Field<String> field2() {
return TProfile.T_PROFILE.FORENAME;
}
@Override
public Field<String> field3() {
return TProfile.T_PROFILE.SURNAME;
}
@Override
public Field<String> field4() {
return TProfile.T_PROFILE.USERNAME;
}
@Override
public Field<String> field5() {
return TProfile.T_PROFILE.PASSWORD;
}
@Override
public Field<LocalDateTime> field6() {
return TProfile.T_PROFILE.DUEDATE;
}
@Override
public Field<String> field7() {
return TProfile.T_PROFILE.UUID;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public String component2() {
return getForename();
}
@Override
public String component3() {
return getSurname();
}
@Override
public String component4() {
return getUsername();
}
@Override
public String component5() {
return getPassword();
}
@Override
public LocalDateTime component6() {
return getDuedate();
}
@Override
public String component7() {
return getUuid();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public String value2() {
return getForename();
}
@Override
public String value3() {
return getSurname();
}
@Override
public String value4() {
return getUsername();
}
@Override
public String value5() {
return getPassword();
}
@Override
public LocalDateTime value6() {
return getDuedate();
}
@Override
public String value7() {
return getUuid();
}
@Override
public TProfileRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TProfileRecord value2(String value) {
setForename(value);
return this;
}
@Override
public TProfileRecord value3(String value) {
setSurname(value);
return this;
}
@Override
public TProfileRecord value4(String value) {
setUsername(value);
return this;
}
@Override
public TProfileRecord value5(String value) {
setPassword(value);
return this;
}
@Override
public TProfileRecord value6(LocalDateTime value) {
setDuedate(value);
return this;
}
@Override
public TProfileRecord value7(String value) {
setUuid(value);
return this;
}
@Override
public TProfileRecord values(Integer value1, String 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 // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -334,22 +158,6 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
setPassword(password); setPassword(password);
setDuedate(duedate); setDuedate(duedate);
setUuid(uuid); setUuid(uuid);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TProfileRecord
*/
public TProfileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TProfile value) {
super(TProfile.T_PROFILE);
if (value != null) {
setPk(value.getPk());
setForename(value.getForename());
setSurname(value.getSurname());
setUsername(value.getUsername());
setPassword(value.getPassword());
setDuedate(value.getDuedate());
setUuid(value.getUuid());
}
} }
} }

View File

@ -7,9 +7,6 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole; import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole; import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
import org.jooq.Field;
import org.jooq.Record2;
import org.jooq.Row2;
import org.jooq.impl.TableRecordImpl; import org.jooq.impl.TableRecordImpl;
@ -17,7 +14,7 @@ import org.jooq.impl.TableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> implements Record2<Integer, EnumRole> { public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -51,69 +48,6 @@ public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> impl
return (EnumRole) get(1); return (EnumRole) get(1);
} }
// -------------------------------------------------------------------------
// Record2 type implementation
// -------------------------------------------------------------------------
@Override
public Row2<Integer, EnumRole> fieldsRow() {
return (Row2) super.fieldsRow();
}
@Override
public Row2<Integer, EnumRole> valuesRow() {
return (Row2) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TProfilerole.T_PROFILEROLE.FK_PROFILE;
}
@Override
public Field<EnumRole> field2() {
return TProfilerole.T_PROFILEROLE.ROLE;
}
@Override
public Integer component1() {
return getFkProfile();
}
@Override
public EnumRole component2() {
return getRole();
}
@Override
public Integer value1() {
return getFkProfile();
}
@Override
public EnumRole value2() {
return getRole();
}
@Override
public TProfileroleRecord value1(Integer value) {
setFkProfile(value);
return this;
}
@Override
public TProfileroleRecord value2(EnumRole value) {
setRole(value);
return this;
}
@Override
public TProfileroleRecord values(Integer value1, EnumRole value2) {
value1(value1);
value2(value2);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -133,17 +67,6 @@ public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> impl
setFkProfile(fkProfile); setFkProfile(fkProfile);
setRole(role); setRole(role);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TProfileroleRecord
*/
public TProfileroleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TProfilerole value) {
super(TProfilerole.T_PROFILEROLE);
if (value != null) {
setFkProfile(value.getFkProfile());
setRole(value.getRole());
}
} }
} }

View File

@ -8,10 +8,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record4;
import org.jooq.Row4;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -19,7 +16,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TRssRecord extends UpdatableRecordImpl<TRssRecord> implements Record4<String, LocalDateTime, String, Integer> { public class TRssRecord extends UpdatableRecordImpl<TRssRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -92,113 +89,6 @@ public class TRssRecord extends UpdatableRecordImpl<TRssRecord> implements Recor
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record4 type implementation
// -------------------------------------------------------------------------
@Override
public Row4<String, LocalDateTime, String, Integer> fieldsRow() {
return (Row4) super.fieldsRow();
}
@Override
public Row4<String, LocalDateTime, String, Integer> valuesRow() {
return (Row4) super.valuesRow();
}
@Override
public Field<String> field1() {
return TRss.T_RSS.MSG;
}
@Override
public Field<LocalDateTime> field2() {
return TRss.T_RSS.REGDATE;
}
@Override
public Field<String> field3() {
return TRss.T_RSS.RECIPIENT;
}
@Override
public Field<Integer> field4() {
return TRss.T_RSS.PK;
}
@Override
public String component1() {
return getMsg();
}
@Override
public LocalDateTime component2() {
return getRegdate();
}
@Override
public String component3() {
return getRecipient();
}
@Override
public Integer component4() {
return getPk();
}
@Override
public String value1() {
return getMsg();
}
@Override
public LocalDateTime value2() {
return getRegdate();
}
@Override
public String value3() {
return getRecipient();
}
@Override
public Integer value4() {
return getPk();
}
@Override
public TRssRecord value1(String value) {
setMsg(value);
return this;
}
@Override
public TRssRecord value2(LocalDateTime value) {
setRegdate(value);
return this;
}
@Override
public TRssRecord value3(String value) {
setRecipient(value);
return this;
}
@Override
public TRssRecord value4(Integer value) {
setPk(value);
return this;
}
@Override
public TRssRecord values(String value1, LocalDateTime value2, String value3, Integer value4) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -220,19 +110,6 @@ public class TRssRecord extends UpdatableRecordImpl<TRssRecord> implements Recor
setRegdate(regdate); setRegdate(regdate);
setRecipient(recipient); setRecipient(recipient);
setPk(pk); setPk(pk);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TRssRecord
*/
public TRssRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TRss value) {
super(TRss.T_RSS);
if (value != null) {
setMsg(value.getMsg());
setRegdate(value.getRegdate());
setRecipient(value.getRecipient());
setPk(value.getPk());
}
} }
} }

View File

@ -9,10 +9,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Record11;
import org.jooq.Row11;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -20,7 +17,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalesRecord extends UpdatableRecordImpl<TSalesRecord> implements Record11<Integer, String, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String, String> { public class TSalesRecord extends UpdatableRecordImpl<TSalesRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -198,267 +195,6 @@ public class TSalesRecord extends UpdatableRecordImpl<TSalesRecord> implements R
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record11 type implementation
// -------------------------------------------------------------------------
@Override
public Row11<Integer, String, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String, String> fieldsRow() {
return (Row11) super.fieldsRow();
}
@Override
public Row11<Integer, String, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String, String> valuesRow() {
return (Row11) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TSales.T_SALES.PK;
}
@Override
public Field<String> field2() {
return TSales.T_SALES.TRADER;
}
@Override
public Field<Integer> field3() {
return TSales.T_SALES.FK_CAMP;
}
@Override
public Field<String> field4() {
return TSales.T_SALES.PROVIDER;
}
@Override
public Field<BigDecimal> field5() {
return TSales.T_SALES.CASH;
}
@Override
public Field<LocalDateTime> field6() {
return TSales.T_SALES.BUYDATE;
}
@Override
public Field<String> field7() {
return TSales.T_SALES.RECIPENUMBER;
}
@Override
public Field<byte[]> field8() {
return TSales.T_SALES.RECIPESHOT;
}
@Override
public Field<String> field9() {
return TSales.T_SALES.RECIPENOTE;
}
@Override
public Field<String> field10() {
return TSales.T_SALES.INCREDIENTS;
}
@Override
public Field<String> field11() {
return TSales.T_SALES.RECIPEFILENAME;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public String component2() {
return getTrader();
}
@Override
public Integer component3() {
return getFkCamp();
}
@Override
public String component4() {
return getProvider();
}
@Override
public BigDecimal component5() {
return getCash();
}
@Override
public LocalDateTime component6() {
return getBuydate();
}
@Override
public String component7() {
return getRecipenumber();
}
@Override
public byte[] component8() {
return getRecipeshot();
}
@Override
public String component9() {
return getRecipenote();
}
@Override
public String component10() {
return getIncredients();
}
@Override
public String component11() {
return getRecipefilename();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public String value2() {
return getTrader();
}
@Override
public Integer value3() {
return getFkCamp();
}
@Override
public String value4() {
return getProvider();
}
@Override
public BigDecimal value5() {
return getCash();
}
@Override
public LocalDateTime value6() {
return getBuydate();
}
@Override
public String value7() {
return getRecipenumber();
}
@Override
public byte[] value8() {
return getRecipeshot();
}
@Override
public String value9() {
return getRecipenote();
}
@Override
public String value10() {
return getIncredients();
}
@Override
public String value11() {
return getRecipefilename();
}
@Override
public TSalesRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TSalesRecord value2(String value) {
setTrader(value);
return this;
}
@Override
public TSalesRecord value3(Integer value) {
setFkCamp(value);
return this;
}
@Override
public TSalesRecord value4(String value) {
setProvider(value);
return this;
}
@Override
public TSalesRecord value5(BigDecimal value) {
setCash(value);
return this;
}
@Override
public TSalesRecord value6(LocalDateTime value) {
setBuydate(value);
return this;
}
@Override
public TSalesRecord value7(String value) {
setRecipenumber(value);
return this;
}
@Override
public TSalesRecord value8(byte[] value) {
setRecipeshot(value);
return this;
}
@Override
public TSalesRecord value9(String value) {
setRecipenote(value);
return this;
}
@Override
public TSalesRecord value10(String value) {
setIncredients(value);
return this;
}
@Override
public TSalesRecord value11(String value) {
setRecipefilename(value);
return this;
}
@Override
public TSalesRecord values(Integer value1, String value2, Integer value3, String value4, BigDecimal value5, LocalDateTime value6, String value7, byte[] value8, String value9, String value10, String value11) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
value6(value6);
value7(value7);
value8(value8);
value9(value9);
value10(value10);
value11(value11);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -487,26 +223,6 @@ public class TSalesRecord extends UpdatableRecordImpl<TSalesRecord> implements R
setRecipenote(recipenote); setRecipenote(recipenote);
setIncredients(incredients); setIncredients(incredients);
setRecipefilename(recipefilename); setRecipefilename(recipefilename);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TSalesRecord
*/
public TSalesRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSales value) {
super(TSales.T_SALES);
if (value != null) {
setPk(value.getPk());
setTrader(value.getTrader());
setFkCamp(value.getFkCamp());
setProvider(value.getProvider());
setCash(value.getCash());
setBuydate(value.getBuydate());
setRecipenumber(value.getRecipenumber());
setRecipeshot(value.getRecipeshot());
setRecipenote(value.getRecipenote());
setIncredients(value.getIncredients());
setRecipefilename(value.getRecipefilename());
}
} }
} }

View File

@ -6,9 +6,6 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import org.jooq.Field;
import org.jooq.Record2;
import org.jooq.Row2;
import org.jooq.impl.TableRecordImpl; import org.jooq.impl.TableRecordImpl;
@ -16,7 +13,7 @@ import org.jooq.impl.TableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalescontentRecord extends TableRecordImpl<TSalescontentRecord> implements Record2<Integer, String> { public class TSalescontentRecord extends TableRecordImpl<TSalescontentRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -50,69 +47,6 @@ public class TSalescontentRecord extends TableRecordImpl<TSalescontentRecord> im
return (String) get(1); return (String) get(1);
} }
// -------------------------------------------------------------------------
// Record2 type implementation
// -------------------------------------------------------------------------
@Override
public Row2<Integer, String> fieldsRow() {
return (Row2) super.fieldsRow();
}
@Override
public Row2<Integer, String> valuesRow() {
return (Row2) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TSalescontent.T_SALESCONTENT.FK_SALES;
}
@Override
public Field<String> field2() {
return TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE;
}
@Override
public Integer component1() {
return getFkSales();
}
@Override
public String component2() {
return getFkSalescontenttype();
}
@Override
public Integer value1() {
return getFkSales();
}
@Override
public String value2() {
return getFkSalescontenttype();
}
@Override
public TSalescontentRecord value1(Integer value) {
setFkSales(value);
return this;
}
@Override
public TSalescontentRecord value2(String value) {
setFkSalescontenttype(value);
return this;
}
@Override
public TSalescontentRecord values(Integer value1, String value2) {
value1(value1);
value2(value2);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -132,17 +66,6 @@ public class TSalescontentRecord extends TableRecordImpl<TSalescontentRecord> im
setFkSales(fkSales); setFkSales(fkSales);
setFkSalescontenttype(fkSalescontenttype); setFkSalescontenttype(fkSalescontenttype);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TSalescontentRecord
*/
public TSalescontentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSalescontent value) {
super(TSalescontent.T_SALESCONTENT);
if (value != null) {
setFkSales(value.getFkSales());
setFkSalescontenttype(value.getFkSalescontenttype());
}
} }
} }

View File

@ -6,9 +6,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype; import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import org.jooq.Field;
import org.jooq.Record1; import org.jooq.Record1;
import org.jooq.Row1;
import org.jooq.impl.UpdatableRecordImpl; import org.jooq.impl.UpdatableRecordImpl;
@ -16,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSalescontenttypeRecord extends UpdatableRecordImpl<TSalescontenttypeRecord> implements Record1<String> { public class TSalescontenttypeRecord extends UpdatableRecordImpl<TSalescontenttypeRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -44,47 +42,6 @@ public class TSalescontenttypeRecord extends UpdatableRecordImpl<TSalescontentty
return (Record1) super.key(); return (Record1) super.key();
} }
// -------------------------------------------------------------------------
// Record1 type implementation
// -------------------------------------------------------------------------
@Override
public Row1<String> fieldsRow() {
return (Row1) super.fieldsRow();
}
@Override
public Row1<String> valuesRow() {
return (Row1) super.valuesRow();
}
@Override
public Field<String> field1() {
return TSalescontenttype.T_SALESCONTENTTYPE.NAME;
}
@Override
public String component1() {
return getName();
}
@Override
public String value1() {
return getName();
}
@Override
public TSalescontenttypeRecord value1(String value) {
setName(value);
return this;
}
@Override
public TSalescontenttypeRecord values(String value1) {
value1(value1);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -103,16 +60,6 @@ public class TSalescontenttypeRecord extends UpdatableRecordImpl<TSalescontentty
super(TSalescontenttype.T_SALESCONTENTTYPE); super(TSalescontenttype.T_SALESCONTENTTYPE);
setName(name); setName(name);
} resetChangedOnNotNull();
/**
* Create a detached, initialised TSalescontenttypeRecord
*/
public TSalescontenttypeRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSalescontenttype value) {
super(TSalescontenttype.T_SALESCONTENTTYPE);
if (value != null) {
setName(value.getName());
}
} }
} }

View File

@ -1,197 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
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 TSalesprofileRecord extends UpdatableRecordImpl<TSalesprofileRecord> implements Record3<Integer, Integer, Integer> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>camp.t_salesprofile.pk</code>.
*/
public TSalesprofileRecord setPk(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>camp.t_salesprofile.pk</code>.
*/
public Integer getPk() {
return (Integer) get(0);
}
/**
* Setter for <code>camp.t_salesprofile.fk_camp</code>.
*/
public TSalesprofileRecord setFkCamp(Integer value) {
set(1, value);
return this;
}
/**
* Getter for <code>camp.t_salesprofile.fk_camp</code>.
*/
public Integer getFkCamp() {
return (Integer) get(1);
}
/**
* Setter for <code>camp.t_salesprofile.fk_profile</code>.
*/
public TSalesprofileRecord setFkProfile(Integer value) {
set(2, value);
return this;
}
/**
* Getter for <code>camp.t_salesprofile.fk_profile</code>.
*/
public Integer getFkProfile() {
return (Integer) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Record3 type implementation
// -------------------------------------------------------------------------
@Override
public Row3<Integer, Integer, Integer> fieldsRow() {
return (Row3) super.fieldsRow();
}
@Override
public Row3<Integer, Integer, Integer> valuesRow() {
return (Row3) super.valuesRow();
}
@Override
public Field<Integer> field1() {
return TSalesprofile.T_SALESPROFILE.PK;
}
@Override
public Field<Integer> field2() {
return TSalesprofile.T_SALESPROFILE.FK_CAMP;
}
@Override
public Field<Integer> field3() {
return TSalesprofile.T_SALESPROFILE.FK_PROFILE;
}
@Override
public Integer component1() {
return getPk();
}
@Override
public Integer component2() {
return getFkCamp();
}
@Override
public Integer component3() {
return getFkProfile();
}
@Override
public Integer value1() {
return getPk();
}
@Override
public Integer value2() {
return getFkCamp();
}
@Override
public Integer value3() {
return getFkProfile();
}
@Override
public TSalesprofileRecord value1(Integer value) {
setPk(value);
return this;
}
@Override
public TSalesprofileRecord value2(Integer value) {
setFkCamp(value);
return this;
}
@Override
public TSalesprofileRecord value3(Integer value) {
setFkProfile(value);
return this;
}
@Override
public TSalesprofileRecord values(Integer value1, Integer value2, Integer value3) {
value1(value1);
value2(value2);
value3(value3);
return this;
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TSalesprofileRecord
*/
public TSalesprofileRecord() {
super(TSalesprofile.T_SALESPROFILE);
}
/**
* Create a detached, initialised TSalesprofileRecord
*/
public TSalesprofileRecord(Integer pk, Integer fkCamp, Integer fkProfile) {
super(TSalesprofile.T_SALESPROFILE);
setPk(pk);
setFkCamp(fkCamp);
setFkProfile(fkProfile);
}
/**
* Create a detached, initialised TSalesprofileRecord
*/
public TSalesprofileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSalesprofile value) {
super(TSalesprofile.T_SALESPROFILE);
if (value != null) {
setPk(value.getPk());
setFkCamp(value.getFkCamp());
setFkProfile(value.getFkProfile());
}
}
}

View File

@ -1,267 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
import org.jooq.Field;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.TableRecordImpl;
import org.jooq.types.YearToSecond;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VAdultRecord extends TableRecordImpl<VAdultRecord> implements Record5<YearToSecond, String, String, EnumCamprole, Boolean> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>camp.v_adult.age</code>.
*/
public VAdultRecord setAge(YearToSecond value) {
set(0, value);
return this;
}
/**
* Getter for <code>camp.v_adult.age</code>.
*/
public YearToSecond getAge() {
return (YearToSecond) get(0);
}
/**
* Setter for <code>camp.v_adult.forename</code>.
*/
public VAdultRecord setForename(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>camp.v_adult.forename</code>.
*/
public String getForename() {
return (String) get(1);
}
/**
* Setter for <code>camp.v_adult.surname</code>.
*/
public VAdultRecord setSurname(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>camp.v_adult.surname</code>.
*/
public String getSurname() {
return (String) get(2);
}
/**
* Setter for <code>camp.v_adult.camprole</code>.
*/
public VAdultRecord setCamprole(EnumCamprole value) {
set(3, value);
return this;
}
/**
* Getter for <code>camp.v_adult.camprole</code>.
*/
public EnumCamprole getCamprole() {
return (EnumCamprole) get(3);
}
/**
* Setter for <code>camp.v_adult.adult</code>.
*/
public VAdultRecord setAdult(Boolean value) {
set(4, value);
return this;
}
/**
* Getter for <code>camp.v_adult.adult</code>.
*/
public Boolean getAdult() {
return (Boolean) get(4);
}
// -------------------------------------------------------------------------
// Record5 type implementation
// -------------------------------------------------------------------------
@Override
public Row5<YearToSecond, String, String, EnumCamprole, Boolean> fieldsRow() {
return (Row5) super.fieldsRow();
}
@Override
public Row5<YearToSecond, String, String, EnumCamprole, Boolean> valuesRow() {
return (Row5) super.valuesRow();
}
@Override
public Field<YearToSecond> field1() {
return VAdult.V_ADULT.AGE;
}
@Override
public Field<String> field2() {
return VAdult.V_ADULT.FORENAME;
}
@Override
public Field<String> field3() {
return VAdult.V_ADULT.SURNAME;
}
@Override
public Field<EnumCamprole> field4() {
return VAdult.V_ADULT.CAMPROLE;
}
@Override
public Field<Boolean> field5() {
return VAdult.V_ADULT.ADULT;
}
@Override
public YearToSecond component1() {
return getAge();
}
@Override
public String component2() {
return getForename();
}
@Override
public String component3() {
return getSurname();
}
@Override
public EnumCamprole component4() {
return getCamprole();
}
@Override
public Boolean component5() {
return getAdult();
}
@Override
public YearToSecond value1() {
return getAge();
}
@Override
public String value2() {
return getForename();
}
@Override
public String value3() {
return getSurname();
}
@Override
public EnumCamprole value4() {
return getCamprole();
}
@Override
public Boolean value5() {
return getAdult();
}
@Override
public VAdultRecord value1(YearToSecond value) {
setAge(value);
return this;
}
@Override
public VAdultRecord value2(String value) {
setForename(value);
return this;
}
@Override
public VAdultRecord value3(String value) {
setSurname(value);
return this;
}
@Override
public VAdultRecord value4(EnumCamprole value) {
setCamprole(value);
return this;
}
@Override
public VAdultRecord value5(Boolean value) {
setAdult(value);
return this;
}
@Override
public VAdultRecord values(YearToSecond value1, String value2, String value3, EnumCamprole value4, Boolean value5) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
return this;
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached VAdultRecord
*/
public VAdultRecord() {
super(VAdult.V_ADULT);
}
/**
* Create a detached, initialised VAdultRecord
*/
public VAdultRecord(YearToSecond age, String forename, String surname, EnumCamprole camprole, Boolean adult) {
super(VAdult.V_ADULT);
setAge(age);
setForename(forename);
setSurname(surname);
setCamprole(camprole);
setAdult(adult);
}
/**
* Create a detached, initialised VAdultRecord
*/
public VAdultRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VAdult value) {
super(VAdult.V_ADULT);
if (value != null) {
setAge(value.getAge());
setForename(value.getForename());
setSurname(value.getSurname());
setCamprole(value.getCamprole());
setAdult(value.getAdult());
}
}
}

View File

@ -8,9 +8,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.jooq.Field;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.TableRecordImpl; import org.jooq.impl.TableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.TableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VBudgetRecord extends TableRecordImpl<VBudgetRecord> implements Record5<BigDecimal, Integer, String, String, Double> { public class VBudgetRecord extends TableRecordImpl<VBudgetRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -97,135 +94,6 @@ public class VBudgetRecord extends TableRecordImpl<VBudgetRecord> implements Rec
return (Double) get(4); return (Double) get(4);
} }
// -------------------------------------------------------------------------
// Record5 type implementation
// -------------------------------------------------------------------------
@Override
public Row5<BigDecimal, Integer, String, String, Double> fieldsRow() {
return (Row5) super.fieldsRow();
}
@Override
public Row5<BigDecimal, Integer, String, String, Double> valuesRow() {
return (Row5) super.valuesRow();
}
@Override
public Field<BigDecimal> field1() {
return VBudget.V_BUDGET.BUDGET;
}
@Override
public Field<Integer> field2() {
return VBudget.V_BUDGET.FK_CAMP;
}
@Override
public Field<String> field3() {
return VBudget.V_BUDGET.NAME;
}
@Override
public Field<String> field4() {
return VBudget.V_BUDGET.LOCATION;
}
@Override
public Field<Double> field5() {
return VBudget.V_BUDGET.YEAR;
}
@Override
public BigDecimal component1() {
return getBudget();
}
@Override
public Integer component2() {
return getFkCamp();
}
@Override
public String component3() {
return getName();
}
@Override
public String component4() {
return getLocation();
}
@Override
public Double component5() {
return getYear();
}
@Override
public BigDecimal value1() {
return getBudget();
}
@Override
public Integer value2() {
return getFkCamp();
}
@Override
public String value3() {
return getName();
}
@Override
public String value4() {
return getLocation();
}
@Override
public Double value5() {
return getYear();
}
@Override
public VBudgetRecord value1(BigDecimal value) {
setBudget(value);
return this;
}
@Override
public VBudgetRecord value2(Integer value) {
setFkCamp(value);
return this;
}
@Override
public VBudgetRecord value3(String value) {
setName(value);
return this;
}
@Override
public VBudgetRecord value4(String value) {
setLocation(value);
return this;
}
@Override
public VBudgetRecord value5(Double value) {
setYear(value);
return this;
}
@Override
public VBudgetRecord values(BigDecimal value1, Integer value2, String value3, String value4, Double value5) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
value5(value5);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -248,20 +116,6 @@ public class VBudgetRecord extends TableRecordImpl<VBudgetRecord> implements Rec
setName(name); setName(name);
setLocation(location); setLocation(location);
setYear(year); setYear(year);
} resetChangedOnNotNull();
/**
* Create a detached, initialised VBudgetRecord
*/
public VBudgetRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VBudget value) {
super(VBudget.V_BUDGET);
if (value != null) {
setBudget(value.getBudget());
setFkCamp(value.getFkCamp());
setName(value.getName());
setLocation(value.getLocation());
setYear(value.getYear());
}
} }
} }

View File

@ -8,9 +8,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.jooq.Field;
import org.jooq.Record4;
import org.jooq.Row4;
import org.jooq.impl.TableRecordImpl; import org.jooq.impl.TableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.TableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCampBudgetRecord extends TableRecordImpl<VCampBudgetRecord> implements Record4<BigDecimal, Integer, String, Double> { public class VCampBudgetRecord extends TableRecordImpl<VCampBudgetRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -82,113 +79,6 @@ public class VCampBudgetRecord extends TableRecordImpl<VCampBudgetRecord> implem
return (Double) get(3); return (Double) get(3);
} }
// -------------------------------------------------------------------------
// Record4 type implementation
// -------------------------------------------------------------------------
@Override
public Row4<BigDecimal, Integer, String, Double> fieldsRow() {
return (Row4) super.fieldsRow();
}
@Override
public Row4<BigDecimal, Integer, String, Double> valuesRow() {
return (Row4) super.valuesRow();
}
@Override
public Field<BigDecimal> field1() {
return VCampBudget.V_CAMP_BUDGET.BUDGET;
}
@Override
public Field<Integer> field2() {
return VCampBudget.V_CAMP_BUDGET.FK_CAMP;
}
@Override
public Field<String> field3() {
return VCampBudget.V_CAMP_BUDGET.CAMP_NAME;
}
@Override
public Field<Double> field4() {
return VCampBudget.V_CAMP_BUDGET.YEAR;
}
@Override
public BigDecimal component1() {
return getBudget();
}
@Override
public Integer component2() {
return getFkCamp();
}
@Override
public String component3() {
return getCampName();
}
@Override
public Double component4() {
return getYear();
}
@Override
public BigDecimal value1() {
return getBudget();
}
@Override
public Integer value2() {
return getFkCamp();
}
@Override
public String value3() {
return getCampName();
}
@Override
public Double value4() {
return getYear();
}
@Override
public VCampBudgetRecord value1(BigDecimal value) {
setBudget(value);
return this;
}
@Override
public VCampBudgetRecord value2(Integer value) {
setFkCamp(value);
return this;
}
@Override
public VCampBudgetRecord value3(String value) {
setCampName(value);
return this;
}
@Override
public VCampBudgetRecord value4(Double value) {
setYear(value);
return this;
}
@Override
public VCampBudgetRecord values(BigDecimal value1, Integer value2, String value3, Double value4) {
value1(value1);
value2(value2);
value3(value3);
value4(value4);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -210,19 +100,6 @@ public class VCampBudgetRecord extends TableRecordImpl<VCampBudgetRecord> implem
setFkCamp(fkCamp); setFkCamp(fkCamp);
setCampName(campName); setCampName(campName);
setYear(year); setYear(year);
} resetChangedOnNotNull();
/**
* Create a detached, initialised VCampBudgetRecord
*/
public VCampBudgetRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCampBudget value) {
super(VCampBudget.V_CAMP_BUDGET);
if (value != null) {
setBudget(value.getBudget());
setFkCamp(value.getFkCamp());
setCampName(value.getCampName());
setYear(value.getYear());
}
} }
} }

View File

@ -8,9 +8,6 @@ import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.jooq.Field;
import org.jooq.Record2;
import org.jooq.Row2;
import org.jooq.impl.TableRecordImpl; import org.jooq.impl.TableRecordImpl;
@ -18,7 +15,7 @@ import org.jooq.impl.TableRecordImpl;
* This class is generated by jOOQ. * This class is generated by jOOQ.
*/ */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) @SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCampBudgetYearRecord extends TableRecordImpl<VCampBudgetYearRecord> implements Record2<BigDecimal, Double> { public class VCampBudgetYearRecord extends TableRecordImpl<VCampBudgetYearRecord> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -52,69 +49,6 @@ public class VCampBudgetYearRecord extends TableRecordImpl<VCampBudgetYearRecord
return (Double) get(1); return (Double) get(1);
} }
// -------------------------------------------------------------------------
// Record2 type implementation
// -------------------------------------------------------------------------
@Override
public Row2<BigDecimal, Double> fieldsRow() {
return (Row2) super.fieldsRow();
}
@Override
public Row2<BigDecimal, Double> valuesRow() {
return (Row2) super.valuesRow();
}
@Override
public Field<BigDecimal> field1() {
return VCampBudgetYear.V_CAMP_BUDGET_YEAR.SUM;
}
@Override
public Field<Double> field2() {
return VCampBudgetYear.V_CAMP_BUDGET_YEAR.YEAR;
}
@Override
public BigDecimal component1() {
return getSum();
}
@Override
public Double component2() {
return getYear();
}
@Override
public BigDecimal value1() {
return getSum();
}
@Override
public Double value2() {
return getYear();
}
@Override
public VCampBudgetYearRecord value1(BigDecimal value) {
setSum(value);
return this;
}
@Override
public VCampBudgetYearRecord value2(Double value) {
setYear(value);
return this;
}
@Override
public VCampBudgetYearRecord values(BigDecimal value1, Double value2) {
value1(value1);
value2(value2);
return this;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// Constructors // Constructors
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
@ -134,17 +68,6 @@ public class VCampBudgetYearRecord extends TableRecordImpl<VCampBudgetYearRecord
setSum(sum); setSum(sum);
setYear(year); setYear(year);
} resetChangedOnNotNull();
/**
* Create a detached, initialised VCampBudgetYearRecord
*/
public VCampBudgetYearRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCampBudgetYear value) {
super(VCampBudgetYear.V_CAMP_BUDGET_YEAR);
if (value != null) {
setSum(value.getSum());
setYear(value.getYear());
}
} }
} }

Some files were not shown because too many files have changed in this diff Show More