diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Keys.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Keys.java deleted file mode 100644 index 360fac3812..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Keys.java +++ /dev/null @@ -1,65 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb; - -/** - * This class is generated by jOOQ. - * - * A class modelling foreign key relationships between tables of the PUBLIC - * schema - */ -@java.lang.SuppressWarnings("all") -public class Keys { - - // IDENTITY definitions - public static final org.jooq.Identity IDENTITY_ATHLETE = Identities0.IDENTITY_ATHLETE; - - // UNIQUE and PRIMARY KEY definitions - public static final org.jooq.UniqueKey ATHLETE__PK_ATHLETE_CODE = UniqueKeys0.ATHLETE__PK_ATHLETE_CODE; - public static final org.jooq.UniqueKey EVENT__PK_EVENT_CODE = UniqueKeys0.EVENT__PK_EVENT_CODE; - public static final org.jooq.UniqueKey GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE = UniqueKeys0.GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE; - public static final org.jooq.UniqueKey HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE = UniqueKeys0.HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE; - public static final org.jooq.UniqueKey NATION__PK_NATION_CODE = UniqueKeys0.NATION__PK_NATION_CODE; - public static final org.jooq.UniqueKey OLYMPIC__PK_OLYMPIC_HOST_YEAR = UniqueKeys0.OLYMPIC__PK_OLYMPIC_HOST_YEAR; - public static final org.jooq.UniqueKey PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE = UniqueKeys0.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE; - public static final org.jooq.UniqueKey RECORD__PK_RECORD_HOST_YEAR_EVENT_CODE_ATHLETE_CODE_MEDAL = UniqueKeys0.RECORD__PK_RECORD_HOST_YEAR_EVENT_CODE_ATHLETE_CODE_MEDAL; - public static final org.jooq.UniqueKey STADIUM__PK_STADIUM_CODE = UniqueKeys0.STADIUM__PK_STADIUM_CODE; - - // FOREIGN KEY definitions - public static final org.jooq.ForeignKey GAME__FK_GAME_EVENT_CODE = ForeignKeys0.GAME__FK_GAME_EVENT_CODE; - public static final org.jooq.ForeignKey GAME__FK_GAME_ATHLETE_CODE = ForeignKeys0.GAME__FK_GAME_ATHLETE_CODE; - public static final org.jooq.ForeignKey PARTICIPANT__FK_PARTICIPANT_HOST_YEAR = ForeignKeys0.PARTICIPANT__FK_PARTICIPANT_HOST_YEAR; - public static final org.jooq.ForeignKey PARTICIPANT__FK_PARTICIPANT_NATION_CODE = ForeignKeys0.PARTICIPANT__FK_PARTICIPANT_NATION_CODE; - - /** - * No instances - */ - private Keys() {} - - @SuppressWarnings("hiding") - private static class Identities0 extends org.jooq.impl.AbstractKeys { - public static org.jooq.Identity IDENTITY_ATHLETE = createIdentity(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE, org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE); - } - - @SuppressWarnings({"hiding", "unchecked"}) - private static class UniqueKeys0 extends org.jooq.impl.AbstractKeys { - public static final org.jooq.UniqueKey ATHLETE__PK_ATHLETE_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE, org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE); - public static final org.jooq.UniqueKey EVENT__PK_EVENT_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Event.EVENT, org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE); - public static final org.jooq.UniqueKey GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Game.GAME, org.jooq.examples.cubrid.demodb.tables.Game.GAME.HOST_YEAR, org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE, org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE); - public static final org.jooq.UniqueKey HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.History.HISTORY, org.jooq.examples.cubrid.demodb.tables.History.HISTORY.EVENT_CODE, org.jooq.examples.cubrid.demodb.tables.History.HISTORY.ATHLETE); - public static final org.jooq.UniqueKey NATION__PK_NATION_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Nation.NATION, org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE); - public static final org.jooq.UniqueKey OLYMPIC__PK_OLYMPIC_HOST_YEAR = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC, org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR); - public static final org.jooq.UniqueKey PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE); - public static final org.jooq.UniqueKey RECORD__PK_RECORD_HOST_YEAR_EVENT_CODE_ATHLETE_CODE_MEDAL = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Record.RECORD, org.jooq.examples.cubrid.demodb.tables.Record.RECORD.HOST_YEAR, org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE, org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE, org.jooq.examples.cubrid.demodb.tables.Record.RECORD.MEDAL); - public static final org.jooq.UniqueKey STADIUM__PK_STADIUM_CODE = createUniqueKey(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM, org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.CODE); - } - - @SuppressWarnings({"hiding", "unchecked"}) - private static class ForeignKeys0 extends org.jooq.impl.AbstractKeys { - public static final org.jooq.ForeignKey GAME__FK_GAME_EVENT_CODE = createForeignKey(org.jooq.examples.cubrid.demodb.Keys.EVENT__PK_EVENT_CODE, org.jooq.examples.cubrid.demodb.tables.Game.GAME, org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE); - public static final org.jooq.ForeignKey GAME__FK_GAME_ATHLETE_CODE = createForeignKey(org.jooq.examples.cubrid.demodb.Keys.ATHLETE__PK_ATHLETE_CODE, org.jooq.examples.cubrid.demodb.tables.Game.GAME, org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE); - public static final org.jooq.ForeignKey PARTICIPANT__FK_PARTICIPANT_HOST_YEAR = createForeignKey(org.jooq.examples.cubrid.demodb.Keys.OLYMPIC__PK_OLYMPIC_HOST_YEAR, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR); - public static final org.jooq.ForeignKey PARTICIPANT__FK_PARTICIPANT_NATION_CODE = createForeignKey(org.jooq.examples.cubrid.demodb.Keys.NATION__PK_NATION_CODE, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Public.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Public.java deleted file mode 100644 index 07cae478cc..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Public.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Public extends org.jooq.impl.SchemaImpl { - - private static final long serialVersionUID = 1580670013; - - /** - * The singleton instance of PUBLIC - */ - public static final Public PUBLIC = new Public(); - - /** - * No further instances allowed - */ - private Public() { - super("PUBLIC"); - } - - @Override - public final java.util.List> getSequences() { - return java.util.Arrays.>asList( - org.jooq.examples.cubrid.demodb.Sequences.EVENT_NO, - org.jooq.examples.cubrid.demodb.Sequences.STADIUM_NO); - } - - @Override - public final java.util.List> getTables() { - return java.util.Arrays.>asList( - org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE, - org.jooq.examples.cubrid.demodb.tables.Code.CODE, - org.jooq.examples.cubrid.demodb.tables.Event.EVENT, - org.jooq.examples.cubrid.demodb.tables.Game.GAME, - org.jooq.examples.cubrid.demodb.tables.History.HISTORY, - org.jooq.examples.cubrid.demodb.tables.Nation.NATION, - org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC, - org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT, - org.jooq.examples.cubrid.demodb.tables.Record.RECORD, - org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Sequences.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Sequences.java deleted file mode 100644 index 5441ce2c3f..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Sequences.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb; - -/** - * This class is generated by jOOQ. - * - * Convenience access to all sequences in PUBLIC - */ -@java.lang.SuppressWarnings("all") -public final class Sequences { - - /** - * The sequence PUBLIC.event_no - */ - public static final org.jooq.Sequence EVENT_NO = new org.jooq.impl.SequenceImpl("event_no", org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.impl.SQLDataType.DECIMAL_INTEGER); - - /** - * The sequence PUBLIC.stadium_no - */ - public static final org.jooq.Sequence STADIUM_NO = new org.jooq.impl.SequenceImpl("stadium_no", org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.impl.SQLDataType.DECIMAL_INTEGER); - - /** - * No instances - */ - private Sequences() {} -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Tables.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Tables.java deleted file mode 100644 index afb9963dea..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/Tables.java +++ /dev/null @@ -1,68 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb; - -/** - * This class is generated by jOOQ. - * - * Convenience access to all tables in PUBLIC - */ -@java.lang.SuppressWarnings("all") -public final class Tables { - - /** - * The table PUBLIC.athlete - */ - public static final org.jooq.examples.cubrid.demodb.tables.Athlete ATHLETE = org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE; - - /** - * The table PUBLIC.code - */ - public static final org.jooq.examples.cubrid.demodb.tables.Code CODE = org.jooq.examples.cubrid.demodb.tables.Code.CODE; - - /** - * The table PUBLIC.event - */ - public static final org.jooq.examples.cubrid.demodb.tables.Event EVENT = org.jooq.examples.cubrid.demodb.tables.Event.EVENT; - - /** - * The table PUBLIC.game - */ - public static final org.jooq.examples.cubrid.demodb.tables.Game GAME = org.jooq.examples.cubrid.demodb.tables.Game.GAME; - - /** - * The table PUBLIC.history - */ - public static final org.jooq.examples.cubrid.demodb.tables.History HISTORY = org.jooq.examples.cubrid.demodb.tables.History.HISTORY; - - /** - * The table PUBLIC.nation - */ - public static final org.jooq.examples.cubrid.demodb.tables.Nation NATION = org.jooq.examples.cubrid.demodb.tables.Nation.NATION; - - /** - * The table PUBLIC.olympic - */ - public static final org.jooq.examples.cubrid.demodb.tables.Olympic OLYMPIC = org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC; - - /** - * The table PUBLIC.participant - */ - public static final org.jooq.examples.cubrid.demodb.tables.Participant PARTICIPANT = org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT; - - /** - * The table PUBLIC.record - */ - public static final org.jooq.examples.cubrid.demodb.tables.Record RECORD = org.jooq.examples.cubrid.demodb.tables.Record.RECORD; - - /** - * The table PUBLIC.stadium - */ - public static final org.jooq.examples.cubrid.demodb.tables.Stadium STADIUM = org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM; - - /** - * No instances - */ - private Tables() {} -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Athlete.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Athlete.java deleted file mode 100644 index 0592513a07..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Athlete.java +++ /dev/null @@ -1,82 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Athlete extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 445784850; - - /** - * The singleton instance of PUBLIC.athlete - */ - public static final org.jooq.examples.cubrid.demodb.tables.Athlete ATHLETE = new org.jooq.examples.cubrid.demodb.tables.Athlete(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord.class; - } - - /** - * The table column PUBLIC.athlete.code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.athlete.name - */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.athlete.gender - */ - public final org.jooq.TableField GENDER = createField("gender", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.athlete.nation_code - */ - public final org.jooq.TableField NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.athlete.event - */ - public final org.jooq.TableField EVENT = createField("event", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Athlete() { - super("athlete", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Athlete(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE); - } - - @Override - public org.jooq.Identity getIdentity() { - return org.jooq.examples.cubrid.demodb.Keys.IDENTITY_ATHLETE; - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.ATHLETE__PK_ATHLETE_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.ATHLETE__PK_ATHLETE_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Athlete as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Athlete(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Code.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Code.java deleted file mode 100644 index 11dacaf9f1..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Code.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Code extends org.jooq.impl.TableImpl { - - private static final long serialVersionUID = -88210578; - - /** - * The singleton instance of PUBLIC.code - */ - public static final org.jooq.examples.cubrid.demodb.tables.Code CODE = new org.jooq.examples.cubrid.demodb.tables.Code(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.CodeRecord.class; - } - - /** - * The table column PUBLIC.code.s_name - */ - public final org.jooq.TableField S_NAME = createField("s_name", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.code.f_name - */ - public final org.jooq.TableField F_NAME = createField("f_name", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Code() { - super("code", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Code(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Code.CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Code as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Code(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Event.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Event.java deleted file mode 100644 index 3a654b78ee..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Event.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Event extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -753371265; - - /** - * The singleton instance of PUBLIC.event - */ - public static final org.jooq.examples.cubrid.demodb.tables.Event EVENT = new org.jooq.examples.cubrid.demodb.tables.Event(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.EventRecord.class; - } - - /** - * The table column PUBLIC.event.code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.event.sports - */ - public final org.jooq.TableField SPORTS = createField("sports", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.event.name - */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.event.gender - */ - public final org.jooq.TableField GENDER = createField("gender", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.event.players - */ - public final org.jooq.TableField PLAYERS = createField("players", org.jooq.impl.SQLDataType.INTEGER, this); - - public Event() { - super("event", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Event(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Event.EVENT); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.EVENT__PK_EVENT_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.EVENT__PK_EVENT_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Event as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Event(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Game.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Game.java deleted file mode 100644 index e9d72cbcbb..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Game.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Game extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 1030392692; - - /** - * The singleton instance of PUBLIC.game - */ - public static final org.jooq.examples.cubrid.demodb.tables.Game GAME = new org.jooq.examples.cubrid.demodb.tables.Game(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.GameRecord.class; - } - - /** - * The table column PUBLIC.game.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.game.event_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_event_code
-	 * FOREIGN KEY (event_code)
-	 * REFERENCES PUBLIC.event (code)
-	 * 
- */ - public final org.jooq.TableField EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.game.athlete_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_athlete_code
-	 * FOREIGN KEY (athlete_code)
-	 * REFERENCES PUBLIC.athlete (code)
-	 * 
- */ - public final org.jooq.TableField ATHLETE_CODE = createField("athlete_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.game.stadium_code - */ - public final org.jooq.TableField STADIUM_CODE = createField("stadium_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.game.nation_code - */ - public final org.jooq.TableField NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.game.medal - */ - public final org.jooq.TableField MEDAL = createField("medal", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.game.game_date - */ - public final org.jooq.TableField GAME_DATE = createField("game_date", org.jooq.impl.SQLDataType.DATE, this); - - public Game() { - super("game", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Game(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Game.GAME); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.GAME__FK_GAME_EVENT_CODE, org.jooq.examples.cubrid.demodb.Keys.GAME__FK_GAME_ATHLETE_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Game as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Game(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/History.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/History.java deleted file mode 100644 index 1d8d8e6f7b..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/History.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class History extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 663524053; - - /** - * The singleton instance of PUBLIC.history - */ - public static final org.jooq.examples.cubrid.demodb.tables.History HISTORY = new org.jooq.examples.cubrid.demodb.tables.History(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord.class; - } - - /** - * The table column PUBLIC.history.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.history.athlete - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField ATHLETE = createField("athlete", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.history.host_year - */ - public final org.jooq.TableField HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.history.score - */ - public final org.jooq.TableField SCORE = createField("score", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.history.unit - */ - public final org.jooq.TableField UNIT = createField("unit", org.jooq.impl.SQLDataType.VARCHAR, this); - - public History() { - super("history", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public History(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.History.HISTORY); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.History as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.History(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Nation.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Nation.java deleted file mode 100644 index 66f03ef2cd..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Nation.java +++ /dev/null @@ -1,72 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Nation extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -848030226; - - /** - * The singleton instance of PUBLIC.nation - */ - public static final org.jooq.examples.cubrid.demodb.tables.Nation NATION = new org.jooq.examples.cubrid.demodb.tables.Nation(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.NationRecord.class; - } - - /** - * The table column PUBLIC.nation.code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField CODE = createField("code", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.nation.name - */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.nation.continent - */ - public final org.jooq.TableField CONTINENT = createField("continent", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.nation.capital - */ - public final org.jooq.TableField CAPITAL = createField("capital", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Nation() { - super("nation", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Nation(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Nation.NATION); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.NATION__PK_NATION_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.NATION__PK_NATION_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Nation as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Nation(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Olympic.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Olympic.java deleted file mode 100644 index 5b70726199..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Olympic.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Olympic extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -310243297; - - /** - * The singleton instance of PUBLIC.olympic - */ - public static final org.jooq.examples.cubrid.demodb.tables.Olympic OLYMPIC = new org.jooq.examples.cubrid.demodb.tables.Olympic(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord.class; - } - - /** - * The table column PUBLIC.olympic.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.olympic.host_nation - */ - public final org.jooq.TableField HOST_NATION = createField("host_nation", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.olympic.host_city - */ - public final org.jooq.TableField HOST_CITY = createField("host_city", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.olympic.opening_date - */ - public final org.jooq.TableField OPENING_DATE = createField("opening_date", org.jooq.impl.SQLDataType.DATE, this); - - /** - * The table column PUBLIC.olympic.closing_date - */ - public final org.jooq.TableField CLOSING_DATE = createField("closing_date", org.jooq.impl.SQLDataType.DATE, this); - - /** - * The table column PUBLIC.olympic.mascot - */ - public final org.jooq.TableField MASCOT = createField("mascot", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.olympic.slogan - */ - public final org.jooq.TableField SLOGAN = createField("slogan", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.olympic.introduction - */ - public final org.jooq.TableField INTRODUCTION = createField("introduction", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Olympic() { - super("olympic", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Olympic(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.OLYMPIC__PK_OLYMPIC_HOST_YEAR; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.OLYMPIC__PK_OLYMPIC_HOST_YEAR); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Olympic as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Olympic(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Participant.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Participant.java deleted file mode 100644 index 028b89eb9c..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Participant.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Participant extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -838218186; - - /** - * The singleton instance of PUBLIC.participant - */ - public static final org.jooq.examples.cubrid.demodb.tables.Participant PARTICIPANT = new org.jooq.examples.cubrid.demodb.tables.Participant(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord.class; - } - - /** - * The table column PUBLIC.participant.host_year - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_host_year
-	 * FOREIGN KEY (host_year)
-	 * REFERENCES PUBLIC.olympic (host_year)
-	 * 
- */ - public final org.jooq.TableField HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.participant.nation_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_nation_code
-	 * FOREIGN KEY (nation_code)
-	 * REFERENCES PUBLIC.nation (code)
-	 * 
- */ - public final org.jooq.TableField NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.participant.gold - */ - public final org.jooq.TableField GOLD = createField("gold", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.participant.silver - */ - public final org.jooq.TableField SILVER = createField("silver", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.participant.bronze - */ - public final org.jooq.TableField BRONZE = createField("bronze", org.jooq.impl.SQLDataType.INTEGER, this); - - public Participant() { - super("participant", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Participant(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__FK_PARTICIPANT_HOST_YEAR, org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__FK_PARTICIPANT_NATION_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Participant as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Participant(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Record.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Record.java deleted file mode 100644 index 726cc67f36..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Record.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Record extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -1176115454; - - /** - * The singleton instance of PUBLIC.record - */ - public static final org.jooq.examples.cubrid.demodb.tables.Record RECORD = new org.jooq.examples.cubrid.demodb.tables.Record(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.RecordRecord.class; - } - - /** - * The table column PUBLIC.record.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.record.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.record.athlete_code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField ATHLETE_CODE = createField("athlete_code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.record.medal - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField MEDAL = createField("medal", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.record.score - */ - public final org.jooq.TableField SCORE = createField("score", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.record.unit - */ - public final org.jooq.TableField UNIT = createField("unit", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Record() { - super("record", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Record(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Record.RECORD); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.RECORD__PK_RECORD_HOST_YEAR_EVENT_CODE_ATHLETE_CODE_MEDAL; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.RECORD__PK_RECORD_HOST_YEAR_EVENT_CODE_ATHLETE_CODE_MEDAL); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Record as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Record(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Stadium.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Stadium.java deleted file mode 100644 index af17b2204f..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/Stadium.java +++ /dev/null @@ -1,82 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -public class Stadium extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -1285828996; - - /** - * The singleton instance of PUBLIC.stadium - */ - public static final org.jooq.examples.cubrid.demodb.tables.Stadium STADIUM = new org.jooq.examples.cubrid.demodb.tables.Stadium(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord.class; - } - - /** - * The table column PUBLIC.stadium.code - *

- * This column is part of the table's PRIMARY KEY - */ - public final org.jooq.TableField CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.stadium.nation_code - */ - public final org.jooq.TableField NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this); - - /** - * The table column PUBLIC.stadium.name - */ - public final org.jooq.TableField NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * The table column PUBLIC.stadium.area - */ - public final org.jooq.TableField AREA = createField("area", org.jooq.impl.SQLDataType.DECIMAL, this); - - /** - * The table column PUBLIC.stadium.seats - */ - public final org.jooq.TableField SEATS = createField("seats", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * The table column PUBLIC.stadium.address - */ - public final org.jooq.TableField ADDRESS = createField("address", org.jooq.impl.SQLDataType.VARCHAR, this); - - public Stadium() { - super("stadium", org.jooq.examples.cubrid.demodb.Public.PUBLIC); - } - - public Stadium(java.lang.String alias) { - super(alias, org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.cubrid.demodb.Keys.STADIUM__PK_STADIUM_CODE; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.cubrid.demodb.Keys.STADIUM__PK_STADIUM_CODE); - } - - @Override - public org.jooq.examples.cubrid.demodb.tables.Stadium as(java.lang.String alias) { - return new org.jooq.examples.cubrid.demodb.tables.Stadium(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Athlete.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Athlete.java deleted file mode 100644 index 43cc5c23f1..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Athlete.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "athlete", schema = "PUBLIC") -public class Athlete implements java.io.Serializable { - - private static final long serialVersionUID = 266569498; - - private java.lang.Integer code; - private java.lang.String name; - private java.lang.String gender; - private java.lang.String nationCode; - private java.lang.String event; - - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return this.code; - } - - public void setCode(java.lang.Integer code) { - this.code = code; - } - - @javax.persistence.Column(name = "name", nullable = false, precision = 40) - public java.lang.String getName() { - return this.name; - } - - public void setName(java.lang.String name) { - this.name = name; - } - - @javax.persistence.Column(name = "gender", length = 1) - public java.lang.String getGender() { - return this.gender; - } - - public void setGender(java.lang.String gender) { - this.gender = gender; - } - - @javax.persistence.Column(name = "nation_code", length = 3) - public java.lang.String getNationCode() { - return this.nationCode; - } - - public void setNationCode(java.lang.String nationCode) { - this.nationCode = nationCode; - } - - @javax.persistence.Column(name = "event", precision = 30) - public java.lang.String getEvent() { - return this.event; - } - - public void setEvent(java.lang.String event) { - this.event = event; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Code.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Code.java deleted file mode 100644 index ff8e46c84d..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Code.java +++ /dev/null @@ -1,36 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "code", schema = "PUBLIC") -public class Code implements java.io.Serializable { - - private static final long serialVersionUID = -2074265845; - - private java.lang.String sName; - private java.lang.String fName; - - @javax.persistence.Column(name = "s_name", length = 1) - public java.lang.String getSName() { - return this.sName; - } - - public void setSName(java.lang.String sName) { - this.sName = sName; - } - - @javax.persistence.Column(name = "f_name", precision = 6) - public java.lang.String getFName() { - return this.fName; - } - - public void setFName(java.lang.String fName) { - this.fName = fName; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Event.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Event.java deleted file mode 100644 index 0176e2c6af..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Event.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "event", schema = "PUBLIC") -public class Event implements java.io.Serializable { - - private static final long serialVersionUID = 1606528426; - - private java.lang.Integer code; - private java.lang.String sports; - private java.lang.String name; - private java.lang.String gender; - private java.lang.Integer players; - - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return this.code; - } - - public void setCode(java.lang.Integer code) { - this.code = code; - } - - @javax.persistence.Column(name = "sports", precision = 50) - public java.lang.String getSports() { - return this.sports; - } - - public void setSports(java.lang.String sports) { - this.sports = sports; - } - - @javax.persistence.Column(name = "name", precision = 50) - public java.lang.String getName() { - return this.name; - } - - public void setName(java.lang.String name) { - this.name = name; - } - - @javax.persistence.Column(name = "gender", length = 1) - public java.lang.String getGender() { - return this.gender; - } - - public void setGender(java.lang.String gender) { - this.gender = gender; - } - - @javax.persistence.Column(name = "players") - public java.lang.Integer getPlayers() { - return this.players; - } - - public void setPlayers(java.lang.Integer players) { - this.players = players; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Game.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Game.java deleted file mode 100644 index 01caa76740..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Game.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "game", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "event_code", "athlete_code"}) -}) -public class Game implements java.io.Serializable { - - private static final long serialVersionUID = -1107764670; - - private java.lang.Integer hostYear; - private java.lang.Integer eventCode; - private java.lang.Integer athleteCode; - private java.lang.Integer stadiumCode; - private java.lang.String nationCode; - private java.lang.String medal; - private java.sql.Date gameDate; - - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return this.hostYear; - } - - public void setHostYear(java.lang.Integer hostYear) { - this.hostYear = hostYear; - } - - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return this.eventCode; - } - - public void setEventCode(java.lang.Integer eventCode) { - this.eventCode = eventCode; - } - - @javax.persistence.Column(name = "athlete_code", nullable = false) - public java.lang.Integer getAthleteCode() { - return this.athleteCode; - } - - public void setAthleteCode(java.lang.Integer athleteCode) { - this.athleteCode = athleteCode; - } - - @javax.persistence.Column(name = "stadium_code", nullable = false) - public java.lang.Integer getStadiumCode() { - return this.stadiumCode; - } - - public void setStadiumCode(java.lang.Integer stadiumCode) { - this.stadiumCode = stadiumCode; - } - - @javax.persistence.Column(name = "nation_code", length = 3) - public java.lang.String getNationCode() { - return this.nationCode; - } - - public void setNationCode(java.lang.String nationCode) { - this.nationCode = nationCode; - } - - @javax.persistence.Column(name = "medal", length = 1) - public java.lang.String getMedal() { - return this.medal; - } - - public void setMedal(java.lang.String medal) { - this.medal = medal; - } - - @javax.persistence.Column(name = "game_date") - public java.sql.Date getGameDate() { - return this.gameDate; - } - - public void setGameDate(java.sql.Date gameDate) { - this.gameDate = gameDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/History.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/History.java deleted file mode 100644 index 8cfe6ee1a9..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/History.java +++ /dev/null @@ -1,68 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "history", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"event_code", "athlete"}) -}) -public class History implements java.io.Serializable { - - private static final long serialVersionUID = 2084324736; - - private java.lang.Integer eventCode; - private java.lang.String athlete; - private java.lang.Integer hostYear; - private java.lang.String score; - private java.lang.String unit; - - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return this.eventCode; - } - - public void setEventCode(java.lang.Integer eventCode) { - this.eventCode = eventCode; - } - - @javax.persistence.Column(name = "athlete", nullable = false, precision = 40) - public java.lang.String getAthlete() { - return this.athlete; - } - - public void setAthlete(java.lang.String athlete) { - this.athlete = athlete; - } - - @javax.persistence.Column(name = "host_year") - public java.lang.Integer getHostYear() { - return this.hostYear; - } - - public void setHostYear(java.lang.Integer hostYear) { - this.hostYear = hostYear; - } - - @javax.persistence.Column(name = "score", precision = 10) - public java.lang.String getScore() { - return this.score; - } - - public void setScore(java.lang.String score) { - this.score = score; - } - - @javax.persistence.Column(name = "unit", precision = 5) - public java.lang.String getUnit() { - return this.unit; - } - - public void setUnit(java.lang.String unit) { - this.unit = unit; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Nation.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Nation.java deleted file mode 100644 index 06ba627824..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Nation.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "nation", schema = "PUBLIC") -public class Nation implements java.io.Serializable { - - private static final long serialVersionUID = 1365895032; - - private java.lang.String code; - private java.lang.String name; - private java.lang.String continent; - private java.lang.String capital; - - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false, length = 3) - public java.lang.String getCode() { - return this.code; - } - - public void setCode(java.lang.String code) { - this.code = code; - } - - @javax.persistence.Column(name = "name", nullable = false, precision = 40) - public java.lang.String getName() { - return this.name; - } - - public void setName(java.lang.String name) { - this.name = name; - } - - @javax.persistence.Column(name = "continent", precision = 10) - public java.lang.String getContinent() { - return this.continent; - } - - public void setContinent(java.lang.String continent) { - this.continent = continent; - } - - @javax.persistence.Column(name = "capital", precision = 30) - public java.lang.String getCapital() { - return this.capital; - } - - public void setCapital(java.lang.String capital) { - this.capital = capital; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Olympic.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Olympic.java deleted file mode 100644 index 19f8934f0a..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Olympic.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "olympic", schema = "PUBLIC") -public class Olympic implements java.io.Serializable { - - private static final long serialVersionUID = 1736961653; - - private java.lang.Integer hostYear; - private java.lang.String hostNation; - private java.lang.String hostCity; - private java.sql.Date openingDate; - private java.sql.Date closingDate; - private java.lang.String mascot; - private java.lang.String slogan; - private java.lang.String introduction; - - @javax.persistence.Id - @javax.persistence.Column(name = "host_year", unique = true, nullable = false) - public java.lang.Integer getHostYear() { - return this.hostYear; - } - - public void setHostYear(java.lang.Integer hostYear) { - this.hostYear = hostYear; - } - - @javax.persistence.Column(name = "host_nation", nullable = false, precision = 40) - public java.lang.String getHostNation() { - return this.hostNation; - } - - public void setHostNation(java.lang.String hostNation) { - this.hostNation = hostNation; - } - - @javax.persistence.Column(name = "host_city", nullable = false, precision = 20) - public java.lang.String getHostCity() { - return this.hostCity; - } - - public void setHostCity(java.lang.String hostCity) { - this.hostCity = hostCity; - } - - @javax.persistence.Column(name = "opening_date", nullable = false) - public java.sql.Date getOpeningDate() { - return this.openingDate; - } - - public void setOpeningDate(java.sql.Date openingDate) { - this.openingDate = openingDate; - } - - @javax.persistence.Column(name = "closing_date", nullable = false) - public java.sql.Date getClosingDate() { - return this.closingDate; - } - - public void setClosingDate(java.sql.Date closingDate) { - this.closingDate = closingDate; - } - - @javax.persistence.Column(name = "mascot", precision = 20) - public java.lang.String getMascot() { - return this.mascot; - } - - public void setMascot(java.lang.String mascot) { - this.mascot = mascot; - } - - @javax.persistence.Column(name = "slogan", precision = 40) - public java.lang.String getSlogan() { - return this.slogan; - } - - public void setSlogan(java.lang.String slogan) { - this.slogan = slogan; - } - - @javax.persistence.Column(name = "introduction", precision = 1500) - public java.lang.String getIntroduction() { - return this.introduction; - } - - public void setIntroduction(java.lang.String introduction) { - this.introduction = introduction; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Participant.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Participant.java deleted file mode 100644 index fd01f730be..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Participant.java +++ /dev/null @@ -1,68 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "participant", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "nation_code"}) -}) -public class Participant implements java.io.Serializable { - - private static final long serialVersionUID = 1811568801; - - private java.lang.Integer hostYear; - private java.lang.String nationCode; - private java.lang.Integer gold; - private java.lang.Integer silver; - private java.lang.Integer bronze; - - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return this.hostYear; - } - - public void setHostYear(java.lang.Integer hostYear) { - this.hostYear = hostYear; - } - - @javax.persistence.Column(name = "nation_code", nullable = false, length = 3) - public java.lang.String getNationCode() { - return this.nationCode; - } - - public void setNationCode(java.lang.String nationCode) { - this.nationCode = nationCode; - } - - @javax.persistence.Column(name = "gold") - public java.lang.Integer getGold() { - return this.gold; - } - - public void setGold(java.lang.Integer gold) { - this.gold = gold; - } - - @javax.persistence.Column(name = "silver") - public java.lang.Integer getSilver() { - return this.silver; - } - - public void setSilver(java.lang.Integer silver) { - this.silver = silver; - } - - @javax.persistence.Column(name = "bronze") - public java.lang.Integer getBronze() { - return this.bronze; - } - - public void setBronze(java.lang.Integer bronze) { - this.bronze = bronze; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Record.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Record.java deleted file mode 100644 index c0393b0da7..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Record.java +++ /dev/null @@ -1,78 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "record", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "event_code", "athlete_code", "medal"}) -}) -public class Record implements java.io.Serializable { - - private static final long serialVersionUID = 933487543; - - private java.lang.Integer hostYear; - private java.lang.Integer eventCode; - private java.lang.Integer athleteCode; - private java.lang.String medal; - private java.lang.String score; - private java.lang.String unit; - - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return this.hostYear; - } - - public void setHostYear(java.lang.Integer hostYear) { - this.hostYear = hostYear; - } - - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return this.eventCode; - } - - public void setEventCode(java.lang.Integer eventCode) { - this.eventCode = eventCode; - } - - @javax.persistence.Column(name = "athlete_code", nullable = false) - public java.lang.Integer getAthleteCode() { - return this.athleteCode; - } - - public void setAthleteCode(java.lang.Integer athleteCode) { - this.athleteCode = athleteCode; - } - - @javax.persistence.Column(name = "medal", nullable = false, length = 1) - public java.lang.String getMedal() { - return this.medal; - } - - public void setMedal(java.lang.String medal) { - this.medal = medal; - } - - @javax.persistence.Column(name = "score", precision = 20) - public java.lang.String getScore() { - return this.score; - } - - public void setScore(java.lang.String score) { - this.score = score; - } - - @javax.persistence.Column(name = "unit", precision = 5) - public java.lang.String getUnit() { - return this.unit; - } - - public void setUnit(java.lang.String unit) { - this.unit = unit; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Stadium.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Stadium.java deleted file mode 100644 index 57ac329db9..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/pojos/Stadium.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "stadium", schema = "PUBLIC") -public class Stadium implements java.io.Serializable { - - private static final long serialVersionUID = -14367480; - - private java.lang.Integer code; - private java.lang.String nationCode; - private java.lang.String name; - private java.math.BigDecimal area; - private java.lang.Integer seats; - private java.lang.String address; - - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return this.code; - } - - public void setCode(java.lang.Integer code) { - this.code = code; - } - - @javax.persistence.Column(name = "nation_code", nullable = false, length = 3) - public java.lang.String getNationCode() { - return this.nationCode; - } - - public void setNationCode(java.lang.String nationCode) { - this.nationCode = nationCode; - } - - @javax.persistence.Column(name = "name", nullable = false, precision = 50) - public java.lang.String getName() { - return this.name; - } - - public void setName(java.lang.String name) { - this.name = name; - } - - @javax.persistence.Column(name = "area", precision = 10, scale = 2) - public java.math.BigDecimal getArea() { - return this.area; - } - - public void setArea(java.math.BigDecimal area) { - this.area = area; - } - - @javax.persistence.Column(name = "seats") - public java.lang.Integer getSeats() { - return this.seats; - } - - public void setSeats(java.lang.Integer seats) { - this.seats = seats; - } - - @javax.persistence.Column(name = "address", precision = 100) - public java.lang.String getAddress() { - return this.address; - } - - public void setAddress(java.lang.String address) { - this.address = address; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/AthleteRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/AthleteRecord.java deleted file mode 100644 index 2371734486..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/AthleteRecord.java +++ /dev/null @@ -1,214 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "athlete", schema = "PUBLIC") -public class AthleteRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record5 { - - private static final long serialVersionUID = 964735726; - - /** - * The table column PUBLIC.athlete.code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE, value); - } - - /** - * The table column PUBLIC.athlete.code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE); - } - - /** - * The table column PUBLIC.athlete.code - *

- * This column is part of the table's PRIMARY KEY - */ - public java.util.List fetchGameList() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Game.GAME) - .where(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE))) - .fetch(); - } - - /** - * The table column PUBLIC.athlete.name - */ - public void setName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NAME, value); - } - - /** - * The table column PUBLIC.athlete.name - */ - @javax.persistence.Column(name = "name", nullable = false, precision = 40) - public java.lang.String getName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NAME); - } - - /** - * The table column PUBLIC.athlete.gender - */ - public void setGender(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.GENDER, value); - } - - /** - * The table column PUBLIC.athlete.gender - */ - @javax.persistence.Column(name = "gender", length = 1) - public java.lang.String getGender() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.GENDER); - } - - /** - * The table column PUBLIC.athlete.nation_code - */ - public void setNationCode(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NATION_CODE, value); - } - - /** - * The table column PUBLIC.athlete.nation_code - */ - @javax.persistence.Column(name = "nation_code", length = 3) - public java.lang.String getNationCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NATION_CODE); - } - - /** - * The table column PUBLIC.athlete.event - */ - public void setEvent(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.EVENT, value); - } - - /** - * The table column PUBLIC.athlete.event - */ - @javax.persistence.Column(name = "event", precision = 30) - public java.lang.String getEvent() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.EVENT); - } - - /** - * Create a detached AthleteRecord - */ - public AthleteRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.GENDER; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NATION_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.EVENT; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value3() { - return getGender(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value4() { - return getNationCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value5() { - return getEvent(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/CodeRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/CodeRecord.java deleted file mode 100644 index 0d7788041f..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/CodeRecord.java +++ /dev/null @@ -1,104 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "code", schema = "PUBLIC") -public class CodeRecord extends org.jooq.impl.TableRecordImpl implements org.jooq.Record2 { - - private static final long serialVersionUID = -86041464; - - /** - * The table column PUBLIC.code.s_name - */ - public void setSName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.S_NAME, value); - } - - /** - * The table column PUBLIC.code.s_name - */ - @javax.persistence.Column(name = "s_name", length = 1) - public java.lang.String getSName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.S_NAME); - } - - /** - * The table column PUBLIC.code.f_name - */ - public void setFName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.F_NAME, value); - } - - /** - * The table column PUBLIC.code.f_name - */ - @javax.persistence.Column(name = "f_name", precision = 6) - public java.lang.String getFName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.F_NAME); - } - - /** - * Create a detached CodeRecord - */ - public CodeRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Code.CODE); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row2 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row2 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Code.CODE.S_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Code.CODE.F_NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value1() { - return getSName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getFName(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/EventRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/EventRecord.java deleted file mode 100644 index 2914f6ab1f..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/EventRecord.java +++ /dev/null @@ -1,214 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "event", schema = "PUBLIC") -public class EventRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record5 { - - private static final long serialVersionUID = 2073244503; - - /** - * The table column PUBLIC.event.code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE, value); - } - - /** - * The table column PUBLIC.event.code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE); - } - - /** - * The table column PUBLIC.event.code - *

- * This column is part of the table's PRIMARY KEY - */ - public java.util.List fetchGameList() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Game.GAME) - .where(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE))) - .fetch(); - } - - /** - * The table column PUBLIC.event.sports - */ - public void setSports(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.SPORTS, value); - } - - /** - * The table column PUBLIC.event.sports - */ - @javax.persistence.Column(name = "sports", precision = 50) - public java.lang.String getSports() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.SPORTS); - } - - /** - * The table column PUBLIC.event.name - */ - public void setName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.NAME, value); - } - - /** - * The table column PUBLIC.event.name - */ - @javax.persistence.Column(name = "name", precision = 50) - public java.lang.String getName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.NAME); - } - - /** - * The table column PUBLIC.event.gender - */ - public void setGender(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.GENDER, value); - } - - /** - * The table column PUBLIC.event.gender - */ - @javax.persistence.Column(name = "gender", length = 1) - public java.lang.String getGender() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.GENDER); - } - - /** - * The table column PUBLIC.event.players - */ - public void setPlayers(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.PLAYERS, value); - } - - /** - * The table column PUBLIC.event.players - */ - @javax.persistence.Column(name = "players") - public java.lang.Integer getPlayers() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.PLAYERS); - } - - /** - * Create a detached EventRecord - */ - public EventRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Event.EVENT); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.SPORTS; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.GENDER; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.PLAYERS; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getSports(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value3() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value4() { - return getGender(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value5() { - return getPlayers(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/GameRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/GameRecord.java deleted file mode 100644 index ae81f27ef8..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/GameRecord.java +++ /dev/null @@ -1,359 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "game", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "event_code", "athlete_code"}) -}) -public class GameRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record7 { - - private static final long serialVersionUID = -1844930200; - - /** - * The table column PUBLIC.game.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public void setHostYear(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.HOST_YEAR, value); - } - - /** - * The table column PUBLIC.game.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.HOST_YEAR); - } - - /** - * The table column PUBLIC.game.event_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_event_code
-	 * FOREIGN KEY (event_code)
-	 * REFERENCES PUBLIC.event (code)
-	 * 
- */ - public void setEventCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE, value); - } - - /** - * The table column PUBLIC.game.event_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_event_code
-	 * FOREIGN KEY (event_code)
-	 * REFERENCES PUBLIC.event (code)
-	 * 
- */ - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE); - } - - /** - * Link this record to a given {@link org.jooq.examples.cubrid.demodb.tables.records.EventRecord - * EventRecord} - */ - public void setEventCode(org.jooq.examples.cubrid.demodb.tables.records.EventRecord value) { - if (value == null) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE, null); - } - else { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE, value.getValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE)); - } - } - - /** - * The table column PUBLIC.game.event_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_event_code
-	 * FOREIGN KEY (event_code)
-	 * REFERENCES PUBLIC.event (code)
-	 * 
- */ - public org.jooq.examples.cubrid.demodb.tables.records.EventRecord fetchEvent() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Event.EVENT) - .where(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE))) - .fetchOne(); - } - - /** - * The table column PUBLIC.game.athlete_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_athlete_code
-	 * FOREIGN KEY (athlete_code)
-	 * REFERENCES PUBLIC.athlete (code)
-	 * 
- */ - public void setAthleteCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE, value); - } - - /** - * The table column PUBLIC.game.athlete_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_athlete_code
-	 * FOREIGN KEY (athlete_code)
-	 * REFERENCES PUBLIC.athlete (code)
-	 * 
- */ - @javax.persistence.Column(name = "athlete_code", nullable = false) - public java.lang.Integer getAthleteCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE); - } - - /** - * Link this record to a given {@link org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord - * AthleteRecord} - */ - public void setAthleteCode(org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord value) { - if (value == null) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE, null); - } - else { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE, value.getValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE)); - } - } - - /** - * The table column PUBLIC.game.athlete_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT game__fk_game_athlete_code
-	 * FOREIGN KEY (athlete_code)
-	 * REFERENCES PUBLIC.athlete (code)
-	 * 
- */ - public org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord fetchAthlete() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE) - .where(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE))) - .fetchOne(); - } - - /** - * The table column PUBLIC.game.stadium_code - */ - public void setStadiumCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.STADIUM_CODE, value); - } - - /** - * The table column PUBLIC.game.stadium_code - */ - @javax.persistence.Column(name = "stadium_code", nullable = false) - public java.lang.Integer getStadiumCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.STADIUM_CODE); - } - - /** - * The table column PUBLIC.game.nation_code - */ - public void setNationCode(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.NATION_CODE, value); - } - - /** - * The table column PUBLIC.game.nation_code - */ - @javax.persistence.Column(name = "nation_code", length = 3) - public java.lang.String getNationCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.NATION_CODE); - } - - /** - * The table column PUBLIC.game.medal - */ - public void setMedal(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.MEDAL, value); - } - - /** - * The table column PUBLIC.game.medal - */ - @javax.persistence.Column(name = "medal", length = 1) - public java.lang.String getMedal() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.MEDAL); - } - - /** - * The table column PUBLIC.game.game_date - */ - public void setGameDate(java.sql.Date value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.GAME_DATE, value); - } - - /** - * The table column PUBLIC.game.game_date - */ - @javax.persistence.Column(name = "game_date") - public java.sql.Date getGameDate() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.GAME_DATE); - } - - /** - * Create a detached GameRecord - */ - public GameRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Game.GAME); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row7 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6(), field7()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row7 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6(), value7()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.HOST_YEAR; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.STADIUM_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.NATION_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.MEDAL; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field7() { - return org.jooq.examples.cubrid.demodb.tables.Game.GAME.GAME_DATE; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getHostYear(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value2() { - return getEventCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value3() { - return getAthleteCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value4() { - return getStadiumCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value5() { - return getNationCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value6() { - return getMedal(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.sql.Date value7() { - return getGameDate(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/HistoryRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/HistoryRecord.java deleted file mode 100644 index 117f5d2ffc..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/HistoryRecord.java +++ /dev/null @@ -1,207 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "history", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"event_code", "athlete"}) -}) -public class HistoryRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record5 { - - private static final long serialVersionUID = 1294589429; - - /** - * The table column PUBLIC.history.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setEventCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.EVENT_CODE, value); - } - - /** - * The table column PUBLIC.history.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.EVENT_CODE); - } - - /** - * The table column PUBLIC.history.athlete - *

- * This column is part of the table's PRIMARY KEY - */ - public void setAthlete(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.ATHLETE, value); - } - - /** - * The table column PUBLIC.history.athlete - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "athlete", nullable = false, precision = 40) - public java.lang.String getAthlete() { - return getValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.ATHLETE); - } - - /** - * The table column PUBLIC.history.host_year - */ - public void setHostYear(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.HOST_YEAR, value); - } - - /** - * The table column PUBLIC.history.host_year - */ - @javax.persistence.Column(name = "host_year") - public java.lang.Integer getHostYear() { - return getValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.HOST_YEAR); - } - - /** - * The table column PUBLIC.history.score - */ - public void setScore(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.SCORE, value); - } - - /** - * The table column PUBLIC.history.score - */ - @javax.persistence.Column(name = "score", precision = 10) - public java.lang.String getScore() { - return getValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.SCORE); - } - - /** - * The table column PUBLIC.history.unit - */ - public void setUnit(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.UNIT, value); - } - - /** - * The table column PUBLIC.history.unit - */ - @javax.persistence.Column(name = "unit", precision = 5) - public java.lang.String getUnit() { - return getValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.UNIT); - } - - /** - * Create a detached HistoryRecord - */ - public HistoryRecord() { - super(org.jooq.examples.cubrid.demodb.tables.History.HISTORY); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.EVENT_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.ATHLETE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.HOST_YEAR; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.SCORE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.UNIT; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getEventCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getAthlete(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value3() { - return getHostYear(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value4() { - return getScore(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value5() { - return getUnit(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/NationRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/NationRecord.java deleted file mode 100644 index 2c4647f5da..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/NationRecord.java +++ /dev/null @@ -1,183 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "nation", schema = "PUBLIC") -public class NationRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record4 { - - private static final long serialVersionUID = 1954056329; - - /** - * The table column PUBLIC.nation.code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setCode(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE, value); - } - - /** - * The table column PUBLIC.nation.code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false, length = 3) - public java.lang.String getCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE); - } - - /** - * The table column PUBLIC.nation.code - *

- * This column is part of the table's PRIMARY KEY - */ - public java.util.List fetchParticipantList() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT) - .where(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE))) - .fetch(); - } - - /** - * The table column PUBLIC.nation.name - */ - public void setName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.NAME, value); - } - - /** - * The table column PUBLIC.nation.name - */ - @javax.persistence.Column(name = "name", nullable = false, precision = 40) - public java.lang.String getName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.NAME); - } - - /** - * The table column PUBLIC.nation.continent - */ - public void setContinent(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CONTINENT, value); - } - - /** - * The table column PUBLIC.nation.continent - */ - @javax.persistence.Column(name = "continent", precision = 10) - public java.lang.String getContinent() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CONTINENT); - } - - /** - * The table column PUBLIC.nation.capital - */ - public void setCapital(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CAPITAL, value); - } - - /** - * The table column PUBLIC.nation.capital - */ - @javax.persistence.Column(name = "capital", precision = 30) - public java.lang.String getCapital() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CAPITAL); - } - - /** - * Create a detached NationRecord - */ - public NationRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Nation.NATION); - } - - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row4 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row4 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CONTINENT; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CAPITAL; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value1() { - return getCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value3() { - return getContinent(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value4() { - return getCapital(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/OlympicRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/OlympicRecord.java deleted file mode 100644 index 1ad27206ff..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/OlympicRecord.java +++ /dev/null @@ -1,307 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "olympic", schema = "PUBLIC") -public class OlympicRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record8 { - - private static final long serialVersionUID = 2075813381; - - /** - * The table column PUBLIC.olympic.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public void setHostYear(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR, value); - } - - /** - * The table column PUBLIC.olympic.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Id - @javax.persistence.Column(name = "host_year", unique = true, nullable = false) - public java.lang.Integer getHostYear() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR); - } - - /** - * The table column PUBLIC.olympic.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public java.util.List fetchParticipantList() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT) - .where(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR))) - .fetch(); - } - - /** - * The table column PUBLIC.olympic.host_nation - */ - public void setHostNation(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_NATION, value); - } - - /** - * The table column PUBLIC.olympic.host_nation - */ - @javax.persistence.Column(name = "host_nation", nullable = false, precision = 40) - public java.lang.String getHostNation() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_NATION); - } - - /** - * The table column PUBLIC.olympic.host_city - */ - public void setHostCity(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_CITY, value); - } - - /** - * The table column PUBLIC.olympic.host_city - */ - @javax.persistence.Column(name = "host_city", nullable = false, precision = 20) - public java.lang.String getHostCity() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_CITY); - } - - /** - * The table column PUBLIC.olympic.opening_date - */ - public void setOpeningDate(java.sql.Date value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.OPENING_DATE, value); - } - - /** - * The table column PUBLIC.olympic.opening_date - */ - @javax.persistence.Column(name = "opening_date", nullable = false) - public java.sql.Date getOpeningDate() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.OPENING_DATE); - } - - /** - * The table column PUBLIC.olympic.closing_date - */ - public void setClosingDate(java.sql.Date value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.CLOSING_DATE, value); - } - - /** - * The table column PUBLIC.olympic.closing_date - */ - @javax.persistence.Column(name = "closing_date", nullable = false) - public java.sql.Date getClosingDate() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.CLOSING_DATE); - } - - /** - * The table column PUBLIC.olympic.mascot - */ - public void setMascot(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.MASCOT, value); - } - - /** - * The table column PUBLIC.olympic.mascot - */ - @javax.persistence.Column(name = "mascot", precision = 20) - public java.lang.String getMascot() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.MASCOT); - } - - /** - * The table column PUBLIC.olympic.slogan - */ - public void setSlogan(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.SLOGAN, value); - } - - /** - * The table column PUBLIC.olympic.slogan - */ - @javax.persistence.Column(name = "slogan", precision = 40) - public java.lang.String getSlogan() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.SLOGAN); - } - - /** - * The table column PUBLIC.olympic.introduction - */ - public void setIntroduction(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.INTRODUCTION, value); - } - - /** - * The table column PUBLIC.olympic.introduction - */ - @javax.persistence.Column(name = "introduction", precision = 1500) - public java.lang.String getIntroduction() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.INTRODUCTION); - } - - /** - * Create a detached OlympicRecord - */ - public OlympicRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row8 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6(), field7(), field8()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row8 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6(), value7(), value8()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_NATION; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_CITY; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.OPENING_DATE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.CLOSING_DATE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.MASCOT; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field7() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.SLOGAN; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field8() { - return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.INTRODUCTION; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getHostYear(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getHostNation(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value3() { - return getHostCity(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.sql.Date value4() { - return getOpeningDate(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.sql.Date value5() { - return getClosingDate(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value6() { - return getMascot(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value7() { - return getSlogan(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value8() { - return getIntroduction(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/ParticipantRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/ParticipantRecord.java deleted file mode 100644 index 5d9d523448..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/ParticipantRecord.java +++ /dev/null @@ -1,293 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "participant", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "nation_code"}) -}) -public class ParticipantRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record5 { - - private static final long serialVersionUID = 1031670130; - - /** - * The table column PUBLIC.participant.host_year - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_host_year
-	 * FOREIGN KEY (host_year)
-	 * REFERENCES PUBLIC.olympic (host_year)
-	 * 
- */ - public void setHostYear(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR, value); - } - - /** - * The table column PUBLIC.participant.host_year - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_host_year
-	 * FOREIGN KEY (host_year)
-	 * REFERENCES PUBLIC.olympic (host_year)
-	 * 
- */ - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR); - } - - /** - * Link this record to a given {@link org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord - * OlympicRecord} - */ - public void setHostYear(org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord value) { - if (value == null) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR, null); - } - else { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR, value.getValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR)); - } - } - - /** - * The table column PUBLIC.participant.host_year - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_host_year
-	 * FOREIGN KEY (host_year)
-	 * REFERENCES PUBLIC.olympic (host_year)
-	 * 
- */ - public org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord fetchOlympic() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC) - .where(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR))) - .fetchOne(); - } - - /** - * The table column PUBLIC.participant.nation_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_nation_code
-	 * FOREIGN KEY (nation_code)
-	 * REFERENCES PUBLIC.nation (code)
-	 * 
- */ - public void setNationCode(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE, value); - } - - /** - * The table column PUBLIC.participant.nation_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_nation_code
-	 * FOREIGN KEY (nation_code)
-	 * REFERENCES PUBLIC.nation (code)
-	 * 
- */ - @javax.persistence.Column(name = "nation_code", nullable = false, length = 3) - public java.lang.String getNationCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE); - } - - /** - * Link this record to a given {@link org.jooq.examples.cubrid.demodb.tables.records.NationRecord - * NationRecord} - */ - public void setNationCode(org.jooq.examples.cubrid.demodb.tables.records.NationRecord value) { - if (value == null) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE, null); - } - else { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE, value.getValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE)); - } - } - - /** - * The table column PUBLIC.participant.nation_code - *

- * This column is part of the table's PRIMARY KEY - *

- * This column is part of a FOREIGN KEY:

-	 * CONSTRAINT participant__fk_participant_nation_code
-	 * FOREIGN KEY (nation_code)
-	 * REFERENCES PUBLIC.nation (code)
-	 * 
- */ - public org.jooq.examples.cubrid.demodb.tables.records.NationRecord fetchNation() { - return create() - .selectFrom(org.jooq.examples.cubrid.demodb.tables.Nation.NATION) - .where(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE.equal(getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE))) - .fetchOne(); - } - - /** - * The table column PUBLIC.participant.gold - */ - public void setGold(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD, value); - } - - /** - * The table column PUBLIC.participant.gold - */ - @javax.persistence.Column(name = "gold") - public java.lang.Integer getGold() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD); - } - - /** - * The table column PUBLIC.participant.silver - */ - public void setSilver(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER, value); - } - - /** - * The table column PUBLIC.participant.silver - */ - @javax.persistence.Column(name = "silver") - public java.lang.Integer getSilver() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER); - } - - /** - * The table column PUBLIC.participant.bronze - */ - public void setBronze(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.BRONZE, value); - } - - /** - * The table column PUBLIC.participant.bronze - */ - @javax.persistence.Column(name = "bronze") - public java.lang.Integer getBronze() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.BRONZE); - } - - /** - * Create a detached ParticipantRecord - */ - public ParticipantRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row5 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.BRONZE; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getHostYear(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getNationCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value3() { - return getGold(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value4() { - return getSilver(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value5() { - return getBronze(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/RecordRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/RecordRecord.java deleted file mode 100644 index ac2ad80cc7..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/RecordRecord.java +++ /dev/null @@ -1,246 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "record", schema = "PUBLIC", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"host_year", "event_code", "athlete_code", "medal"}) -}) -public class RecordRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record6 { - - private static final long serialVersionUID = 995163639; - - /** - * The table column PUBLIC.record.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - public void setHostYear(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.HOST_YEAR, value); - } - - /** - * The table column PUBLIC.record.host_year - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "host_year", nullable = false) - public java.lang.Integer getHostYear() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.HOST_YEAR); - } - - /** - * The table column PUBLIC.record.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setEventCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE, value); - } - - /** - * The table column PUBLIC.record.event_code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "event_code", nullable = false) - public java.lang.Integer getEventCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE); - } - - /** - * The table column PUBLIC.record.athlete_code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setAthleteCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE, value); - } - - /** - * The table column PUBLIC.record.athlete_code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "athlete_code", nullable = false) - public java.lang.Integer getAthleteCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE); - } - - /** - * The table column PUBLIC.record.medal - *

- * This column is part of the table's PRIMARY KEY - */ - public void setMedal(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.MEDAL, value); - } - - /** - * The table column PUBLIC.record.medal - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Column(name = "medal", nullable = false, length = 1) - public java.lang.String getMedal() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.MEDAL); - } - - /** - * The table column PUBLIC.record.score - */ - public void setScore(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.SCORE, value); - } - - /** - * The table column PUBLIC.record.score - */ - @javax.persistence.Column(name = "score", precision = 20) - public java.lang.String getScore() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.SCORE); - } - - /** - * The table column PUBLIC.record.unit - */ - public void setUnit(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.UNIT, value); - } - - /** - * The table column PUBLIC.record.unit - */ - @javax.persistence.Column(name = "unit", precision = 5) - public java.lang.String getUnit() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.UNIT); - } - - /** - * Create a detached RecordRecord - */ - public RecordRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Record.RECORD); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row6 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row6 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.HOST_YEAR; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.MEDAL; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.SCORE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { - return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.UNIT; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getHostYear(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value2() { - return getEventCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value3() { - return getAthleteCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value4() { - return getMedal(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value5() { - return getScore(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value6() { - return getUnit(); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/StadiumRecord.java b/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/StadiumRecord.java deleted file mode 100644 index c7a8fc48a0..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/cubrid/demodb/tables/records/StadiumRecord.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.cubrid.demodb.tables.records; - -/** - * This class is generated by jOOQ. - */ -@java.lang.SuppressWarnings("all") -@javax.persistence.Entity -@javax.persistence.Table(name = "stadium", schema = "PUBLIC") -public class StadiumRecord extends org.jooq.impl.UpdatableRecordImpl implements org.jooq.Record6 { - - private static final long serialVersionUID = 1993956298; - - /** - * The table column PUBLIC.stadium.code - *

- * This column is part of the table's PRIMARY KEY - */ - public void setCode(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.CODE, value); - } - - /** - * The table column PUBLIC.stadium.code - *

- * This column is part of the table's PRIMARY KEY - */ - @javax.persistence.Id - @javax.persistence.Column(name = "code", unique = true, nullable = false) - public java.lang.Integer getCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.CODE); - } - - /** - * The table column PUBLIC.stadium.nation_code - */ - public void setNationCode(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NATION_CODE, value); - } - - /** - * The table column PUBLIC.stadium.nation_code - */ - @javax.persistence.Column(name = "nation_code", nullable = false, length = 3) - public java.lang.String getNationCode() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NATION_CODE); - } - - /** - * The table column PUBLIC.stadium.name - */ - public void setName(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NAME, value); - } - - /** - * The table column PUBLIC.stadium.name - */ - @javax.persistence.Column(name = "name", nullable = false, precision = 50) - public java.lang.String getName() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NAME); - } - - /** - * The table column PUBLIC.stadium.area - */ - public void setArea(java.math.BigDecimal value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.AREA, value); - } - - /** - * The table column PUBLIC.stadium.area - */ - @javax.persistence.Column(name = "area", precision = 10, scale = 2) - public java.math.BigDecimal getArea() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.AREA); - } - - /** - * The table column PUBLIC.stadium.seats - */ - public void setSeats(java.lang.Integer value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS, value); - } - - /** - * The table column PUBLIC.stadium.seats - */ - @javax.persistence.Column(name = "seats") - public java.lang.Integer getSeats() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS); - } - - /** - * The table column PUBLIC.stadium.address - */ - public void setAddress(java.lang.String value) { - setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.ADDRESS, value); - } - - /** - * The table column PUBLIC.stadium.address - */ - @javax.persistence.Column(name = "address", precision = 100) - public java.lang.String getAddress() { - return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.ADDRESS); - } - - /** - * Create a detached StadiumRecord - */ - public StadiumRecord() { - super(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row6 fieldsRow() { - return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row6 valuesRow() { - return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6()); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NATION_CODE; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NAME; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.AREA; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { - return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.ADDRESS; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getNationCode(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value3() { - return getName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.math.BigDecimal value4() { - return getArea(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value5() { - return getSeats(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value6() { - return getAddress(); - } -} diff --git a/jOOQ-test/launch/GenerationTool CUBRID demodb.launch b/jOOQ-test/launch/GenerationTool CUBRID demodb.launch deleted file mode 100644 index 7d155a01b6..0000000000 --- a/jOOQ-test/launch/GenerationTool CUBRID demodb.launch +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -