added camp tables

This commit is contained in:
Jottyfan
2024-12-01 16:47:22 +01:00
parent b46d3d05c0
commit cf9bf2a9cf
62 changed files with 4456 additions and 1686 deletions

View File

@@ -1,176 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TLessonRecord;
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.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 TLesson extends TableImpl<TLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_lesson</code>
*/
public static final TLesson T_LESSON = new TLesson();
/**
* The class holding records for this type
*/
@Override
public Class<TLessonRecord> getRecordType() {
return TLessonRecord.class;
}
/**
* The column <code>public.t_lesson.pk_lesson</code>.
*/
public final TableField<TLessonRecord, Integer> PK_LESSON = createField(DSL.name("pk_lesson"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_lesson.fk_slot</code>.
*/
public final TableField<TLessonRecord, Integer> FK_SLOT = createField(DSL.name("fk_slot"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_lesson.fk_person</code>.
*/
public final TableField<TLessonRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.t_lesson.notes</code>.
*/
public final TableField<TLessonRecord, String> NOTES = createField(DSL.name("notes"), SQLDataType.CLOB, this, "");
private TLesson(Name alias, Table<TLessonRecord> aliased) {
this(alias, aliased, null);
}
private TLesson(Name alias, Table<TLessonRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_lesson</code> table reference
*/
public TLesson(String alias) {
this(DSL.name(alias), T_LESSON);
}
/**
* Create an aliased <code>public.t_lesson</code> table reference
*/
public TLesson(Name alias) {
this(alias, T_LESSON);
}
/**
* Create a <code>public.t_lesson</code> table reference
*/
public TLesson() {
this(DSL.name("t_lesson"), null);
}
public <O extends Record> TLesson(Table<O> child, ForeignKey<O, TLessonRecord> key) {
super(child, key, T_LESSON);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TLessonRecord, Integer> getIdentity() {
return (Identity<TLessonRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TLessonRecord> getPrimaryKey() {
return Keys.T_LESSON_PKEY;
}
@Override
public List<UniqueKey<TLessonRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_LESSON_FK_LESSONDAY_KEY);
}
@Override
public List<ForeignKey<TLessonRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_LESSON__T_LESSON_FK_LESSONDAY_FKEY, Keys.T_LESSON__T_LESSON_FK_PERSON_FKEY);
}
private transient TSlot _tSlot;
private transient TPerson _tPerson;
/**
* Get the implicit join path to the <code>public.t_slot</code> table.
*/
public TSlot tSlot() {
if (_tSlot == null)
_tSlot = new TSlot(this, Keys.T_LESSON__T_LESSON_FK_LESSONDAY_FKEY);
return _tSlot;
}
/**
* Get the implicit join path to the <code>public.t_person</code> table.
*/
public TPerson tPerson() {
if (_tPerson == null)
_tPerson = new TPerson(this, Keys.T_LESSON__T_LESSON_FK_PERSON_FKEY);
return _tPerson;
}
@Override
public TLesson as(String alias) {
return new TLesson(DSL.name(alias), this);
}
@Override
public TLesson as(Name alias) {
return new TLesson(alias, this);
}
/**
* Rename this table
*/
@Override
public TLesson rename(String name) {
return new TLesson(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TLesson rename(Name name) {
return new TLesson(name, null);
}
}

View File

@@ -1,171 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TLessonSubjectRecord;
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.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 TLessonSubject extends TableImpl<TLessonSubjectRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_lesson_subject</code>
*/
public static final TLessonSubject T_LESSON_SUBJECT = new TLessonSubject();
/**
* The class holding records for this type
*/
@Override
public Class<TLessonSubjectRecord> getRecordType() {
return TLessonSubjectRecord.class;
}
/**
* The column <code>public.t_lesson_subject.pk_lesson_subject</code>.
*/
public final TableField<TLessonSubjectRecord, Integer> PK_LESSON_SUBJECT = createField(DSL.name("pk_lesson_subject"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_lesson_subject.fk_lesson</code>.
*/
public final TableField<TLessonSubjectRecord, Integer> FK_LESSON = createField(DSL.name("fk_lesson"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_lesson_subject.fk_subject</code>.
*/
public final TableField<TLessonSubjectRecord, Integer> FK_SUBJECT = createField(DSL.name("fk_subject"), SQLDataType.INTEGER.nullable(false), this, "");
private TLessonSubject(Name alias, Table<TLessonSubjectRecord> aliased) {
this(alias, aliased, null);
}
private TLessonSubject(Name alias, Table<TLessonSubjectRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_lesson_subject</code> table reference
*/
public TLessonSubject(String alias) {
this(DSL.name(alias), T_LESSON_SUBJECT);
}
/**
* Create an aliased <code>public.t_lesson_subject</code> table reference
*/
public TLessonSubject(Name alias) {
this(alias, T_LESSON_SUBJECT);
}
/**
* Create a <code>public.t_lesson_subject</code> table reference
*/
public TLessonSubject() {
this(DSL.name("t_lesson_subject"), null);
}
public <O extends Record> TLessonSubject(Table<O> child, ForeignKey<O, TLessonSubjectRecord> key) {
super(child, key, T_LESSON_SUBJECT);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TLessonSubjectRecord, Integer> getIdentity() {
return (Identity<TLessonSubjectRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TLessonSubjectRecord> getPrimaryKey() {
return Keys.T_LESSON_SUBJECT_PKEY;
}
@Override
public List<UniqueKey<TLessonSubjectRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_LESSON_SUBJECT_FK_LESSON_FK_SUBJECT_KEY);
}
@Override
public List<ForeignKey<TLessonSubjectRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_LESSON_FKEY, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_SUBJECT_FKEY);
}
private transient TLesson _tLesson;
private transient TSubject _tSubject;
/**
* Get the implicit join path to the <code>public.t_lesson</code> table.
*/
public TLesson tLesson() {
if (_tLesson == null)
_tLesson = new TLesson(this, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_LESSON_FKEY);
return _tLesson;
}
/**
* Get the implicit join path to the <code>public.t_subject</code> table.
*/
public TSubject tSubject() {
if (_tSubject == null)
_tSubject = new TSubject(this, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_SUBJECT_FKEY);
return _tSubject;
}
@Override
public TLessonSubject as(String alias) {
return new TLessonSubject(DSL.name(alias), this);
}
@Override
public TLessonSubject as(Name alias) {
return new TLessonSubject(alias, this);
}
/**
* Rename this table
*/
@Override
public TLessonSubject rename(String name) {
return new TLessonSubject(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TLessonSubject rename(Name name) {
return new TLessonSubject(name, null);
}
}

View File

@@ -1,148 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TPersonRecord;
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.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 TPerson extends TableImpl<TPersonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_person</code>
*/
public static final TPerson T_PERSON = new TPerson();
/**
* The class holding records for this type
*/
@Override
public Class<TPersonRecord> getRecordType() {
return TPersonRecord.class;
}
/**
* The column <code>public.t_person.pk_person</code>.
*/
public final TableField<TPersonRecord, Integer> PK_PERSON = createField(DSL.name("pk_person"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_person.forename</code>.
*/
public final TableField<TPersonRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB.nullable(false), this, "");
/**
* The column <code>public.t_person.surname</code>.
*/
public final TableField<TPersonRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB.nullable(false), this, "");
/**
* The column <code>public.t_person.abbreviation</code>.
*/
public final TableField<TPersonRecord, String> ABBREVIATION = createField(DSL.name("abbreviation"), SQLDataType.CLOB, this, "");
private TPerson(Name alias, Table<TPersonRecord> aliased) {
this(alias, aliased, null);
}
private TPerson(Name alias, Table<TPersonRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_person</code> table reference
*/
public TPerson(String alias) {
this(DSL.name(alias), T_PERSON);
}
/**
* Create an aliased <code>public.t_person</code> table reference
*/
public TPerson(Name alias) {
this(alias, T_PERSON);
}
/**
* Create a <code>public.t_person</code> table reference
*/
public TPerson() {
this(DSL.name("t_person"), null);
}
public <O extends Record> TPerson(Table<O> child, ForeignKey<O, TPersonRecord> key) {
super(child, key, T_PERSON);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TPersonRecord, Integer> getIdentity() {
return (Identity<TPersonRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TPersonRecord> getPrimaryKey() {
return Keys.T_PERSON_PKEY;
}
@Override
public List<UniqueKey<TPersonRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_PERSON_FORENAME_SURNAME_KEY, Keys.T_PERSON_ABBREVIATION_KEY);
}
@Override
public TPerson as(String alias) {
return new TPerson(DSL.name(alias), this);
}
@Override
public TPerson as(Name alias) {
return new TPerson(alias, this);
}
/**
* Rename this table
*/
@Override
public TPerson rename(String name) {
return new TPerson(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TPerson rename(Name name) {
return new TPerson(name, null);
}
}

View File

@@ -1,143 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TProfileRecord;
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.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 TProfile extends TableImpl<TProfileRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_profile</code>
*/
public static final TProfile T_PROFILE = new TProfile();
/**
* The class holding records for this type
*/
@Override
public Class<TProfileRecord> getRecordType() {
return TProfileRecord.class;
}
/**
* The column <code>public.t_profile.id</code>.
*/
public final TableField<TProfileRecord, Integer> ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_profile.username</code>.
*/
public final TableField<TProfileRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.CLOB.nullable(false), this, "");
/**
* The column <code>public.t_profile.theme</code>.
*/
public final TableField<TProfileRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB.defaultValue(DSL.field("'light'::text", SQLDataType.CLOB)), this, "");
private TProfile(Name alias, Table<TProfileRecord> aliased) {
this(alias, aliased, null);
}
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_profile</code> table reference
*/
public TProfile(String alias) {
this(DSL.name(alias), T_PROFILE);
}
/**
* Create an aliased <code>public.t_profile</code> table reference
*/
public TProfile(Name alias) {
this(alias, T_PROFILE);
}
/**
* Create a <code>public.t_profile</code> table reference
*/
public TProfile() {
this(DSL.name("t_profile"), null);
}
public <O extends Record> TProfile(Table<O> child, ForeignKey<O, TProfileRecord> key) {
super(child, key, T_PROFILE);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TProfileRecord, Integer> getIdentity() {
return (Identity<TProfileRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TProfileRecord> getPrimaryKey() {
return Keys.T_PROFILE_PKEY;
}
@Override
public List<UniqueKey<TProfileRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY);
}
@Override
public TProfile as(String alias) {
return new TProfile(DSL.name(alias), this);
}
@Override
public TProfile as(Name alias) {
return new TProfile(alias, this);
}
/**
* Rename this table
*/
@Override
public TProfile rename(String name) {
return new TProfile(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TProfile rename(Name name) {
return new TProfile(name, null);
}
}

View File

@@ -1,144 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TSlotRecord;
import java.time.LocalDate;
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.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 TSlot extends TableImpl<TSlotRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_slot</code>
*/
public static final TSlot T_SLOT = new TSlot();
/**
* The class holding records for this type
*/
@Override
public Class<TSlotRecord> getRecordType() {
return TSlotRecord.class;
}
/**
* The column <code>public.t_slot.pk_slot</code>.
*/
public final TableField<TSlotRecord, Integer> PK_SLOT = createField(DSL.name("pk_slot"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_slot.slot_day</code>.
*/
public final TableField<TSlotRecord, LocalDate> SLOT_DAY = createField(DSL.name("slot_day"), SQLDataType.LOCALDATE.nullable(false), this, "");
/**
* The column <code>public.t_slot.note</code>.
*/
public final TableField<TSlotRecord, String> NOTE = createField(DSL.name("note"), SQLDataType.CLOB, this, "");
private TSlot(Name alias, Table<TSlotRecord> aliased) {
this(alias, aliased, null);
}
private TSlot(Name alias, Table<TSlotRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_slot</code> table reference
*/
public TSlot(String alias) {
this(DSL.name(alias), T_SLOT);
}
/**
* Create an aliased <code>public.t_slot</code> table reference
*/
public TSlot(Name alias) {
this(alias, T_SLOT);
}
/**
* Create a <code>public.t_slot</code> table reference
*/
public TSlot() {
this(DSL.name("t_slot"), null);
}
public <O extends Record> TSlot(Table<O> child, ForeignKey<O, TSlotRecord> key) {
super(child, key, T_SLOT);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TSlotRecord, Integer> getIdentity() {
return (Identity<TSlotRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TSlotRecord> getPrimaryKey() {
return Keys.T_LESSONDAY_PKEY;
}
@Override
public List<UniqueKey<TSlotRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_LESSONDAY_LESSON_DAY_KEY);
}
@Override
public TSlot as(String alias) {
return new TSlot(DSL.name(alias), this);
}
@Override
public TSlot as(Name alias) {
return new TSlot(alias, this);
}
/**
* Rename this table
*/
@Override
public TSlot rename(String name) {
return new TSlot(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TSlot rename(Name name) {
return new TSlot(name, null);
}
}

View File

@@ -1,138 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TSourceRecord;
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.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 TSource extends TableImpl<TSourceRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_source</code>
*/
public static final TSource T_SOURCE = new TSource();
/**
* The class holding records for this type
*/
@Override
public Class<TSourceRecord> getRecordType() {
return TSourceRecord.class;
}
/**
* The column <code>public.t_source.pk_source</code>.
*/
public final TableField<TSourceRecord, Integer> PK_SOURCE = createField(DSL.name("pk_source"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_source.name</code>.
*/
public final TableField<TSourceRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
private TSource(Name alias, Table<TSourceRecord> aliased) {
this(alias, aliased, null);
}
private TSource(Name alias, Table<TSourceRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_source</code> table reference
*/
public TSource(String alias) {
this(DSL.name(alias), T_SOURCE);
}
/**
* Create an aliased <code>public.t_source</code> table reference
*/
public TSource(Name alias) {
this(alias, T_SOURCE);
}
/**
* Create a <code>public.t_source</code> table reference
*/
public TSource() {
this(DSL.name("t_source"), null);
}
public <O extends Record> TSource(Table<O> child, ForeignKey<O, TSourceRecord> key) {
super(child, key, T_SOURCE);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TSourceRecord, Integer> getIdentity() {
return (Identity<TSourceRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TSourceRecord> getPrimaryKey() {
return Keys.T_SOURCE_PKEY;
}
@Override
public List<UniqueKey<TSourceRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_SOURCE_NAME_KEY);
}
@Override
public TSource as(String alias) {
return new TSource(DSL.name(alias), this);
}
@Override
public TSource as(Name alias) {
return new TSource(alias, this);
}
/**
* Rename this table
*/
@Override
public TSource rename(String name) {
return new TSource(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TSource rename(Name name) {
return new TSource(name, null);
}
}

View File

@@ -1,185 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Keys;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.TSubjectRecord;
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.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 TSubject extends TableImpl<TSubjectRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_subject</code>
*/
public static final TSubject T_SUBJECT = new TSubject();
/**
* The class holding records for this type
*/
@Override
public Class<TSubjectRecord> getRecordType() {
return TSubjectRecord.class;
}
/**
* The column <code>public.t_subject.pk_subject</code>.
*/
public final TableField<TSubjectRecord, Integer> PK_SUBJECT = createField(DSL.name("pk_subject"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_subject.fk_source</code>.
*/
public final TableField<TSubjectRecord, Integer> FK_SOURCE = createField(DSL.name("fk_source"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_subject.theme</code>.
*/
public final TableField<TSubjectRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB.nullable(false), this, "");
/**
* The column <code>public.t_subject.subtheme</code>.
*/
public final TableField<TSubjectRecord, String> SUBTHEME = createField(DSL.name("subtheme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_subject.book_pages</code>.
*/
public final TableField<TSubjectRecord, String> BOOK_PAGES = createField(DSL.name("book_pages"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_subject.worksheets</code>.
*/
public final TableField<TSubjectRecord, String> WORKSHEETS = createField(DSL.name("worksheets"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_subject.bibleverse</code>.
*/
public final TableField<TSubjectRecord, String> BIBLEVERSE = createField(DSL.name("bibleverse"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_subject.notes</code>.
*/
public final TableField<TSubjectRecord, String> NOTES = createField(DSL.name("notes"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_subject.order_nr</code>.
*/
public final TableField<TSubjectRecord, Integer> ORDER_NR = createField(DSL.name("order_nr"), SQLDataType.INTEGER, this, "");
private TSubject(Name alias, Table<TSubjectRecord> aliased) {
this(alias, aliased, null);
}
private TSubject(Name alias, Table<TSubjectRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>public.t_subject</code> table reference
*/
public TSubject(String alias) {
this(DSL.name(alias), T_SUBJECT);
}
/**
* Create an aliased <code>public.t_subject</code> table reference
*/
public TSubject(Name alias) {
this(alias, T_SUBJECT);
}
/**
* Create a <code>public.t_subject</code> table reference
*/
public TSubject() {
this(DSL.name("t_subject"), null);
}
public <O extends Record> TSubject(Table<O> child, ForeignKey<O, TSubjectRecord> key) {
super(child, key, T_SUBJECT);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TSubjectRecord, Integer> getIdentity() {
return (Identity<TSubjectRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TSubjectRecord> getPrimaryKey() {
return Keys.T_SUBJECT_PKEY;
}
@Override
public List<ForeignKey<TSubjectRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_SUBJECT__T_SUBJECT_FK_SOURCE_FKEY);
}
private transient TSource _tSource;
/**
* Get the implicit join path to the <code>public.t_source</code> table.
*/
public TSource tSource() {
if (_tSource == null)
_tSource = new TSource(this, Keys.T_SUBJECT__T_SUBJECT_FK_SOURCE_FKEY);
return _tSource;
}
@Override
public TSubject as(String alias) {
return new TSubject(DSL.name(alias), this);
}
@Override
public TSubject as(Name alias) {
return new TSubject(alias, this);
}
/**
* Rename this table
*/
@Override
public TSubject rename(String name) {
return new TSubject(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TSubject rename(Name name) {
return new TSubject(name, null);
}
}

View File

@@ -1,199 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.VCalendarRecord;
import java.time.LocalDate;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCalendar extends TableImpl<VCalendarRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.v_calendar</code>
*/
public static final VCalendar V_CALENDAR = new VCalendar();
/**
* The class holding records for this type
*/
@Override
public Class<VCalendarRecord> getRecordType() {
return VCalendarRecord.class;
}
/**
* The column <code>public.v_calendar.slot_day</code>.
*/
public final TableField<VCalendarRecord, LocalDate> SLOT_DAY = createField(DSL.name("slot_day"), SQLDataType.LOCALDATE, this, "");
/**
* The column <code>public.v_calendar.fullname</code>.
*/
public final TableField<VCalendarRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.abbreviation</code>.
*/
public final TableField<VCalendarRecord, String> ABBREVIATION = createField(DSL.name("abbreviation"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.source_name</code>.
*/
public final TableField<VCalendarRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.theme</code>.
*/
public final TableField<VCalendarRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.subtheme</code>.
*/
public final TableField<VCalendarRecord, String> SUBTHEME = createField(DSL.name("subtheme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.book_pages</code>.
*/
public final TableField<VCalendarRecord, String> BOOK_PAGES = createField(DSL.name("book_pages"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.worksheets</code>.
*/
public final TableField<VCalendarRecord, String> WORKSHEETS = createField(DSL.name("worksheets"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.bibleverse</code>.
*/
public final TableField<VCalendarRecord, String> BIBLEVERSE = createField(DSL.name("bibleverse"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.subject_notes</code>.
*/
public final TableField<VCalendarRecord, String> SUBJECT_NOTES = createField(DSL.name("subject_notes"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.lesson_notes</code>.
*/
public final TableField<VCalendarRecord, String> LESSON_NOTES = createField(DSL.name("lesson_notes"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.slot_notes</code>.
*/
public final TableField<VCalendarRecord, String> SLOT_NOTES = createField(DSL.name("slot_notes"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_calendar.pk_slot</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_SLOT = createField(DSL.name("pk_slot"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_calendar.pk_lesson</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_LESSON = createField(DSL.name("pk_lesson"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_calendar.pk_lesson_subject</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_LESSON_SUBJECT = createField(DSL.name("pk_lesson_subject"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_calendar.pk_person</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_PERSON = createField(DSL.name("pk_person"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_calendar.pk_subject</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_SUBJECT = createField(DSL.name("pk_subject"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_calendar.pk_source</code>.
*/
public final TableField<VCalendarRecord, Integer> PK_SOURCE = createField(DSL.name("pk_source"), SQLDataType.INTEGER, this, "");
private VCalendar(Name alias, Table<VCalendarRecord> aliased) {
this(alias, aliased, null);
}
private VCalendar(Name alias, Table<VCalendarRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>public.v_calendar</code> table reference
*/
public VCalendar(String alias) {
this(DSL.name(alias), V_CALENDAR);
}
/**
* Create an aliased <code>public.v_calendar</code> table reference
*/
public VCalendar(Name alias) {
this(alias, V_CALENDAR);
}
/**
* Create a <code>public.v_calendar</code> table reference
*/
public VCalendar() {
this(DSL.name("v_calendar"), null);
}
public <O extends Record> VCalendar(Table<O> child, ForeignKey<O, VCalendarRecord> key) {
super(child, key, V_CALENDAR);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public VCalendar as(String alias) {
return new VCalendar(DSL.name(alias), this);
}
@Override
public VCalendar as(Name alias) {
return new VCalendar(alias, this);
}
/**
* Rename this table
*/
@Override
public VCalendar rename(String name) {
return new VCalendar(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VCalendar rename(Name name) {
return new VCalendar(name, null);
}
}

View File

@@ -1,139 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.VLessonRecord;
import java.time.LocalDate;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLesson extends TableImpl<VLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.v_lesson</code>
*/
public static final VLesson V_LESSON = new VLesson();
/**
* The class holding records for this type
*/
@Override
public Class<VLessonRecord> getRecordType() {
return VLessonRecord.class;
}
/**
* The column <code>public.v_lesson.pk_subject</code>.
*/
public final TableField<VLessonRecord, Integer> PK_SUBJECT = createField(DSL.name("pk_subject"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.v_lesson.source_name</code>.
*/
public final TableField<VLessonRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson.theme</code>.
*/
public final TableField<VLessonRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson.subtheme</code>.
*/
public final TableField<VLessonRecord, String> SUBTHEME = createField(DSL.name("subtheme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson.slots</code>.
*/
public final TableField<VLessonRecord, LocalDate[]> SLOTS = createField(DSL.name("slots"), SQLDataType.LOCALDATE.getArrayDataType(), this, "");
/**
* The column <code>public.v_lesson.order_nr</code>.
*/
public final TableField<VLessonRecord, Integer> ORDER_NR = createField(DSL.name("order_nr"), SQLDataType.INTEGER, this, "");
private VLesson(Name alias, Table<VLessonRecord> aliased) {
this(alias, aliased, null);
}
private VLesson(Name alias, Table<VLessonRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>public.v_lesson</code> table reference
*/
public VLesson(String alias) {
this(DSL.name(alias), V_LESSON);
}
/**
* Create an aliased <code>public.v_lesson</code> table reference
*/
public VLesson(Name alias) {
this(alias, V_LESSON);
}
/**
* Create a <code>public.v_lesson</code> table reference
*/
public VLesson() {
this(DSL.name("v_lesson"), null);
}
public <O extends Record> VLesson(Table<O> child, ForeignKey<O, VLessonRecord> key) {
super(child, key, V_LESSON);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public VLesson as(String alias) {
return new VLesson(DSL.name(alias), this);
}
@Override
public VLesson as(Name alias) {
return new VLesson(alias, this);
}
/**
* Rename this table
*/
@Override
public VLesson rename(String name) {
return new VLesson(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VLesson rename(Name name) {
return new VLesson(name, null);
}
}

View File

@@ -1,127 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.VLessonMissingRecord;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLessonMissing extends TableImpl<VLessonMissingRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.v_lesson_missing</code>
*/
public static final VLessonMissing V_LESSON_MISSING = new VLessonMissing();
/**
* The class holding records for this type
*/
@Override
public Class<VLessonMissingRecord> getRecordType() {
return VLessonMissingRecord.class;
}
/**
* The column <code>public.v_lesson_missing.source_name</code>.
*/
public final TableField<VLessonMissingRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson_missing.theme</code>.
*/
public final TableField<VLessonMissingRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson_missing.subtheme</code>.
*/
public final TableField<VLessonMissingRecord, String> SUBTHEME = createField(DSL.name("subtheme"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.v_lesson_missing.order_nr</code>.
*/
public final TableField<VLessonMissingRecord, Integer> ORDER_NR = createField(DSL.name("order_nr"), SQLDataType.INTEGER, this, "");
private VLessonMissing(Name alias, Table<VLessonMissingRecord> aliased) {
this(alias, aliased, null);
}
private VLessonMissing(Name alias, Table<VLessonMissingRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>public.v_lesson_missing</code> table reference
*/
public VLessonMissing(String alias) {
this(DSL.name(alias), V_LESSON_MISSING);
}
/**
* Create an aliased <code>public.v_lesson_missing</code> table reference
*/
public VLessonMissing(Name alias) {
this(alias, V_LESSON_MISSING);
}
/**
* Create a <code>public.v_lesson_missing</code> table reference
*/
public VLessonMissing() {
this(DSL.name("v_lesson_missing"), null);
}
public <O extends Record> VLessonMissing(Table<O> child, ForeignKey<O, VLessonMissingRecord> key) {
super(child, key, V_LESSON_MISSING);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public VLessonMissing as(String alias) {
return new VLessonMissing(DSL.name(alias), this);
}
@Override
public VLessonMissing as(Name alias) {
return new VLessonMissing(alias, this);
}
/**
* Rename this table
*/
@Override
public VLessonMissing rename(String name) {
return new VLessonMissing(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VLessonMissing rename(Name name) {
return new VLessonMissing(name, null);
}
}

View File

@@ -1,112 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables;
import de.jottyfan.bico.db.Public;
import de.jottyfan.bico.db.tables.records.VVersionRecord;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VVersion extends TableImpl<VVersionRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.v_version</code>
*/
public static final VVersion V_VERSION = new VVersion();
/**
* The class holding records for this type
*/
@Override
public Class<VVersionRecord> getRecordType() {
return VVersionRecord.class;
}
/**
* The column <code>public.v_version.version</code>.
*/
public final TableField<VVersionRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
private VVersion(Name alias, Table<VVersionRecord> aliased) {
this(alias, aliased, null);
}
private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased <code>public.v_version</code> table reference
*/
public VVersion(String alias) {
this(DSL.name(alias), V_VERSION);
}
/**
* Create an aliased <code>public.v_version</code> table reference
*/
public VVersion(Name alias) {
this(alias, V_VERSION);
}
/**
* Create a <code>public.v_version</code> table reference
*/
public VVersion() {
this(DSL.name("v_version"), null);
}
public <O extends Record> VVersion(Table<O> child, ForeignKey<O, VVersionRecord> key) {
super(child, key, V_VERSION);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public VVersion as(String alias) {
return new VVersion(DSL.name(alias), this);
}
@Override
public VVersion as(Name alias) {
return new VVersion(alias, this);
}
/**
* Rename this table
*/
@Override
public VVersion rename(String name) {
return new VVersion(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public VVersion rename(Name name) {
return new VVersion(name, null);
}
}

View File

@@ -1,129 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLesson implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkLesson;
private final Integer fkSlot;
private final Integer fkPerson;
private final String notes;
public TLesson(TLesson value) {
this.pkLesson = value.pkLesson;
this.fkSlot = value.fkSlot;
this.fkPerson = value.fkPerson;
this.notes = value.notes;
}
public TLesson(
Integer pkLesson,
Integer fkSlot,
Integer fkPerson,
String notes
) {
this.pkLesson = pkLesson;
this.fkSlot = fkSlot;
this.fkPerson = fkPerson;
this.notes = notes;
}
/**
* Getter for <code>public.t_lesson.pk_lesson</code>.
*/
public Integer getPkLesson() {
return this.pkLesson;
}
/**
* Getter for <code>public.t_lesson.fk_slot</code>.
*/
public Integer getFkSlot() {
return this.fkSlot;
}
/**
* Getter for <code>public.t_lesson.fk_person</code>.
*/
public Integer getFkPerson() {
return this.fkPerson;
}
/**
* Getter for <code>public.t_lesson.notes</code>.
*/
public String getNotes() {
return this.notes;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TLesson other = (TLesson) obj;
if (pkLesson == null) {
if (other.pkLesson != null)
return false;
}
else if (!pkLesson.equals(other.pkLesson))
return false;
if (fkSlot == null) {
if (other.fkSlot != null)
return false;
}
else if (!fkSlot.equals(other.fkSlot))
return false;
if (fkPerson == null) {
if (other.fkPerson != null)
return false;
}
else if (!fkPerson.equals(other.fkPerson))
return false;
if (notes == null) {
if (other.notes != null)
return false;
}
else if (!notes.equals(other.notes))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkLesson == null) ? 0 : this.pkLesson.hashCode());
result = prime * result + ((this.fkSlot == null) ? 0 : this.fkSlot.hashCode());
result = prime * result + ((this.fkPerson == null) ? 0 : this.fkPerson.hashCode());
result = prime * result + ((this.notes == null) ? 0 : this.notes.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TLesson (");
sb.append(pkLesson);
sb.append(", ").append(fkSlot);
sb.append(", ").append(fkPerson);
sb.append(", ").append(notes);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,110 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLessonSubject implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkLessonSubject;
private final Integer fkLesson;
private final Integer fkSubject;
public TLessonSubject(TLessonSubject value) {
this.pkLessonSubject = value.pkLessonSubject;
this.fkLesson = value.fkLesson;
this.fkSubject = value.fkSubject;
}
public TLessonSubject(
Integer pkLessonSubject,
Integer fkLesson,
Integer fkSubject
) {
this.pkLessonSubject = pkLessonSubject;
this.fkLesson = fkLesson;
this.fkSubject = fkSubject;
}
/**
* Getter for <code>public.t_lesson_subject.pk_lesson_subject</code>.
*/
public Integer getPkLessonSubject() {
return this.pkLessonSubject;
}
/**
* Getter for <code>public.t_lesson_subject.fk_lesson</code>.
*/
public Integer getFkLesson() {
return this.fkLesson;
}
/**
* Getter for <code>public.t_lesson_subject.fk_subject</code>.
*/
public Integer getFkSubject() {
return this.fkSubject;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TLessonSubject other = (TLessonSubject) obj;
if (pkLessonSubject == null) {
if (other.pkLessonSubject != null)
return false;
}
else if (!pkLessonSubject.equals(other.pkLessonSubject))
return false;
if (fkLesson == null) {
if (other.fkLesson != null)
return false;
}
else if (!fkLesson.equals(other.fkLesson))
return false;
if (fkSubject == null) {
if (other.fkSubject != null)
return false;
}
else if (!fkSubject.equals(other.fkSubject))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkLessonSubject == null) ? 0 : this.pkLessonSubject.hashCode());
result = prime * result + ((this.fkLesson == null) ? 0 : this.fkLesson.hashCode());
result = prime * result + ((this.fkSubject == null) ? 0 : this.fkSubject.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TLessonSubject (");
sb.append(pkLessonSubject);
sb.append(", ").append(fkLesson);
sb.append(", ").append(fkSubject);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,129 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPerson implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkPerson;
private final String forename;
private final String surname;
private final String abbreviation;
public TPerson(TPerson value) {
this.pkPerson = value.pkPerson;
this.forename = value.forename;
this.surname = value.surname;
this.abbreviation = value.abbreviation;
}
public TPerson(
Integer pkPerson,
String forename,
String surname,
String abbreviation
) {
this.pkPerson = pkPerson;
this.forename = forename;
this.surname = surname;
this.abbreviation = abbreviation;
}
/**
* Getter for <code>public.t_person.pk_person</code>.
*/
public Integer getPkPerson() {
return this.pkPerson;
}
/**
* Getter for <code>public.t_person.forename</code>.
*/
public String getForename() {
return this.forename;
}
/**
* Getter for <code>public.t_person.surname</code>.
*/
public String getSurname() {
return this.surname;
}
/**
* Getter for <code>public.t_person.abbreviation</code>.
*/
public String getAbbreviation() {
return this.abbreviation;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TPerson other = (TPerson) obj;
if (pkPerson == null) {
if (other.pkPerson != null)
return false;
}
else if (!pkPerson.equals(other.pkPerson))
return false;
if (forename == null) {
if (other.forename != null)
return false;
}
else if (!forename.equals(other.forename))
return false;
if (surname == null) {
if (other.surname != null)
return false;
}
else if (!surname.equals(other.surname))
return false;
if (abbreviation == null) {
if (other.abbreviation != null)
return false;
}
else if (!abbreviation.equals(other.abbreviation))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkPerson == null) ? 0 : this.pkPerson.hashCode());
result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
result = prime * result + ((this.abbreviation == null) ? 0 : this.abbreviation.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TPerson (");
sb.append(pkPerson);
sb.append(", ").append(forename);
sb.append(", ").append(surname);
sb.append(", ").append(abbreviation);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,110 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfile implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer id;
private final String username;
private final String theme;
public TProfile(TProfile value) {
this.id = value.id;
this.username = value.username;
this.theme = value.theme;
}
public TProfile(
Integer id,
String username,
String theme
) {
this.id = id;
this.username = username;
this.theme = theme;
}
/**
* Getter for <code>public.t_profile.id</code>.
*/
public Integer getId() {
return this.id;
}
/**
* Getter for <code>public.t_profile.username</code>.
*/
public String getUsername() {
return this.username;
}
/**
* Getter for <code>public.t_profile.theme</code>.
*/
public String getTheme() {
return this.theme;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TProfile other = (TProfile) obj;
if (id == null) {
if (other.id != null)
return false;
}
else if (!id.equals(other.id))
return false;
if (username == null) {
if (other.username != null)
return false;
}
else if (!username.equals(other.username))
return false;
if (theme == null) {
if (other.theme != null)
return false;
}
else if (!theme.equals(other.theme))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.id == null) ? 0 : this.id.hashCode());
result = prime * result + ((this.username == null) ? 0 : this.username.hashCode());
result = prime * result + ((this.theme == null) ? 0 : this.theme.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TProfile (");
sb.append(id);
sb.append(", ").append(username);
sb.append(", ").append(theme);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,111 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
import java.time.LocalDate;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSlot implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkSlot;
private final LocalDate slotDay;
private final String note;
public TSlot(TSlot value) {
this.pkSlot = value.pkSlot;
this.slotDay = value.slotDay;
this.note = value.note;
}
public TSlot(
Integer pkSlot,
LocalDate slotDay,
String note
) {
this.pkSlot = pkSlot;
this.slotDay = slotDay;
this.note = note;
}
/**
* Getter for <code>public.t_slot.pk_slot</code>.
*/
public Integer getPkSlot() {
return this.pkSlot;
}
/**
* Getter for <code>public.t_slot.slot_day</code>.
*/
public LocalDate getSlotDay() {
return this.slotDay;
}
/**
* Getter for <code>public.t_slot.note</code>.
*/
public String getNote() {
return this.note;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TSlot other = (TSlot) obj;
if (pkSlot == null) {
if (other.pkSlot != null)
return false;
}
else if (!pkSlot.equals(other.pkSlot))
return false;
if (slotDay == null) {
if (other.slotDay != null)
return false;
}
else if (!slotDay.equals(other.slotDay))
return false;
if (note == null) {
if (other.note != null)
return false;
}
else if (!note.equals(other.note))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkSlot == null) ? 0 : this.pkSlot.hashCode());
result = prime * result + ((this.slotDay == null) ? 0 : this.slotDay.hashCode());
result = prime * result + ((this.note == null) ? 0 : this.note.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSlot (");
sb.append(pkSlot);
sb.append(", ").append(slotDay);
sb.append(", ").append(note);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,91 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSource implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkSource;
private final String name;
public TSource(TSource value) {
this.pkSource = value.pkSource;
this.name = value.name;
}
public TSource(
Integer pkSource,
String name
) {
this.pkSource = pkSource;
this.name = name;
}
/**
* Getter for <code>public.t_source.pk_source</code>.
*/
public Integer getPkSource() {
return this.pkSource;
}
/**
* Getter for <code>public.t_source.name</code>.
*/
public String getName() {
return this.name;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TSource other = (TSource) obj;
if (pkSource == null) {
if (other.pkSource != null)
return false;
}
else if (!pkSource.equals(other.pkSource))
return false;
if (name == null) {
if (other.name != null)
return false;
}
else if (!name.equals(other.name))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkSource == null) ? 0 : this.pkSource.hashCode());
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSource (");
sb.append(pkSource);
sb.append(", ").append(name);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,224 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSubject implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkSubject;
private final Integer fkSource;
private final String theme;
private final String subtheme;
private final String bookPages;
private final String worksheets;
private final String bibleverse;
private final String notes;
private final Integer orderNr;
public TSubject(TSubject value) {
this.pkSubject = value.pkSubject;
this.fkSource = value.fkSource;
this.theme = value.theme;
this.subtheme = value.subtheme;
this.bookPages = value.bookPages;
this.worksheets = value.worksheets;
this.bibleverse = value.bibleverse;
this.notes = value.notes;
this.orderNr = value.orderNr;
}
public TSubject(
Integer pkSubject,
Integer fkSource,
String theme,
String subtheme,
String bookPages,
String worksheets,
String bibleverse,
String notes,
Integer orderNr
) {
this.pkSubject = pkSubject;
this.fkSource = fkSource;
this.theme = theme;
this.subtheme = subtheme;
this.bookPages = bookPages;
this.worksheets = worksheets;
this.bibleverse = bibleverse;
this.notes = notes;
this.orderNr = orderNr;
}
/**
* Getter for <code>public.t_subject.pk_subject</code>.
*/
public Integer getPkSubject() {
return this.pkSubject;
}
/**
* Getter for <code>public.t_subject.fk_source</code>.
*/
public Integer getFkSource() {
return this.fkSource;
}
/**
* Getter for <code>public.t_subject.theme</code>.
*/
public String getTheme() {
return this.theme;
}
/**
* Getter for <code>public.t_subject.subtheme</code>.
*/
public String getSubtheme() {
return this.subtheme;
}
/**
* Getter for <code>public.t_subject.book_pages</code>.
*/
public String getBookPages() {
return this.bookPages;
}
/**
* Getter for <code>public.t_subject.worksheets</code>.
*/
public String getWorksheets() {
return this.worksheets;
}
/**
* Getter for <code>public.t_subject.bibleverse</code>.
*/
public String getBibleverse() {
return this.bibleverse;
}
/**
* Getter for <code>public.t_subject.notes</code>.
*/
public String getNotes() {
return this.notes;
}
/**
* Getter for <code>public.t_subject.order_nr</code>.
*/
public Integer getOrderNr() {
return this.orderNr;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final TSubject other = (TSubject) obj;
if (pkSubject == null) {
if (other.pkSubject != null)
return false;
}
else if (!pkSubject.equals(other.pkSubject))
return false;
if (fkSource == null) {
if (other.fkSource != null)
return false;
}
else if (!fkSource.equals(other.fkSource))
return false;
if (theme == null) {
if (other.theme != null)
return false;
}
else if (!theme.equals(other.theme))
return false;
if (subtheme == null) {
if (other.subtheme != null)
return false;
}
else if (!subtheme.equals(other.subtheme))
return false;
if (bookPages == null) {
if (other.bookPages != null)
return false;
}
else if (!bookPages.equals(other.bookPages))
return false;
if (worksheets == null) {
if (other.worksheets != null)
return false;
}
else if (!worksheets.equals(other.worksheets))
return false;
if (bibleverse == null) {
if (other.bibleverse != null)
return false;
}
else if (!bibleverse.equals(other.bibleverse))
return false;
if (notes == null) {
if (other.notes != null)
return false;
}
else if (!notes.equals(other.notes))
return false;
if (orderNr == null) {
if (other.orderNr != null)
return false;
}
else if (!orderNr.equals(other.orderNr))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkSubject == null) ? 0 : this.pkSubject.hashCode());
result = prime * result + ((this.fkSource == null) ? 0 : this.fkSource.hashCode());
result = prime * result + ((this.theme == null) ? 0 : this.theme.hashCode());
result = prime * result + ((this.subtheme == null) ? 0 : this.subtheme.hashCode());
result = prime * result + ((this.bookPages == null) ? 0 : this.bookPages.hashCode());
result = prime * result + ((this.worksheets == null) ? 0 : this.worksheets.hashCode());
result = prime * result + ((this.bibleverse == null) ? 0 : this.bibleverse.hashCode());
result = prime * result + ((this.notes == null) ? 0 : this.notes.hashCode());
result = prime * result + ((this.orderNr == null) ? 0 : this.orderNr.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("TSubject (");
sb.append(pkSubject);
sb.append(", ").append(fkSource);
sb.append(", ").append(theme);
sb.append(", ").append(subtheme);
sb.append(", ").append(bookPages);
sb.append(", ").append(worksheets);
sb.append(", ").append(bibleverse);
sb.append(", ").append(notes);
sb.append(", ").append(orderNr);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,396 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
import java.time.LocalDate;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCalendar implements Serializable {
private static final long serialVersionUID = 1L;
private final LocalDate slotDay;
private final String fullname;
private final String abbreviation;
private final String sourceName;
private final String theme;
private final String subtheme;
private final String bookPages;
private final String worksheets;
private final String bibleverse;
private final String subjectNotes;
private final String lessonNotes;
private final String slotNotes;
private final Integer pkSlot;
private final Integer pkLesson;
private final Integer pkLessonSubject;
private final Integer pkPerson;
private final Integer pkSubject;
private final Integer pkSource;
public VCalendar(VCalendar value) {
this.slotDay = value.slotDay;
this.fullname = value.fullname;
this.abbreviation = value.abbreviation;
this.sourceName = value.sourceName;
this.theme = value.theme;
this.subtheme = value.subtheme;
this.bookPages = value.bookPages;
this.worksheets = value.worksheets;
this.bibleverse = value.bibleverse;
this.subjectNotes = value.subjectNotes;
this.lessonNotes = value.lessonNotes;
this.slotNotes = value.slotNotes;
this.pkSlot = value.pkSlot;
this.pkLesson = value.pkLesson;
this.pkLessonSubject = value.pkLessonSubject;
this.pkPerson = value.pkPerson;
this.pkSubject = value.pkSubject;
this.pkSource = value.pkSource;
}
public VCalendar(
LocalDate slotDay,
String fullname,
String abbreviation,
String sourceName,
String theme,
String subtheme,
String bookPages,
String worksheets,
String bibleverse,
String subjectNotes,
String lessonNotes,
String slotNotes,
Integer pkSlot,
Integer pkLesson,
Integer pkLessonSubject,
Integer pkPerson,
Integer pkSubject,
Integer pkSource
) {
this.slotDay = slotDay;
this.fullname = fullname;
this.abbreviation = abbreviation;
this.sourceName = sourceName;
this.theme = theme;
this.subtheme = subtheme;
this.bookPages = bookPages;
this.worksheets = worksheets;
this.bibleverse = bibleverse;
this.subjectNotes = subjectNotes;
this.lessonNotes = lessonNotes;
this.slotNotes = slotNotes;
this.pkSlot = pkSlot;
this.pkLesson = pkLesson;
this.pkLessonSubject = pkLessonSubject;
this.pkPerson = pkPerson;
this.pkSubject = pkSubject;
this.pkSource = pkSource;
}
/**
* Getter for <code>public.v_calendar.slot_day</code>.
*/
public LocalDate getSlotDay() {
return this.slotDay;
}
/**
* Getter for <code>public.v_calendar.fullname</code>.
*/
public String getFullname() {
return this.fullname;
}
/**
* Getter for <code>public.v_calendar.abbreviation</code>.
*/
public String getAbbreviation() {
return this.abbreviation;
}
/**
* Getter for <code>public.v_calendar.source_name</code>.
*/
public String getSourceName() {
return this.sourceName;
}
/**
* Getter for <code>public.v_calendar.theme</code>.
*/
public String getTheme() {
return this.theme;
}
/**
* Getter for <code>public.v_calendar.subtheme</code>.
*/
public String getSubtheme() {
return this.subtheme;
}
/**
* Getter for <code>public.v_calendar.book_pages</code>.
*/
public String getBookPages() {
return this.bookPages;
}
/**
* Getter for <code>public.v_calendar.worksheets</code>.
*/
public String getWorksheets() {
return this.worksheets;
}
/**
* Getter for <code>public.v_calendar.bibleverse</code>.
*/
public String getBibleverse() {
return this.bibleverse;
}
/**
* Getter for <code>public.v_calendar.subject_notes</code>.
*/
public String getSubjectNotes() {
return this.subjectNotes;
}
/**
* Getter for <code>public.v_calendar.lesson_notes</code>.
*/
public String getLessonNotes() {
return this.lessonNotes;
}
/**
* Getter for <code>public.v_calendar.slot_notes</code>.
*/
public String getSlotNotes() {
return this.slotNotes;
}
/**
* Getter for <code>public.v_calendar.pk_slot</code>.
*/
public Integer getPkSlot() {
return this.pkSlot;
}
/**
* Getter for <code>public.v_calendar.pk_lesson</code>.
*/
public Integer getPkLesson() {
return this.pkLesson;
}
/**
* Getter for <code>public.v_calendar.pk_lesson_subject</code>.
*/
public Integer getPkLessonSubject() {
return this.pkLessonSubject;
}
/**
* Getter for <code>public.v_calendar.pk_person</code>.
*/
public Integer getPkPerson() {
return this.pkPerson;
}
/**
* Getter for <code>public.v_calendar.pk_subject</code>.
*/
public Integer getPkSubject() {
return this.pkSubject;
}
/**
* Getter for <code>public.v_calendar.pk_source</code>.
*/
public Integer getPkSource() {
return this.pkSource;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final VCalendar other = (VCalendar) obj;
if (slotDay == null) {
if (other.slotDay != null)
return false;
}
else if (!slotDay.equals(other.slotDay))
return false;
if (fullname == null) {
if (other.fullname != null)
return false;
}
else if (!fullname.equals(other.fullname))
return false;
if (abbreviation == null) {
if (other.abbreviation != null)
return false;
}
else if (!abbreviation.equals(other.abbreviation))
return false;
if (sourceName == null) {
if (other.sourceName != null)
return false;
}
else if (!sourceName.equals(other.sourceName))
return false;
if (theme == null) {
if (other.theme != null)
return false;
}
else if (!theme.equals(other.theme))
return false;
if (subtheme == null) {
if (other.subtheme != null)
return false;
}
else if (!subtheme.equals(other.subtheme))
return false;
if (bookPages == null) {
if (other.bookPages != null)
return false;
}
else if (!bookPages.equals(other.bookPages))
return false;
if (worksheets == null) {
if (other.worksheets != null)
return false;
}
else if (!worksheets.equals(other.worksheets))
return false;
if (bibleverse == null) {
if (other.bibleverse != null)
return false;
}
else if (!bibleverse.equals(other.bibleverse))
return false;
if (subjectNotes == null) {
if (other.subjectNotes != null)
return false;
}
else if (!subjectNotes.equals(other.subjectNotes))
return false;
if (lessonNotes == null) {
if (other.lessonNotes != null)
return false;
}
else if (!lessonNotes.equals(other.lessonNotes))
return false;
if (slotNotes == null) {
if (other.slotNotes != null)
return false;
}
else if (!slotNotes.equals(other.slotNotes))
return false;
if (pkSlot == null) {
if (other.pkSlot != null)
return false;
}
else if (!pkSlot.equals(other.pkSlot))
return false;
if (pkLesson == null) {
if (other.pkLesson != null)
return false;
}
else if (!pkLesson.equals(other.pkLesson))
return false;
if (pkLessonSubject == null) {
if (other.pkLessonSubject != null)
return false;
}
else if (!pkLessonSubject.equals(other.pkLessonSubject))
return false;
if (pkPerson == null) {
if (other.pkPerson != null)
return false;
}
else if (!pkPerson.equals(other.pkPerson))
return false;
if (pkSubject == null) {
if (other.pkSubject != null)
return false;
}
else if (!pkSubject.equals(other.pkSubject))
return false;
if (pkSource == null) {
if (other.pkSource != null)
return false;
}
else if (!pkSource.equals(other.pkSource))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.slotDay == null) ? 0 : this.slotDay.hashCode());
result = prime * result + ((this.fullname == null) ? 0 : this.fullname.hashCode());
result = prime * result + ((this.abbreviation == null) ? 0 : this.abbreviation.hashCode());
result = prime * result + ((this.sourceName == null) ? 0 : this.sourceName.hashCode());
result = prime * result + ((this.theme == null) ? 0 : this.theme.hashCode());
result = prime * result + ((this.subtheme == null) ? 0 : this.subtheme.hashCode());
result = prime * result + ((this.bookPages == null) ? 0 : this.bookPages.hashCode());
result = prime * result + ((this.worksheets == null) ? 0 : this.worksheets.hashCode());
result = prime * result + ((this.bibleverse == null) ? 0 : this.bibleverse.hashCode());
result = prime * result + ((this.subjectNotes == null) ? 0 : this.subjectNotes.hashCode());
result = prime * result + ((this.lessonNotes == null) ? 0 : this.lessonNotes.hashCode());
result = prime * result + ((this.slotNotes == null) ? 0 : this.slotNotes.hashCode());
result = prime * result + ((this.pkSlot == null) ? 0 : this.pkSlot.hashCode());
result = prime * result + ((this.pkLesson == null) ? 0 : this.pkLesson.hashCode());
result = prime * result + ((this.pkLessonSubject == null) ? 0 : this.pkLessonSubject.hashCode());
result = prime * result + ((this.pkPerson == null) ? 0 : this.pkPerson.hashCode());
result = prime * result + ((this.pkSubject == null) ? 0 : this.pkSubject.hashCode());
result = prime * result + ((this.pkSource == null) ? 0 : this.pkSource.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VCalendar (");
sb.append(slotDay);
sb.append(", ").append(fullname);
sb.append(", ").append(abbreviation);
sb.append(", ").append(sourceName);
sb.append(", ").append(theme);
sb.append(", ").append(subtheme);
sb.append(", ").append(bookPages);
sb.append(", ").append(worksheets);
sb.append(", ").append(bibleverse);
sb.append(", ").append(subjectNotes);
sb.append(", ").append(lessonNotes);
sb.append(", ").append(slotNotes);
sb.append(", ").append(pkSlot);
sb.append(", ").append(pkLesson);
sb.append(", ").append(pkLessonSubject);
sb.append(", ").append(pkPerson);
sb.append(", ").append(pkSubject);
sb.append(", ").append(pkSource);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,169 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Arrays;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLesson implements Serializable {
private static final long serialVersionUID = 1L;
private final Integer pkSubject;
private final String sourceName;
private final String theme;
private final String subtheme;
private final LocalDate[] slots;
private final Integer orderNr;
public VLesson(VLesson value) {
this.pkSubject = value.pkSubject;
this.sourceName = value.sourceName;
this.theme = value.theme;
this.subtheme = value.subtheme;
this.slots = value.slots;
this.orderNr = value.orderNr;
}
public VLesson(
Integer pkSubject,
String sourceName,
String theme,
String subtheme,
LocalDate[] slots,
Integer orderNr
) {
this.pkSubject = pkSubject;
this.sourceName = sourceName;
this.theme = theme;
this.subtheme = subtheme;
this.slots = slots;
this.orderNr = orderNr;
}
/**
* Getter for <code>public.v_lesson.pk_subject</code>.
*/
public Integer getPkSubject() {
return this.pkSubject;
}
/**
* Getter for <code>public.v_lesson.source_name</code>.
*/
public String getSourceName() {
return this.sourceName;
}
/**
* Getter for <code>public.v_lesson.theme</code>.
*/
public String getTheme() {
return this.theme;
}
/**
* Getter for <code>public.v_lesson.subtheme</code>.
*/
public String getSubtheme() {
return this.subtheme;
}
/**
* Getter for <code>public.v_lesson.slots</code>.
*/
public LocalDate[] getSlots() {
return this.slots;
}
/**
* Getter for <code>public.v_lesson.order_nr</code>.
*/
public Integer getOrderNr() {
return this.orderNr;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final VLesson other = (VLesson) obj;
if (pkSubject == null) {
if (other.pkSubject != null)
return false;
}
else if (!pkSubject.equals(other.pkSubject))
return false;
if (sourceName == null) {
if (other.sourceName != null)
return false;
}
else if (!sourceName.equals(other.sourceName))
return false;
if (theme == null) {
if (other.theme != null)
return false;
}
else if (!theme.equals(other.theme))
return false;
if (subtheme == null) {
if (other.subtheme != null)
return false;
}
else if (!subtheme.equals(other.subtheme))
return false;
if (slots == null) {
if (other.slots != null)
return false;
}
else if (!Arrays.equals(slots, other.slots))
return false;
if (orderNr == null) {
if (other.orderNr != null)
return false;
}
else if (!orderNr.equals(other.orderNr))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.pkSubject == null) ? 0 : this.pkSubject.hashCode());
result = prime * result + ((this.sourceName == null) ? 0 : this.sourceName.hashCode());
result = prime * result + ((this.theme == null) ? 0 : this.theme.hashCode());
result = prime * result + ((this.subtheme == null) ? 0 : this.subtheme.hashCode());
result = prime * result + ((this.slots == null) ? 0 : Arrays.hashCode(this.slots));
result = prime * result + ((this.orderNr == null) ? 0 : this.orderNr.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VLesson (");
sb.append(pkSubject);
sb.append(", ").append(sourceName);
sb.append(", ").append(theme);
sb.append(", ").append(subtheme);
sb.append(", ").append(Arrays.toString(slots));
sb.append(", ").append(orderNr);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,129 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.pojos;
import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLessonMissing implements Serializable {
private static final long serialVersionUID = 1L;
private final String sourceName;
private final String theme;
private final String subtheme;
private final Integer orderNr;
public VLessonMissing(VLessonMissing value) {
this.sourceName = value.sourceName;
this.theme = value.theme;
this.subtheme = value.subtheme;
this.orderNr = value.orderNr;
}
public VLessonMissing(
String sourceName,
String theme,
String subtheme,
Integer orderNr
) {
this.sourceName = sourceName;
this.theme = theme;
this.subtheme = subtheme;
this.orderNr = orderNr;
}
/**
* Getter for <code>public.v_lesson_missing.source_name</code>.
*/
public String getSourceName() {
return this.sourceName;
}
/**
* Getter for <code>public.v_lesson_missing.theme</code>.
*/
public String getTheme() {
return this.theme;
}
/**
* Getter for <code>public.v_lesson_missing.subtheme</code>.
*/
public String getSubtheme() {
return this.subtheme;
}
/**
* Getter for <code>public.v_lesson_missing.order_nr</code>.
*/
public Integer getOrderNr() {
return this.orderNr;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final VLessonMissing other = (VLessonMissing) obj;
if (sourceName == null) {
if (other.sourceName != null)
return false;
}
else if (!sourceName.equals(other.sourceName))
return false;
if (theme == null) {
if (other.theme != null)
return false;
}
else if (!theme.equals(other.theme))
return false;
if (subtheme == null) {
if (other.subtheme != null)
return false;
}
else if (!subtheme.equals(other.subtheme))
return false;
if (orderNr == null) {
if (other.orderNr != null)
return false;
}
else if (!orderNr.equals(other.orderNr))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.sourceName == null) ? 0 : this.sourceName.hashCode());
result = prime * result + ((this.theme == null) ? 0 : this.theme.hashCode());
result = prime * result + ((this.subtheme == null) ? 0 : this.subtheme.hashCode());
result = prime * result + ((this.orderNr == null) ? 0 : this.orderNr.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VLessonMissing (");
sb.append(sourceName);
sb.append(", ").append(theme);
sb.append(", ").append(subtheme);
sb.append(", ").append(orderNr);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,72 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.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 Integer version;
public VVersion(VVersion value) {
this.version = value.version;
}
public VVersion(
Integer version
) {
this.version = version;
}
/**
* Getter for <code>public.v_version.version</code>.
*/
public Integer getVersion() {
return this.version;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final VVersion other = (VVersion) obj;
if (version == null) {
if (other.version != null)
return false;
}
else if (!version.equals(other.version))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.version == null) ? 0 : this.version.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("VVersion (");
sb.append(version);
sb.append(")");
return sb.toString();
}
}

View File

@@ -1,126 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TLesson;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLessonRecord extends UpdatableRecordImpl<TLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_lesson.pk_lesson</code>.
*/
public TLessonRecord setPkLesson(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_lesson.pk_lesson</code>.
*/
public Integer getPkLesson() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_lesson.fk_slot</code>.
*/
public TLessonRecord setFkSlot(Integer value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_lesson.fk_slot</code>.
*/
public Integer getFkSlot() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_lesson.fk_person</code>.
*/
public TLessonRecord setFkPerson(Integer value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_lesson.fk_person</code>.
*/
public Integer getFkPerson() {
return (Integer) get(2);
}
/**
* Setter for <code>public.t_lesson.notes</code>.
*/
public TLessonRecord setNotes(String value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.t_lesson.notes</code>.
*/
public String getNotes() {
return (String) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TLessonRecord
*/
public TLessonRecord() {
super(TLesson.T_LESSON);
}
/**
* Create a detached, initialised TLessonRecord
*/
public TLessonRecord(Integer pkLesson, Integer fkSlot, Integer fkPerson, String notes) {
super(TLesson.T_LESSON);
setPkLesson(pkLesson);
setFkSlot(fkSlot);
setFkPerson(fkPerson);
setNotes(notes);
}
/**
* Create a detached, initialised TLessonRecord
*/
public TLessonRecord(de.jottyfan.bico.db.tables.pojos.TLesson value) {
super(TLesson.T_LESSON);
if (value != null) {
setPkLesson(value.getPkLesson());
setFkSlot(value.getFkSlot());
setFkPerson(value.getFkPerson());
setNotes(value.getNotes());
}
}
}

View File

@@ -1,109 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TLessonSubject;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TLessonSubjectRecord extends UpdatableRecordImpl<TLessonSubjectRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_lesson_subject.pk_lesson_subject</code>.
*/
public TLessonSubjectRecord setPkLessonSubject(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_lesson_subject.pk_lesson_subject</code>.
*/
public Integer getPkLessonSubject() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_lesson_subject.fk_lesson</code>.
*/
public TLessonSubjectRecord setFkLesson(Integer value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_lesson_subject.fk_lesson</code>.
*/
public Integer getFkLesson() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_lesson_subject.fk_subject</code>.
*/
public TLessonSubjectRecord setFkSubject(Integer value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_lesson_subject.fk_subject</code>.
*/
public Integer getFkSubject() {
return (Integer) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TLessonSubjectRecord
*/
public TLessonSubjectRecord() {
super(TLessonSubject.T_LESSON_SUBJECT);
}
/**
* Create a detached, initialised TLessonSubjectRecord
*/
public TLessonSubjectRecord(Integer pkLessonSubject, Integer fkLesson, Integer fkSubject) {
super(TLessonSubject.T_LESSON_SUBJECT);
setPkLessonSubject(pkLessonSubject);
setFkLesson(fkLesson);
setFkSubject(fkSubject);
}
/**
* Create a detached, initialised TLessonSubjectRecord
*/
public TLessonSubjectRecord(de.jottyfan.bico.db.tables.pojos.TLessonSubject value) {
super(TLessonSubject.T_LESSON_SUBJECT);
if (value != null) {
setPkLessonSubject(value.getPkLessonSubject());
setFkLesson(value.getFkLesson());
setFkSubject(value.getFkSubject());
}
}
}

View File

@@ -1,126 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TPerson;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_person.pk_person</code>.
*/
public TPersonRecord setPkPerson(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_person.pk_person</code>.
*/
public Integer getPkPerson() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_person.forename</code>.
*/
public TPersonRecord setForename(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_person.forename</code>.
*/
public String getForename() {
return (String) get(1);
}
/**
* Setter for <code>public.t_person.surname</code>.
*/
public TPersonRecord setSurname(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_person.surname</code>.
*/
public String getSurname() {
return (String) get(2);
}
/**
* Setter for <code>public.t_person.abbreviation</code>.
*/
public TPersonRecord setAbbreviation(String value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.t_person.abbreviation</code>.
*/
public String getAbbreviation() {
return (String) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TPersonRecord
*/
public TPersonRecord() {
super(TPerson.T_PERSON);
}
/**
* Create a detached, initialised TPersonRecord
*/
public TPersonRecord(Integer pkPerson, String forename, String surname, String abbreviation) {
super(TPerson.T_PERSON);
setPkPerson(pkPerson);
setForename(forename);
setSurname(surname);
setAbbreviation(abbreviation);
}
/**
* Create a detached, initialised TPersonRecord
*/
public TPersonRecord(de.jottyfan.bico.db.tables.pojos.TPerson value) {
super(TPerson.T_PERSON);
if (value != null) {
setPkPerson(value.getPkPerson());
setForename(value.getForename());
setSurname(value.getSurname());
setAbbreviation(value.getAbbreviation());
}
}
}

View File

@@ -1,109 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TProfile;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_profile.id</code>.
*/
public TProfileRecord setId(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_profile.id</code>.
*/
public Integer getId() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_profile.username</code>.
*/
public TProfileRecord setUsername(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_profile.username</code>.
*/
public String getUsername() {
return (String) get(1);
}
/**
* Setter for <code>public.t_profile.theme</code>.
*/
public TProfileRecord setTheme(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_profile.theme</code>.
*/
public String getTheme() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TProfileRecord
*/
public TProfileRecord() {
super(TProfile.T_PROFILE);
}
/**
* Create a detached, initialised TProfileRecord
*/
public TProfileRecord(Integer id, String username, String theme) {
super(TProfile.T_PROFILE);
setId(id);
setUsername(username);
setTheme(theme);
}
/**
* Create a detached, initialised TProfileRecord
*/
public TProfileRecord(de.jottyfan.bico.db.tables.pojos.TProfile value) {
super(TProfile.T_PROFILE);
if (value != null) {
setId(value.getId());
setUsername(value.getUsername());
setTheme(value.getTheme());
}
}
}

View File

@@ -1,111 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TSlot;
import java.time.LocalDate;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSlotRecord extends UpdatableRecordImpl<TSlotRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_slot.pk_slot</code>.
*/
public TSlotRecord setPkSlot(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_slot.pk_slot</code>.
*/
public Integer getPkSlot() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_slot.slot_day</code>.
*/
public TSlotRecord setSlotDay(LocalDate value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_slot.slot_day</code>.
*/
public LocalDate getSlotDay() {
return (LocalDate) get(1);
}
/**
* Setter for <code>public.t_slot.note</code>.
*/
public TSlotRecord setNote(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_slot.note</code>.
*/
public String getNote() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TSlotRecord
*/
public TSlotRecord() {
super(TSlot.T_SLOT);
}
/**
* Create a detached, initialised TSlotRecord
*/
public TSlotRecord(Integer pkSlot, LocalDate slotDay, String note) {
super(TSlot.T_SLOT);
setPkSlot(pkSlot);
setSlotDay(slotDay);
setNote(note);
}
/**
* Create a detached, initialised TSlotRecord
*/
public TSlotRecord(de.jottyfan.bico.db.tables.pojos.TSlot value) {
super(TSlot.T_SLOT);
if (value != null) {
setPkSlot(value.getPkSlot());
setSlotDay(value.getSlotDay());
setNote(value.getNote());
}
}
}

View File

@@ -1,92 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TSource;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSourceRecord extends UpdatableRecordImpl<TSourceRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_source.pk_source</code>.
*/
public TSourceRecord setPkSource(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_source.pk_source</code>.
*/
public Integer getPkSource() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_source.name</code>.
*/
public TSourceRecord setName(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_source.name</code>.
*/
public String getName() {
return (String) get(1);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TSourceRecord
*/
public TSourceRecord() {
super(TSource.T_SOURCE);
}
/**
* Create a detached, initialised TSourceRecord
*/
public TSourceRecord(Integer pkSource, String name) {
super(TSource.T_SOURCE);
setPkSource(pkSource);
setName(name);
}
/**
* Create a detached, initialised TSourceRecord
*/
public TSourceRecord(de.jottyfan.bico.db.tables.pojos.TSource value) {
super(TSource.T_SOURCE);
if (value != null) {
setPkSource(value.getPkSource());
setName(value.getName());
}
}
}

View File

@@ -1,211 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.TSubject;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TSubjectRecord extends UpdatableRecordImpl<TSubjectRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_subject.pk_subject</code>.
*/
public TSubjectRecord setPkSubject(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.t_subject.pk_subject</code>.
*/
public Integer getPkSubject() {
return (Integer) get(0);
}
/**
* Setter for <code>public.t_subject.fk_source</code>.
*/
public TSubjectRecord setFkSource(Integer value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.t_subject.fk_source</code>.
*/
public Integer getFkSource() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_subject.theme</code>.
*/
public TSubjectRecord setTheme(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.t_subject.theme</code>.
*/
public String getTheme() {
return (String) get(2);
}
/**
* Setter for <code>public.t_subject.subtheme</code>.
*/
public TSubjectRecord setSubtheme(String value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.t_subject.subtheme</code>.
*/
public String getSubtheme() {
return (String) get(3);
}
/**
* Setter for <code>public.t_subject.book_pages</code>.
*/
public TSubjectRecord setBookPages(String value) {
set(4, value);
return this;
}
/**
* Getter for <code>public.t_subject.book_pages</code>.
*/
public String getBookPages() {
return (String) get(4);
}
/**
* Setter for <code>public.t_subject.worksheets</code>.
*/
public TSubjectRecord setWorksheets(String value) {
set(5, value);
return this;
}
/**
* Getter for <code>public.t_subject.worksheets</code>.
*/
public String getWorksheets() {
return (String) get(5);
}
/**
* Setter for <code>public.t_subject.bibleverse</code>.
*/
public TSubjectRecord setBibleverse(String value) {
set(6, value);
return this;
}
/**
* Getter for <code>public.t_subject.bibleverse</code>.
*/
public String getBibleverse() {
return (String) get(6);
}
/**
* Setter for <code>public.t_subject.notes</code>.
*/
public TSubjectRecord setNotes(String value) {
set(7, value);
return this;
}
/**
* Getter for <code>public.t_subject.notes</code>.
*/
public String getNotes() {
return (String) get(7);
}
/**
* Setter for <code>public.t_subject.order_nr</code>.
*/
public TSubjectRecord setOrderNr(Integer value) {
set(8, value);
return this;
}
/**
* Getter for <code>public.t_subject.order_nr</code>.
*/
public Integer getOrderNr() {
return (Integer) get(8);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TSubjectRecord
*/
public TSubjectRecord() {
super(TSubject.T_SUBJECT);
}
/**
* Create a detached, initialised TSubjectRecord
*/
public TSubjectRecord(Integer pkSubject, Integer fkSource, String theme, String subtheme, String bookPages, String worksheets, String bibleverse, String notes, Integer orderNr) {
super(TSubject.T_SUBJECT);
setPkSubject(pkSubject);
setFkSource(fkSource);
setTheme(theme);
setSubtheme(subtheme);
setBookPages(bookPages);
setWorksheets(worksheets);
setBibleverse(bibleverse);
setNotes(notes);
setOrderNr(orderNr);
}
/**
* Create a detached, initialised TSubjectRecord
*/
public TSubjectRecord(de.jottyfan.bico.db.tables.pojos.TSubject value) {
super(TSubject.T_SUBJECT);
if (value != null) {
setPkSubject(value.getPkSubject());
setFkSource(value.getFkSource());
setTheme(value.getTheme());
setSubtheme(value.getSubtheme());
setBookPages(value.getBookPages());
setWorksheets(value.getWorksheets());
setBibleverse(value.getBibleverse());
setNotes(value.getNotes());
setOrderNr(value.getOrderNr());
}
}
}

View File

@@ -1,356 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.VCalendar;
import java.time.LocalDate;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VCalendarRecord extends TableRecordImpl<VCalendarRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.v_calendar.slot_day</code>.
*/
public VCalendarRecord setSlotDay(LocalDate value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.v_calendar.slot_day</code>.
*/
public LocalDate getSlotDay() {
return (LocalDate) get(0);
}
/**
* Setter for <code>public.v_calendar.fullname</code>.
*/
public VCalendarRecord setFullname(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.v_calendar.fullname</code>.
*/
public String getFullname() {
return (String) get(1);
}
/**
* Setter for <code>public.v_calendar.abbreviation</code>.
*/
public VCalendarRecord setAbbreviation(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.v_calendar.abbreviation</code>.
*/
public String getAbbreviation() {
return (String) get(2);
}
/**
* Setter for <code>public.v_calendar.source_name</code>.
*/
public VCalendarRecord setSourceName(String value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.v_calendar.source_name</code>.
*/
public String getSourceName() {
return (String) get(3);
}
/**
* Setter for <code>public.v_calendar.theme</code>.
*/
public VCalendarRecord setTheme(String value) {
set(4, value);
return this;
}
/**
* Getter for <code>public.v_calendar.theme</code>.
*/
public String getTheme() {
return (String) get(4);
}
/**
* Setter for <code>public.v_calendar.subtheme</code>.
*/
public VCalendarRecord setSubtheme(String value) {
set(5, value);
return this;
}
/**
* Getter for <code>public.v_calendar.subtheme</code>.
*/
public String getSubtheme() {
return (String) get(5);
}
/**
* Setter for <code>public.v_calendar.book_pages</code>.
*/
public VCalendarRecord setBookPages(String value) {
set(6, value);
return this;
}
/**
* Getter for <code>public.v_calendar.book_pages</code>.
*/
public String getBookPages() {
return (String) get(6);
}
/**
* Setter for <code>public.v_calendar.worksheets</code>.
*/
public VCalendarRecord setWorksheets(String value) {
set(7, value);
return this;
}
/**
* Getter for <code>public.v_calendar.worksheets</code>.
*/
public String getWorksheets() {
return (String) get(7);
}
/**
* Setter for <code>public.v_calendar.bibleverse</code>.
*/
public VCalendarRecord setBibleverse(String value) {
set(8, value);
return this;
}
/**
* Getter for <code>public.v_calendar.bibleverse</code>.
*/
public String getBibleverse() {
return (String) get(8);
}
/**
* Setter for <code>public.v_calendar.subject_notes</code>.
*/
public VCalendarRecord setSubjectNotes(String value) {
set(9, value);
return this;
}
/**
* Getter for <code>public.v_calendar.subject_notes</code>.
*/
public String getSubjectNotes() {
return (String) get(9);
}
/**
* Setter for <code>public.v_calendar.lesson_notes</code>.
*/
public VCalendarRecord setLessonNotes(String value) {
set(10, value);
return this;
}
/**
* Getter for <code>public.v_calendar.lesson_notes</code>.
*/
public String getLessonNotes() {
return (String) get(10);
}
/**
* Setter for <code>public.v_calendar.slot_notes</code>.
*/
public VCalendarRecord setSlotNotes(String value) {
set(11, value);
return this;
}
/**
* Getter for <code>public.v_calendar.slot_notes</code>.
*/
public String getSlotNotes() {
return (String) get(11);
}
/**
* Setter for <code>public.v_calendar.pk_slot</code>.
*/
public VCalendarRecord setPkSlot(Integer value) {
set(12, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_slot</code>.
*/
public Integer getPkSlot() {
return (Integer) get(12);
}
/**
* Setter for <code>public.v_calendar.pk_lesson</code>.
*/
public VCalendarRecord setPkLesson(Integer value) {
set(13, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_lesson</code>.
*/
public Integer getPkLesson() {
return (Integer) get(13);
}
/**
* Setter for <code>public.v_calendar.pk_lesson_subject</code>.
*/
public VCalendarRecord setPkLessonSubject(Integer value) {
set(14, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_lesson_subject</code>.
*/
public Integer getPkLessonSubject() {
return (Integer) get(14);
}
/**
* Setter for <code>public.v_calendar.pk_person</code>.
*/
public VCalendarRecord setPkPerson(Integer value) {
set(15, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_person</code>.
*/
public Integer getPkPerson() {
return (Integer) get(15);
}
/**
* Setter for <code>public.v_calendar.pk_subject</code>.
*/
public VCalendarRecord setPkSubject(Integer value) {
set(16, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_subject</code>.
*/
public Integer getPkSubject() {
return (Integer) get(16);
}
/**
* Setter for <code>public.v_calendar.pk_source</code>.
*/
public VCalendarRecord setPkSource(Integer value) {
set(17, value);
return this;
}
/**
* Getter for <code>public.v_calendar.pk_source</code>.
*/
public Integer getPkSource() {
return (Integer) get(17);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached VCalendarRecord
*/
public VCalendarRecord() {
super(VCalendar.V_CALENDAR);
}
/**
* Create a detached, initialised VCalendarRecord
*/
public VCalendarRecord(LocalDate slotDay, String fullname, String abbreviation, String sourceName, String theme, String subtheme, String bookPages, String worksheets, String bibleverse, String subjectNotes, String lessonNotes, String slotNotes, Integer pkSlot, Integer pkLesson, Integer pkLessonSubject, Integer pkPerson, Integer pkSubject, Integer pkSource) {
super(VCalendar.V_CALENDAR);
setSlotDay(slotDay);
setFullname(fullname);
setAbbreviation(abbreviation);
setSourceName(sourceName);
setTheme(theme);
setSubtheme(subtheme);
setBookPages(bookPages);
setWorksheets(worksheets);
setBibleverse(bibleverse);
setSubjectNotes(subjectNotes);
setLessonNotes(lessonNotes);
setSlotNotes(slotNotes);
setPkSlot(pkSlot);
setPkLesson(pkLesson);
setPkLessonSubject(pkLessonSubject);
setPkPerson(pkPerson);
setPkSubject(pkSubject);
setPkSource(pkSource);
}
/**
* Create a detached, initialised VCalendarRecord
*/
public VCalendarRecord(de.jottyfan.bico.db.tables.pojos.VCalendar value) {
super(VCalendar.V_CALENDAR);
if (value != null) {
setSlotDay(value.getSlotDay());
setFullname(value.getFullname());
setAbbreviation(value.getAbbreviation());
setSourceName(value.getSourceName());
setTheme(value.getTheme());
setSubtheme(value.getSubtheme());
setBookPages(value.getBookPages());
setWorksheets(value.getWorksheets());
setBibleverse(value.getBibleverse());
setSubjectNotes(value.getSubjectNotes());
setLessonNotes(value.getLessonNotes());
setSlotNotes(value.getSlotNotes());
setPkSlot(value.getPkSlot());
setPkLesson(value.getPkLesson());
setPkLessonSubject(value.getPkLessonSubject());
setPkPerson(value.getPkPerson());
setPkSubject(value.getPkSubject());
setPkSource(value.getPkSource());
}
}
}

View File

@@ -1,116 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.VLessonMissing;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLessonMissingRecord extends TableRecordImpl<VLessonMissingRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.v_lesson_missing.source_name</code>.
*/
public VLessonMissingRecord setSourceName(String value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.v_lesson_missing.source_name</code>.
*/
public String getSourceName() {
return (String) get(0);
}
/**
* Setter for <code>public.v_lesson_missing.theme</code>.
*/
public VLessonMissingRecord setTheme(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.v_lesson_missing.theme</code>.
*/
public String getTheme() {
return (String) get(1);
}
/**
* Setter for <code>public.v_lesson_missing.subtheme</code>.
*/
public VLessonMissingRecord setSubtheme(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.v_lesson_missing.subtheme</code>.
*/
public String getSubtheme() {
return (String) get(2);
}
/**
* Setter for <code>public.v_lesson_missing.order_nr</code>.
*/
public VLessonMissingRecord setOrderNr(Integer value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.v_lesson_missing.order_nr</code>.
*/
public Integer getOrderNr() {
return (Integer) get(3);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached VLessonMissingRecord
*/
public VLessonMissingRecord() {
super(VLessonMissing.V_LESSON_MISSING);
}
/**
* Create a detached, initialised VLessonMissingRecord
*/
public VLessonMissingRecord(String sourceName, String theme, String subtheme, Integer orderNr) {
super(VLessonMissing.V_LESSON_MISSING);
setSourceName(sourceName);
setTheme(theme);
setSubtheme(subtheme);
setOrderNr(orderNr);
}
/**
* Create a detached, initialised VLessonMissingRecord
*/
public VLessonMissingRecord(de.jottyfan.bico.db.tables.pojos.VLessonMissing value) {
super(VLessonMissing.V_LESSON_MISSING);
if (value != null) {
setSourceName(value.getSourceName());
setTheme(value.getTheme());
setSubtheme(value.getSubtheme());
setOrderNr(value.getOrderNr());
}
}
}

View File

@@ -1,152 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.VLesson;
import java.time.LocalDate;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VLessonRecord extends TableRecordImpl<VLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.v_lesson.pk_subject</code>.
*/
public VLessonRecord setPkSubject(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.v_lesson.pk_subject</code>.
*/
public Integer getPkSubject() {
return (Integer) get(0);
}
/**
* Setter for <code>public.v_lesson.source_name</code>.
*/
public VLessonRecord setSourceName(String value) {
set(1, value);
return this;
}
/**
* Getter for <code>public.v_lesson.source_name</code>.
*/
public String getSourceName() {
return (String) get(1);
}
/**
* Setter for <code>public.v_lesson.theme</code>.
*/
public VLessonRecord setTheme(String value) {
set(2, value);
return this;
}
/**
* Getter for <code>public.v_lesson.theme</code>.
*/
public String getTheme() {
return (String) get(2);
}
/**
* Setter for <code>public.v_lesson.subtheme</code>.
*/
public VLessonRecord setSubtheme(String value) {
set(3, value);
return this;
}
/**
* Getter for <code>public.v_lesson.subtheme</code>.
*/
public String getSubtheme() {
return (String) get(3);
}
/**
* Setter for <code>public.v_lesson.slots</code>.
*/
public VLessonRecord setSlots(LocalDate[] value) {
set(4, value);
return this;
}
/**
* Getter for <code>public.v_lesson.slots</code>.
*/
public LocalDate[] getSlots() {
return (LocalDate[]) get(4);
}
/**
* Setter for <code>public.v_lesson.order_nr</code>.
*/
public VLessonRecord setOrderNr(Integer value) {
set(5, value);
return this;
}
/**
* Getter for <code>public.v_lesson.order_nr</code>.
*/
public Integer getOrderNr() {
return (Integer) get(5);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached VLessonRecord
*/
public VLessonRecord() {
super(VLesson.V_LESSON);
}
/**
* Create a detached, initialised VLessonRecord
*/
public VLessonRecord(Integer pkSubject, String sourceName, String theme, String subtheme, LocalDate[] slots, Integer orderNr) {
super(VLesson.V_LESSON);
setPkSubject(pkSubject);
setSourceName(sourceName);
setTheme(theme);
setSubtheme(subtheme);
setSlots(slots);
setOrderNr(orderNr);
}
/**
* Create a detached, initialised VLessonRecord
*/
public VLessonRecord(de.jottyfan.bico.db.tables.pojos.VLesson value) {
super(VLesson.V_LESSON);
if (value != null) {
setPkSubject(value.getPkSubject());
setSourceName(value.getSourceName());
setTheme(value.getTheme());
setSubtheme(value.getSubtheme());
setSlots(value.getSlots());
setOrderNr(value.getOrderNr());
}
}
}

View File

@@ -1,65 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.bico.db.tables.records;
import de.jottyfan.bico.db.tables.VVersion;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VVersionRecord extends TableRecordImpl<VVersionRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.v_version.version</code>.
*/
public VVersionRecord setVersion(Integer value) {
set(0, value);
return this;
}
/**
* Getter for <code>public.v_version.version</code>.
*/
public Integer getVersion() {
return (Integer) get(0);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached VVersionRecord
*/
public VVersionRecord() {
super(VVersion.V_VERSION);
}
/**
* Create a detached, initialised VVersionRecord
*/
public VVersionRecord(Integer version) {
super(VVersion.V_VERSION);
setVersion(version);
}
/**
* Create a detached, initialised VVersionRecord
*/
public VVersionRecord(de.jottyfan.bico.db.tables.pojos.VVersion value) {
super(VVersion.V_VERSION);
if (value != null) {
setVersion(value.getVersion());
}
}
}