preparations for youth group support
This commit is contained in:
337
src/main/java/de/jottyfan/bico/db/tables/TLesson.java
Normal file
337
src/main/java/de/jottyfan/bico/db/tables/TLesson.java
Normal file
@@ -0,0 +1,337 @@
|
||||
/*
|
||||
* 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.TLessonSubject.TLessonSubjectPath;
|
||||
import de.jottyfan.bico.db.tables.TPerson.TPersonPath;
|
||||
import de.jottyfan.bico.db.tables.TSlot.TSlotPath;
|
||||
import de.jottyfan.bico.db.tables.TSubject.TSubjectPath;
|
||||
import de.jottyfan.bico.db.tables.records.TLessonRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TLesson(Name alias, Table<TLessonRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TLessonRecord> childPath, InverseForeignKey<O, TLessonRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_LESSON);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TLessonPath extends TLesson implements Path<TLessonRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TLessonPath(Table<O> path, ForeignKey<O, TLessonRecord> childPath, InverseForeignKey<O, TLessonRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TLessonPath(Name alias, Table<TLessonRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonPath as(String alias) {
|
||||
return new TLessonPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonPath as(Name alias) {
|
||||
return new TLessonPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonPath as(Table<?> alias) {
|
||||
return new TLessonPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@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 TSlotPath _tSlot;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_slot</code> table.
|
||||
*/
|
||||
public TSlotPath tSlot() {
|
||||
if (_tSlot == null)
|
||||
_tSlot = new TSlotPath(this, Keys.T_LESSON__T_LESSON_FK_LESSONDAY_FKEY, null);
|
||||
|
||||
return _tSlot;
|
||||
}
|
||||
|
||||
private transient TPersonPath _tPerson;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_person</code> table.
|
||||
*/
|
||||
public TPersonPath tPerson() {
|
||||
if (_tPerson == null)
|
||||
_tPerson = new TPersonPath(this, Keys.T_LESSON__T_LESSON_FK_PERSON_FKEY, null);
|
||||
|
||||
return _tPerson;
|
||||
}
|
||||
|
||||
private transient TLessonSubjectPath _tLessonSubject;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>public.t_lesson_subject</code> table
|
||||
*/
|
||||
public TLessonSubjectPath tLessonSubject() {
|
||||
if (_tLessonSubject == null)
|
||||
_tLessonSubject = new TLessonSubjectPath(this, null, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_LESSON_FKEY.getInverseKey());
|
||||
|
||||
return _tLessonSubject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>public.t_subject</code> table
|
||||
*/
|
||||
public TSubjectPath tSubject() {
|
||||
return tLessonSubject().tSubject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLesson as(String alias) {
|
||||
return new TLesson(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLesson as(Name alias) {
|
||||
return new TLesson(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLesson as(Table<?> alias) {
|
||||
return new TLesson(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson rename(Table<?> name) {
|
||||
return new TLesson(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson where(Condition condition) {
|
||||
return new TLesson(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLesson where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLesson where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLesson where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLesson where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLesson whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
309
src/main/java/de/jottyfan/bico/db/tables/TLessonSubject.java
Normal file
309
src/main/java/de/jottyfan/bico/db/tables/TLessonSubject.java
Normal file
@@ -0,0 +1,309 @@
|
||||
/*
|
||||
* 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.TLesson.TLessonPath;
|
||||
import de.jottyfan.bico.db.tables.TSubject.TSubjectPath;
|
||||
import de.jottyfan.bico.db.tables.records.TLessonSubjectRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TLessonSubject(Name alias, Table<TLessonSubjectRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TLessonSubjectRecord> childPath, InverseForeignKey<O, TLessonSubjectRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_LESSON_SUBJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TLessonSubjectPath extends TLessonSubject implements Path<TLessonSubjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TLessonSubjectPath(Table<O> path, ForeignKey<O, TLessonSubjectRecord> childPath, InverseForeignKey<O, TLessonSubjectRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TLessonSubjectPath(Name alias, Table<TLessonSubjectRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonSubjectPath as(String alias) {
|
||||
return new TLessonSubjectPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonSubjectPath as(Name alias) {
|
||||
return new TLessonSubjectPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonSubjectPath as(Table<?> alias) {
|
||||
return new TLessonSubjectPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@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 TLessonPath _tLesson;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_lesson</code> table.
|
||||
*/
|
||||
public TLessonPath tLesson() {
|
||||
if (_tLesson == null)
|
||||
_tLesson = new TLessonPath(this, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_LESSON_FKEY, null);
|
||||
|
||||
return _tLesson;
|
||||
}
|
||||
|
||||
private transient TSubjectPath _tSubject;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_subject</code> table.
|
||||
*/
|
||||
public TSubjectPath tSubject() {
|
||||
if (_tSubject == null)
|
||||
_tSubject = new TSubjectPath(this, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_SUBJECT_FKEY, null);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLessonSubject as(Table<?> alias) {
|
||||
return new TLessonSubject(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject rename(Table<?> name) {
|
||||
return new TLessonSubject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject where(Condition condition) {
|
||||
return new TLessonSubject(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLessonSubject where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLessonSubject where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLessonSubject where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TLessonSubject where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TLessonSubject whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
297
src/main/java/de/jottyfan/bico/db/tables/TPerson.java
Normal file
297
src/main/java/de/jottyfan/bico/db/tables/TPerson.java
Normal file
@@ -0,0 +1,297 @@
|
||||
/*
|
||||
* 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.TLesson.TLessonPath;
|
||||
import de.jottyfan.bico.db.tables.records.TPersonRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TPerson(Name alias, Table<TPersonRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TPersonRecord> childPath, InverseForeignKey<O, TPersonRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_PERSON);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TPersonPath extends TPerson implements Path<TPersonRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TPersonPath(Table<O> path, ForeignKey<O, TPersonRecord> childPath, InverseForeignKey<O, TPersonRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TPersonPath(Name alias, Table<TPersonRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPersonPath as(String alias) {
|
||||
return new TPersonPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPersonPath as(Name alias) {
|
||||
return new TPersonPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPersonPath as(Table<?> alias) {
|
||||
return new TPersonPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
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_ABBREVIATION_KEY, Keys.T_PERSON_FORENAME_SURNAME_KEY);
|
||||
}
|
||||
|
||||
private transient TLessonPath _tLesson;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>public.t_lesson</code>
|
||||
* table
|
||||
*/
|
||||
public TLessonPath tLesson() {
|
||||
if (_tLesson == null)
|
||||
_tLesson = new TLessonPath(this, null, Keys.T_LESSON__T_LESSON_FK_PERSON_FKEY.getInverseKey());
|
||||
|
||||
return _tLesson;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPerson as(String alias) {
|
||||
return new TPerson(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPerson as(Name alias) {
|
||||
return new TPerson(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TPerson as(Table<?> alias) {
|
||||
return new TPerson(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson rename(Table<?> name) {
|
||||
return new TPerson(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson where(Condition condition) {
|
||||
return new TPerson(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TPerson where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TPerson where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TPerson where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TPerson where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TPerson whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
241
src/main/java/de/jottyfan/bico/db/tables/TProfile.java
Normal file
241
src/main/java/de/jottyfan/bico/db/tables/TProfile.java
Normal file
@@ -0,0 +1,241 @@
|
||||
/*
|
||||
* 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.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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(DSL.raw("'light'::text"), SQLDataType.CLOB)), this, "");
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(Table<?> alias) {
|
||||
return new TProfile(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(String name) {
|
||||
return new TProfile(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Name name) {
|
||||
return new TProfile(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Table<?> name) {
|
||||
return new TProfile(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile where(Condition condition) {
|
||||
return new TProfile(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TProfile where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TProfile where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TProfile where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TProfile where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
299
src/main/java/de/jottyfan/bico/db/tables/TSlot.java
Normal file
299
src/main/java/de/jottyfan/bico/db/tables/TSlot.java
Normal file
@@ -0,0 +1,299 @@
|
||||
/*
|
||||
* 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.enums.EnumGroupname;
|
||||
import de.jottyfan.bico.db.tables.TLesson.TLessonPath;
|
||||
import de.jottyfan.bico.db.tables.records.TSlotRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.t_slot.groupname</code>.
|
||||
*/
|
||||
public final TableField<TSlotRecord, EnumGroupname> GROUPNAME = createField(DSL.name("groupname"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field(DSL.raw("'bibleclass'::enum_groupname"), SQLDataType.VARCHAR)).asEnumDataType(EnumGroupname.class), this, "");
|
||||
|
||||
private TSlot(Name alias, Table<TSlotRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TSlot(Name alias, Table<TSlotRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TSlotRecord> childPath, InverseForeignKey<O, TSlotRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_SLOT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TSlotPath extends TSlot implements Path<TSlotRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TSlotPath(Table<O> path, ForeignKey<O, TSlotRecord> childPath, InverseForeignKey<O, TSlotRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TSlotPath(Name alias, Table<TSlotRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlotPath as(String alias) {
|
||||
return new TSlotPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlotPath as(Name alias) {
|
||||
return new TSlotPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlotPath as(Table<?> alias) {
|
||||
return new TSlotPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
private transient TLessonPath _tLesson;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>public.t_lesson</code>
|
||||
* table
|
||||
*/
|
||||
public TLessonPath tLesson() {
|
||||
if (_tLesson == null)
|
||||
_tLesson = new TLessonPath(this, null, Keys.T_LESSON__T_LESSON_FK_LESSONDAY_FKEY.getInverseKey());
|
||||
|
||||
return _tLesson;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlot as(String alias) {
|
||||
return new TSlot(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlot as(Name alias) {
|
||||
return new TSlot(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSlot as(Table<?> alias) {
|
||||
return new TSlot(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot rename(Table<?> name) {
|
||||
return new TSlot(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot where(Condition condition) {
|
||||
return new TSlot(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSlot where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSlot where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSlot where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSlot where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSlot whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
287
src/main/java/de/jottyfan/bico/db/tables/TSource.java
Normal file
287
src/main/java/de/jottyfan/bico/db/tables/TSource.java
Normal file
@@ -0,0 +1,287 @@
|
||||
/*
|
||||
* 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.TSubject.TSubjectPath;
|
||||
import de.jottyfan.bico.db.tables.records.TSourceRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TSource(Name alias, Table<TSourceRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TSourceRecord> childPath, InverseForeignKey<O, TSourceRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_SOURCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TSourcePath extends TSource implements Path<TSourceRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TSourcePath(Table<O> path, ForeignKey<O, TSourceRecord> childPath, InverseForeignKey<O, TSourceRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TSourcePath(Name alias, Table<TSourceRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSourcePath as(String alias) {
|
||||
return new TSourcePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSourcePath as(Name alias) {
|
||||
return new TSourcePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSourcePath as(Table<?> alias) {
|
||||
return new TSourcePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
private transient TSubjectPath _tSubject;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>public.t_subject</code>
|
||||
* table
|
||||
*/
|
||||
public TSubjectPath tSubject() {
|
||||
if (_tSubject == null)
|
||||
_tSubject = new TSubjectPath(this, null, Keys.T_SUBJECT__T_SUBJECT_FK_SOURCE_FKEY.getInverseKey());
|
||||
|
||||
return _tSubject;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSource as(String alias) {
|
||||
return new TSource(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSource as(Name alias) {
|
||||
return new TSource(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSource as(Table<?> alias) {
|
||||
return new TSource(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TSource rename(Table<?> name) {
|
||||
return new TSource(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource where(Condition condition) {
|
||||
return new TSource(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSource where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSource where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSource where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSource where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSource whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
344
src/main/java/de/jottyfan/bico/db/tables/TSubject.java
Normal file
344
src/main/java/de/jottyfan/bico/db/tables/TSubject.java
Normal file
@@ -0,0 +1,344 @@
|
||||
/*
|
||||
* 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.TLesson.TLessonPath;
|
||||
import de.jottyfan.bico.db.tables.TLessonSubject.TLessonSubjectPath;
|
||||
import de.jottyfan.bico.db.tables.TSource.TSourcePath;
|
||||
import de.jottyfan.bico.db.tables.records.TSubjectRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TSubject(Name alias, Table<TSubjectRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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> path, ForeignKey<O, TSubjectRecord> childPath, InverseForeignKey<O, TSubjectRecord> parentPath) {
|
||||
super(path, childPath, parentPath, T_SUBJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class TSubjectPath extends TSubject implements Path<TSubjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public <O extends Record> TSubjectPath(Table<O> path, ForeignKey<O, TSubjectRecord> childPath, InverseForeignKey<O, TSubjectRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private TSubjectPath(Name alias, Table<TSubjectRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubjectPath as(String alias) {
|
||||
return new TSubjectPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubjectPath as(Name alias) {
|
||||
return new TSubjectPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubjectPath as(Table<?> alias) {
|
||||
return new TSubjectPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@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 TSourcePath _tSource;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_source</code> table.
|
||||
*/
|
||||
public TSourcePath tSource() {
|
||||
if (_tSource == null)
|
||||
_tSource = new TSourcePath(this, Keys.T_SUBJECT__T_SUBJECT_FK_SOURCE_FKEY, null);
|
||||
|
||||
return _tSource;
|
||||
}
|
||||
|
||||
private transient TLessonSubjectPath _tLessonSubject;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>public.t_lesson_subject</code> table
|
||||
*/
|
||||
public TLessonSubjectPath tLessonSubject() {
|
||||
if (_tLessonSubject == null)
|
||||
_tLessonSubject = new TLessonSubjectPath(this, null, Keys.T_LESSON_SUBJECT__T_LESSON_SUBJECT_FK_SUBJECT_FKEY.getInverseKey());
|
||||
|
||||
return _tLessonSubject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>public.t_lesson</code> table
|
||||
*/
|
||||
public TLessonPath tLesson() {
|
||||
return tLessonSubject().tLesson();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubject as(String alias) {
|
||||
return new TSubject(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubject as(Name alias) {
|
||||
return new TSubject(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TSubject as(Table<?> alias) {
|
||||
return new TSubject(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject rename(Table<?> name) {
|
||||
return new TSubject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject where(Condition condition) {
|
||||
return new TSubject(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSubject where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSubject where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSubject where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TSubject where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TSubject whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
334
src/main/java/de/jottyfan/bico/db/tables/VCalendar.java
Normal file
334
src/main/java/de/jottyfan/bico/db/tables/VCalendar.java
Normal file
@@ -0,0 +1,334 @@
|
||||
/*
|
||||
* 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 java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_calendar.bibleclass</code>.
|
||||
*/
|
||||
public final TableField<VCalendarRecord, Boolean> BIBLECLASS = createField(DSL.name("bibleclass"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_calendar.youthgroup</code>.
|
||||
*/
|
||||
public final TableField<VCalendarRecord, Boolean> YOUTHGROUP = createField(DSL.name("youthgroup"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
private VCalendar(Name alias, Table<VCalendarRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VCalendar(Name alias, Table<VCalendarRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
CREATE VIEW "v_calendar" AS SELECT d.slot_day,
|
||||
((p.forename || ' '::text) || p.surname) AS fullname,
|
||||
p.abbreviation,
|
||||
o.name AS source_name,
|
||||
s.theme,
|
||||
s.subtheme,
|
||||
s.book_pages,
|
||||
s.worksheets,
|
||||
s.bibleverse,
|
||||
s.notes AS subject_notes,
|
||||
l.notes AS lesson_notes,
|
||||
d.note AS slot_notes,
|
||||
d.pk_slot,
|
||||
l.pk_lesson,
|
||||
ls.pk_lesson_subject,
|
||||
p.pk_person,
|
||||
s.pk_subject,
|
||||
o.pk_source,
|
||||
(d.groupname = 'bibleclass'::enum_groupname) AS bibleclass,
|
||||
(d.groupname = 'youthgroup'::enum_groupname) AS youthgroup
|
||||
FROM (((((t_slot d
|
||||
LEFT JOIN t_lesson l ON ((l.fk_slot = d.pk_slot)))
|
||||
LEFT JOIN t_lesson_subject ls ON ((ls.fk_lesson = l.pk_lesson)))
|
||||
LEFT JOIN t_person p ON ((p.pk_person = l.fk_person)))
|
||||
LEFT JOIN t_subject s ON ((s.pk_subject = ls.fk_subject)))
|
||||
LEFT JOIN t_source o ON ((o.pk_source = s.fk_source)));
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCalendar as(Table<?> alias) {
|
||||
return new VCalendar(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar rename(Table<?> name) {
|
||||
return new VCalendar(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar where(Condition condition) {
|
||||
return new VCalendar(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCalendar where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCalendar where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCalendar where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCalendar where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCalendar whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
250
src/main/java/de/jottyfan/bico/db/tables/VLesson.java
Normal file
250
src/main/java/de/jottyfan/bico/db/tables/VLesson.java
Normal file
@@ -0,0 +1,250 @@
|
||||
/*
|
||||
* 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 java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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.array(), 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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VLesson(Name alias, Table<VLessonRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
CREATE VIEW "v_lesson" AS SELECT su.pk_subject,
|
||||
s.name AS source_name,
|
||||
su.theme,
|
||||
su.subtheme,
|
||||
array_agg(d.slot_day) AS slots,
|
||||
su.order_nr
|
||||
FROM ((((t_subject su
|
||||
LEFT JOIN t_source s ON ((s.pk_source = su.fk_source)))
|
||||
LEFT JOIN t_lesson_subject ls ON ((ls.fk_subject = su.pk_subject)))
|
||||
LEFT JOIN t_lesson l ON ((l.pk_lesson = ls.fk_lesson)))
|
||||
LEFT JOIN t_slot d ON ((d.pk_slot = l.fk_slot)))
|
||||
GROUP BY su.pk_subject, s.name, su.theme, su.subtheme, su.order_nr;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLesson as(Table<?> alias) {
|
||||
return new VLesson(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson rename(Table<?> name) {
|
||||
return new VLesson(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson where(Condition condition) {
|
||||
return new VLesson(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLesson where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLesson where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLesson where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLesson where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLesson whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
235
src/main/java/de/jottyfan/bico/db/tables/VLessonMissing.java
Normal file
235
src/main/java/de/jottyfan/bico/db/tables/VLessonMissing.java
Normal file
@@ -0,0 +1,235 @@
|
||||
/*
|
||||
* 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 java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VLessonMissing(Name alias, Table<VLessonMissingRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
CREATE VIEW "v_lesson_missing" AS SELECT s.name AS source_name,
|
||||
su.theme,
|
||||
su.subtheme,
|
||||
su.order_nr
|
||||
FROM (t_subject su
|
||||
LEFT JOIN t_source s ON ((s.pk_source = su.fk_source)))
|
||||
WHERE (NOT (su.pk_subject IN ( SELECT t_lesson_subject.fk_subject
|
||||
FROM t_lesson_subject)));
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLessonMissing as(Table<?> alias) {
|
||||
return new VLessonMissing(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing rename(Table<?> name) {
|
||||
return new VLessonMissing(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing where(Condition condition) {
|
||||
return new VLessonMissing(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLessonMissing where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLessonMissing where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLessonMissing where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VLessonMissing where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VLessonMissing whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
213
src/main/java/de/jottyfan/bico/db/tables/VVersion.java
Normal file
213
src/main/java/de/jottyfan/bico/db/tables/VVersion.java
Normal file
@@ -0,0 +1,213 @@
|
||||
/*
|
||||
* 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 java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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", "this-escape" })
|
||||
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, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
CREATE VIEW "v_version" AS SELECT 9 AS version;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VVersion as(Table<?> alias) {
|
||||
return new VVersion(alias.getQualifiedName(), 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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion rename(Table<?> name) {
|
||||
return new VVersion(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion where(Condition condition) {
|
||||
return new VVersion(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VVersion where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VVersion where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VVersion where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VVersion where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VVersion whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
129
src/main/java/de/jottyfan/bico/db/tables/pojos/TLesson.java
Normal file
129
src/main/java/de/jottyfan/bico/db/tables/pojos/TLesson.java
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkLesson == null) {
|
||||
if (other.pkLesson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkLesson.equals(other.pkLesson))
|
||||
return false;
|
||||
if (this.fkSlot == null) {
|
||||
if (other.fkSlot != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkSlot.equals(other.fkSlot))
|
||||
return false;
|
||||
if (this.fkPerson == null) {
|
||||
if (other.fkPerson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkPerson.equals(other.fkPerson))
|
||||
return false;
|
||||
if (this.notes == null) {
|
||||
if (other.notes != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkLessonSubject == null) {
|
||||
if (other.pkLessonSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkLessonSubject.equals(other.pkLessonSubject))
|
||||
return false;
|
||||
if (this.fkLesson == null) {
|
||||
if (other.fkLesson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkLesson.equals(other.fkLesson))
|
||||
return false;
|
||||
if (this.fkSubject == null) {
|
||||
if (other.fkSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
129
src/main/java/de/jottyfan/bico/db/tables/pojos/TPerson.java
Normal file
129
src/main/java/de/jottyfan/bico/db/tables/pojos/TPerson.java
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkPerson == null) {
|
||||
if (other.pkPerson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkPerson.equals(other.pkPerson))
|
||||
return false;
|
||||
if (this.forename == null) {
|
||||
if (other.forename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.forename.equals(other.forename))
|
||||
return false;
|
||||
if (this.surname == null) {
|
||||
if (other.surname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.surname.equals(other.surname))
|
||||
return false;
|
||||
if (this.abbreviation == null) {
|
||||
if (other.abbreviation != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
110
src/main/java/de/jottyfan/bico/db/tables/pojos/TProfile.java
Normal file
110
src/main/java/de/jottyfan/bico/db/tables/pojos/TProfile.java
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.id == null) {
|
||||
if (other.id != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.id.equals(other.id))
|
||||
return false;
|
||||
if (this.username == null) {
|
||||
if (other.username != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.username.equals(other.username))
|
||||
return false;
|
||||
if (this.theme == null) {
|
||||
if (other.theme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
132
src/main/java/de/jottyfan/bico/db/tables/pojos/TSlot.java
Normal file
132
src/main/java/de/jottyfan/bico/db/tables/pojos/TSlot.java
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.bico.db.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.bico.db.enums.EnumGroupname;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSlot implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pkSlot;
|
||||
private final LocalDate slotDay;
|
||||
private final String note;
|
||||
private final EnumGroupname groupname;
|
||||
|
||||
public TSlot(TSlot value) {
|
||||
this.pkSlot = value.pkSlot;
|
||||
this.slotDay = value.slotDay;
|
||||
this.note = value.note;
|
||||
this.groupname = value.groupname;
|
||||
}
|
||||
|
||||
public TSlot(
|
||||
Integer pkSlot,
|
||||
LocalDate slotDay,
|
||||
String note,
|
||||
EnumGroupname groupname
|
||||
) {
|
||||
this.pkSlot = pkSlot;
|
||||
this.slotDay = slotDay;
|
||||
this.note = note;
|
||||
this.groupname = groupname;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_slot.groupname</code>.
|
||||
*/
|
||||
public EnumGroupname getGroupname() {
|
||||
return this.groupname;
|
||||
}
|
||||
|
||||
@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 (this.pkSlot == null) {
|
||||
if (other.pkSlot != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSlot.equals(other.pkSlot))
|
||||
return false;
|
||||
if (this.slotDay == null) {
|
||||
if (other.slotDay != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.slotDay.equals(other.slotDay))
|
||||
return false;
|
||||
if (this.note == null) {
|
||||
if (other.note != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.note.equals(other.note))
|
||||
return false;
|
||||
if (this.groupname == null) {
|
||||
if (other.groupname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.groupname.equals(other.groupname))
|
||||
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());
|
||||
result = prime * result + ((this.groupname == null) ? 0 : this.groupname.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(", ").append(groupname);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
91
src/main/java/de/jottyfan/bico/db/tables/pojos/TSource.java
Normal file
91
src/main/java/de/jottyfan/bico/db/tables/pojos/TSource.java
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkSource == null) {
|
||||
if (other.pkSource != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSource.equals(other.pkSource))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
224
src/main/java/de/jottyfan/bico/db/tables/pojos/TSubject.java
Normal file
224
src/main/java/de/jottyfan/bico/db/tables/pojos/TSubject.java
Normal file
@@ -0,0 +1,224 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkSubject == null) {
|
||||
if (other.pkSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSubject.equals(other.pkSubject))
|
||||
return false;
|
||||
if (this.fkSource == null) {
|
||||
if (other.fkSource != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkSource.equals(other.fkSource))
|
||||
return false;
|
||||
if (this.theme == null) {
|
||||
if (other.theme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.theme.equals(other.theme))
|
||||
return false;
|
||||
if (this.subtheme == null) {
|
||||
if (other.subtheme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.subtheme.equals(other.subtheme))
|
||||
return false;
|
||||
if (this.bookPages == null) {
|
||||
if (other.bookPages != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.bookPages.equals(other.bookPages))
|
||||
return false;
|
||||
if (this.worksheets == null) {
|
||||
if (other.worksheets != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.worksheets.equals(other.worksheets))
|
||||
return false;
|
||||
if (this.bibleverse == null) {
|
||||
if (other.bibleverse != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.bibleverse.equals(other.bibleverse))
|
||||
return false;
|
||||
if (this.notes == null) {
|
||||
if (other.notes != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.notes.equals(other.notes))
|
||||
return false;
|
||||
if (this.orderNr == null) {
|
||||
if (other.orderNr != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
434
src/main/java/de/jottyfan/bico/db/tables/pojos/VCalendar.java
Normal file
434
src/main/java/de/jottyfan/bico/db/tables/pojos/VCalendar.java
Normal file
@@ -0,0 +1,434 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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;
|
||||
private final Boolean bibleclass;
|
||||
private final Boolean youthgroup;
|
||||
|
||||
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;
|
||||
this.bibleclass = value.bibleclass;
|
||||
this.youthgroup = value.youthgroup;
|
||||
}
|
||||
|
||||
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,
|
||||
Boolean bibleclass,
|
||||
Boolean youthgroup
|
||||
) {
|
||||
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;
|
||||
this.bibleclass = bibleclass;
|
||||
this.youthgroup = youthgroup;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_calendar.bibleclass</code>.
|
||||
*/
|
||||
public Boolean getBibleclass() {
|
||||
return this.bibleclass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_calendar.youthgroup</code>.
|
||||
*/
|
||||
public Boolean getYouthgroup() {
|
||||
return this.youthgroup;
|
||||
}
|
||||
|
||||
@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 (this.slotDay == null) {
|
||||
if (other.slotDay != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.slotDay.equals(other.slotDay))
|
||||
return false;
|
||||
if (this.fullname == null) {
|
||||
if (other.fullname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fullname.equals(other.fullname))
|
||||
return false;
|
||||
if (this.abbreviation == null) {
|
||||
if (other.abbreviation != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.abbreviation.equals(other.abbreviation))
|
||||
return false;
|
||||
if (this.sourceName == null) {
|
||||
if (other.sourceName != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.sourceName.equals(other.sourceName))
|
||||
return false;
|
||||
if (this.theme == null) {
|
||||
if (other.theme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.theme.equals(other.theme))
|
||||
return false;
|
||||
if (this.subtheme == null) {
|
||||
if (other.subtheme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.subtheme.equals(other.subtheme))
|
||||
return false;
|
||||
if (this.bookPages == null) {
|
||||
if (other.bookPages != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.bookPages.equals(other.bookPages))
|
||||
return false;
|
||||
if (this.worksheets == null) {
|
||||
if (other.worksheets != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.worksheets.equals(other.worksheets))
|
||||
return false;
|
||||
if (this.bibleverse == null) {
|
||||
if (other.bibleverse != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.bibleverse.equals(other.bibleverse))
|
||||
return false;
|
||||
if (this.subjectNotes == null) {
|
||||
if (other.subjectNotes != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.subjectNotes.equals(other.subjectNotes))
|
||||
return false;
|
||||
if (this.lessonNotes == null) {
|
||||
if (other.lessonNotes != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.lessonNotes.equals(other.lessonNotes))
|
||||
return false;
|
||||
if (this.slotNotes == null) {
|
||||
if (other.slotNotes != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.slotNotes.equals(other.slotNotes))
|
||||
return false;
|
||||
if (this.pkSlot == null) {
|
||||
if (other.pkSlot != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSlot.equals(other.pkSlot))
|
||||
return false;
|
||||
if (this.pkLesson == null) {
|
||||
if (other.pkLesson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkLesson.equals(other.pkLesson))
|
||||
return false;
|
||||
if (this.pkLessonSubject == null) {
|
||||
if (other.pkLessonSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkLessonSubject.equals(other.pkLessonSubject))
|
||||
return false;
|
||||
if (this.pkPerson == null) {
|
||||
if (other.pkPerson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkPerson.equals(other.pkPerson))
|
||||
return false;
|
||||
if (this.pkSubject == null) {
|
||||
if (other.pkSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSubject.equals(other.pkSubject))
|
||||
return false;
|
||||
if (this.pkSource == null) {
|
||||
if (other.pkSource != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSource.equals(other.pkSource))
|
||||
return false;
|
||||
if (this.bibleclass == null) {
|
||||
if (other.bibleclass != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.bibleclass.equals(other.bibleclass))
|
||||
return false;
|
||||
if (this.youthgroup == null) {
|
||||
if (other.youthgroup != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.youthgroup.equals(other.youthgroup))
|
||||
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());
|
||||
result = prime * result + ((this.bibleclass == null) ? 0 : this.bibleclass.hashCode());
|
||||
result = prime * result + ((this.youthgroup == null) ? 0 : this.youthgroup.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(", ").append(bibleclass);
|
||||
sb.append(", ").append(youthgroup);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
169
src/main/java/de/jottyfan/bico/db/tables/pojos/VLesson.java
Normal file
169
src/main/java/de/jottyfan/bico/db/tables/pojos/VLesson.java
Normal file
@@ -0,0 +1,169 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.pkSubject == null) {
|
||||
if (other.pkSubject != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pkSubject.equals(other.pkSubject))
|
||||
return false;
|
||||
if (this.sourceName == null) {
|
||||
if (other.sourceName != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.sourceName.equals(other.sourceName))
|
||||
return false;
|
||||
if (this.theme == null) {
|
||||
if (other.theme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.theme.equals(other.theme))
|
||||
return false;
|
||||
if (this.subtheme == null) {
|
||||
if (other.subtheme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.subtheme.equals(other.subtheme))
|
||||
return false;
|
||||
if (this.slots == null) {
|
||||
if (other.slots != null)
|
||||
return false;
|
||||
}
|
||||
else if (!Arrays.deepEquals(this.slots, other.slots))
|
||||
return false;
|
||||
if (this.orderNr == null) {
|
||||
if (other.orderNr != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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.deepHashCode(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.deepToString(slots));
|
||||
sb.append(", ").append(orderNr);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.sourceName == null) {
|
||||
if (other.sourceName != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.sourceName.equals(other.sourceName))
|
||||
return false;
|
||||
if (this.theme == null) {
|
||||
if (other.theme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.theme.equals(other.theme))
|
||||
return false;
|
||||
if (this.subtheme == null) {
|
||||
if (other.subtheme != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.subtheme.equals(other.subtheme))
|
||||
return false;
|
||||
if (this.orderNr == null) {
|
||||
if (other.orderNr != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
72
src/main/java/de/jottyfan/bico/db/tables/pojos/VVersion.java
Normal file
72
src/main/java/de/jottyfan/bico/db/tables/pojos/VVersion.java
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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 (this.version == null) {
|
||||
if (other.version != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.bico.db.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.bico.db.enums.EnumGroupname;
|
||||
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", "this-escape" })
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_slot.groupname</code>.
|
||||
*/
|
||||
public TSlotRecord setGroupname(EnumGroupname value) {
|
||||
set(3, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_slot.groupname</code>.
|
||||
*/
|
||||
public EnumGroupname getGroupname() {
|
||||
return (EnumGroupname) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// 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, EnumGroupname groupname) {
|
||||
super(TSlot.T_SLOT);
|
||||
|
||||
setPkSlot(pkSlot);
|
||||
setSlotDay(slotDay);
|
||||
setNote(note);
|
||||
setGroupname(groupname);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
setGroupname(value.getGroupname());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,392 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.v_calendar.bibleclass</code>.
|
||||
*/
|
||||
public VCalendarRecord setBibleclass(Boolean value) {
|
||||
set(18, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_calendar.bibleclass</code>.
|
||||
*/
|
||||
public Boolean getBibleclass() {
|
||||
return (Boolean) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.v_calendar.youthgroup</code>.
|
||||
*/
|
||||
public VCalendarRecord setYouthgroup(Boolean value) {
|
||||
set(19, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_calendar.youthgroup</code>.
|
||||
*/
|
||||
public Boolean getYouthgroup() {
|
||||
return (Boolean) get(19);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// 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, Boolean bibleclass, Boolean youthgroup) {
|
||||
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);
|
||||
setBibleclass(bibleclass);
|
||||
setYouthgroup(youthgroup);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
setBibleclass(value.getBibleclass());
|
||||
setYouthgroup(value.getYouthgroup());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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", "this-escape" })
|
||||
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);
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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());
|
||||
resetTouchedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user