From fded3f189b6051d1349ccf15291f26440b52ee37 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 16 Mar 2020 11:35:44 +0100 Subject: [PATCH] Regenerate examples --- .../example/db/h2/tables/pojos/Author.java | 38 ++++++++++- .../jooq/example/db/h2/tables/pojos/Book.java | 68 ++++++++++++++++++- .../example/db/h2/tables/pojos/BookStore.java | 8 ++- .../db/h2/tables/pojos/BookToBookStore.java | 20 +++++- 4 files changed, 130 insertions(+), 4 deletions(-) diff --git a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Author.java b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Author.java index 3da89ae7ae..77ce8d250d 100644 --- a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Author.java +++ b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Author.java @@ -14,7 +14,7 @@ import java.time.LocalDate; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Author implements Serializable { - private static final long serialVersionUID = 1287432081; + private static final long serialVersionUID = -1160184137; private Integer id; private String firstName; @@ -50,50 +50,86 @@ public class Author implements Serializable { this.address = address; } + /** + * Getter for PUBLIC.AUTHOR.ID. + */ public Integer getId() { return this.id; } + /** + * Setter for PUBLIC.AUTHOR.ID. + */ public void setId(Integer id) { this.id = id; } + /** + * Getter for PUBLIC.AUTHOR.FIRST_NAME. + */ public String getFirstName() { return this.firstName; } + /** + * Setter for PUBLIC.AUTHOR.FIRST_NAME. + */ public void setFirstName(String firstName) { this.firstName = firstName; } + /** + * Getter for PUBLIC.AUTHOR.LAST_NAME. + */ public String getLastName() { return this.lastName; } + /** + * Setter for PUBLIC.AUTHOR.LAST_NAME. + */ public void setLastName(String lastName) { this.lastName = lastName; } + /** + * Getter for PUBLIC.AUTHOR.DATE_OF_BIRTH. + */ public LocalDate getDateOfBirth() { return this.dateOfBirth; } + /** + * Setter for PUBLIC.AUTHOR.DATE_OF_BIRTH. + */ public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } + /** + * Getter for PUBLIC.AUTHOR.YEAR_OF_BIRTH. + */ public Integer getYearOfBirth() { return this.yearOfBirth; } + /** + * Setter for PUBLIC.AUTHOR.YEAR_OF_BIRTH. + */ public void setYearOfBirth(Integer yearOfBirth) { this.yearOfBirth = yearOfBirth; } + /** + * Getter for PUBLIC.AUTHOR.ADDRESS. + */ public String getAddress() { return this.address; } + /** + * Setter for PUBLIC.AUTHOR.ADDRESS. + */ public void setAddress(String address) { this.address = address; } diff --git a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Book.java b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Book.java index a9c0fde8ac..f16c065aae 100644 --- a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Book.java +++ b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/Book.java @@ -14,7 +14,7 @@ import java.time.LocalDateTime; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Book implements Serializable { - private static final long serialVersionUID = 610281033; + private static final long serialVersionUID = -1597923197; private Integer id; private Integer authorId; @@ -70,90 +70,156 @@ public class Book implements Serializable { this.recTimestamp = recTimestamp; } + /** + * Getter for PUBLIC.BOOK.ID. + */ public Integer getId() { return this.id; } + /** + * Setter for PUBLIC.BOOK.ID. + */ public void setId(Integer id) { this.id = id; } + /** + * Getter for PUBLIC.BOOK.AUTHOR_ID. + */ public Integer getAuthorId() { return this.authorId; } + /** + * Setter for PUBLIC.BOOK.AUTHOR_ID. + */ public void setAuthorId(Integer authorId) { this.authorId = authorId; } + /** + * Getter for PUBLIC.BOOK.CO_AUTHOR_ID. + */ public Integer getCoAuthorId() { return this.coAuthorId; } + /** + * Setter for PUBLIC.BOOK.CO_AUTHOR_ID. + */ public void setCoAuthorId(Integer coAuthorId) { this.coAuthorId = coAuthorId; } + /** + * Getter for PUBLIC.BOOK.DETAILS_ID. + */ public Integer getDetailsId() { return this.detailsId; } + /** + * Setter for PUBLIC.BOOK.DETAILS_ID. + */ public void setDetailsId(Integer detailsId) { this.detailsId = detailsId; } + /** + * Getter for PUBLIC.BOOK.TITLE. + */ public String getTitle() { return this.title; } + /** + * Setter for PUBLIC.BOOK.TITLE. + */ public void setTitle(String title) { this.title = title; } + /** + * Getter for PUBLIC.BOOK.PUBLISHED_IN. + */ public Integer getPublishedIn() { return this.publishedIn; } + /** + * Setter for PUBLIC.BOOK.PUBLISHED_IN. + */ public void setPublishedIn(Integer publishedIn) { this.publishedIn = publishedIn; } + /** + * Getter for PUBLIC.BOOK.LANGUAGE_ID. + */ public Integer getLanguageId() { return this.languageId; } + /** + * Setter for PUBLIC.BOOK.LANGUAGE_ID. + */ public void setLanguageId(Integer languageId) { this.languageId = languageId; } + /** + * Getter for PUBLIC.BOOK.CONTENT_TEXT. + */ public String getContentText() { return this.contentText; } + /** + * Setter for PUBLIC.BOOK.CONTENT_TEXT. + */ public void setContentText(String contentText) { this.contentText = contentText; } + /** + * Getter for PUBLIC.BOOK.CONTENT_PDF. + */ public byte[] getContentPdf() { return this.contentPdf; } + /** + * Setter for PUBLIC.BOOK.CONTENT_PDF. + */ public void setContentPdf(byte[] contentPdf) { this.contentPdf = contentPdf; } + /** + * Getter for PUBLIC.BOOK.REC_VERSION. + */ public Integer getRecVersion() { return this.recVersion; } + /** + * Setter for PUBLIC.BOOK.REC_VERSION. + */ public void setRecVersion(Integer recVersion) { this.recVersion = recVersion; } + /** + * Getter for PUBLIC.BOOK.REC_TIMESTAMP. + */ public LocalDateTime getRecTimestamp() { return this.recTimestamp; } + /** + * Setter for PUBLIC.BOOK.REC_TIMESTAMP. + */ public void setRecTimestamp(LocalDateTime recTimestamp) { this.recTimestamp = recTimestamp; } diff --git a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookStore.java b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookStore.java index b861565a4a..1000bf96c4 100644 --- a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookStore.java +++ b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookStore.java @@ -13,7 +13,7 @@ import java.io.Serializable; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class BookStore implements Serializable { - private static final long serialVersionUID = -1971243490; + private static final long serialVersionUID = 1239527942; private String name; @@ -29,10 +29,16 @@ public class BookStore implements Serializable { this.name = name; } + /** + * Getter for PUBLIC.BOOK_STORE.NAME. + */ public String getName() { return this.name; } + /** + * Setter for PUBLIC.BOOK_STORE.NAME. + */ public void setName(String name) { this.name = name; } diff --git a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookToBookStore.java b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookToBookStore.java index fea068632f..068e53ef80 100644 --- a/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookToBookStore.java +++ b/jOOQ-examples/jOOQ-kotlin-example/src/main/java/org/jooq/example/db/h2/tables/pojos/BookToBookStore.java @@ -13,7 +13,7 @@ import java.io.Serializable; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class BookToBookStore implements Serializable { - private static final long serialVersionUID = -114511192; + private static final long serialVersionUID = -1002158446; private String bookStoreName; private Integer bookId; @@ -37,26 +37,44 @@ public class BookToBookStore implements Serializable { this.stock = stock; } + /** + * Getter for PUBLIC.BOOK_TO_BOOK_STORE.BOOK_STORE_NAME. + */ public String getBookStoreName() { return this.bookStoreName; } + /** + * Setter for PUBLIC.BOOK_TO_BOOK_STORE.BOOK_STORE_NAME. + */ public void setBookStoreName(String bookStoreName) { this.bookStoreName = bookStoreName; } + /** + * Getter for PUBLIC.BOOK_TO_BOOK_STORE.BOOK_ID. + */ public Integer getBookId() { return this.bookId; } + /** + * Setter for PUBLIC.BOOK_TO_BOOK_STORE.BOOK_ID. + */ public void setBookId(Integer bookId) { this.bookId = bookId; } + /** + * Getter for PUBLIC.BOOK_TO_BOOK_STORE.STOCK. + */ public Integer getStock() { return this.stock; } + /** + * Setter for PUBLIC.BOOK_TO_BOOK_STORE.STOCK. + */ public void setStock(Integer stock) { this.stock = stock; }