Removed generated classes for CUBRID demodb

This commit is contained in:
Lukas Eder 2013-01-04 15:11:51 +01:00
parent 3fe86436a0
commit ebe9fdd52f
35 changed files with 0 additions and 4131 deletions

View File

@ -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 <code>PUBLIC</code>
* schema
*/
@java.lang.SuppressWarnings("all")
public class Keys {
// IDENTITY definitions
public static final org.jooq.Identity<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.Integer> IDENTITY_ATHLETE = Identities0.IDENTITY_ATHLETE;
// UNIQUE and PRIMARY KEY definitions
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> ATHLETE__PK_ATHLETE_CODE = UniqueKeys0.ATHLETE__PK_ATHLETE_CODE;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> EVENT__PK_EVENT_CODE = UniqueKeys0.EVENT__PK_EVENT_CODE;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE = UniqueKeys0.HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> NATION__PK_NATION_CODE = UniqueKeys0.NATION__PK_NATION_CODE;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> OLYMPIC__PK_OLYMPIC_HOST_YEAR = UniqueKeys0.OLYMPIC__PK_OLYMPIC_HOST_YEAR;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE = UniqueKeys0.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE;
public static final org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> STADIUM__PK_STADIUM_CODE = UniqueKeys0.STADIUM__PK_STADIUM_CODE;
// FOREIGN KEY definitions
public static final org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, org.jooq.examples.cubrid.demodb.tables.records.EventRecord> GAME__FK_GAME_EVENT_CODE = ForeignKeys0.GAME__FK_GAME_EVENT_CODE;
public static final org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> GAME__FK_GAME_ATHLETE_CODE = ForeignKeys0.GAME__FK_GAME_ATHLETE_CODE;
public static final org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> PARTICIPANT__FK_PARTICIPANT_HOST_YEAR = ForeignKeys0.PARTICIPANT__FK_PARTICIPANT_HOST_YEAR;
public static final org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, org.jooq.examples.cubrid.demodb.tables.records.NationRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.Integer> 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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, org.jooq.examples.cubrid.demodb.tables.records.EventRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> 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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, org.jooq.examples.cubrid.demodb.tables.records.NationRecord> 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);
}
}

View File

@ -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<org.jooq.Sequence<?>> getSequences() {
return java.util.Arrays.<org.jooq.Sequence<?>>asList(
org.jooq.examples.cubrid.demodb.Sequences.EVENT_NO,
org.jooq.examples.cubrid.demodb.Sequences.STADIUM_NO);
}
@Override
public final java.util.List<org.jooq.Table<?>> getTables() {
return java.util.Arrays.<org.jooq.Table<?>>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);
}
}

View File

@ -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<java.math.BigInteger> EVENT_NO = new org.jooq.impl.SequenceImpl<java.math.BigInteger>("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<java.math.BigInteger> STADIUM_NO = new org.jooq.impl.SequenceImpl<java.math.BigInteger>("stadium_no", org.jooq.examples.cubrid.demodb.Public.PUBLIC, org.jooq.impl.SQLDataType.DECIMAL_INTEGER);
/**
* No instances
*/
private Sequences() {}
}

View File

@ -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() {}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord.class;
}
/**
* The table column <code>PUBLIC.athlete.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.Integer> CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.athlete.name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.athlete.gender</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.String> GENDER = createField("gender", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.athlete.nation_code</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.String> NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.athlete.event</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord, java.lang.Integer> getIdentity() {
return org.jooq.examples.cubrid.demodb.Keys.IDENTITY_ATHLETE;
}
@Override
public org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.ATHLETE__PK_ATHLETE_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.CodeRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.CodeRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.CodeRecord.class;
}
/**
* The table column <code>PUBLIC.code.s_name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.CodeRecord, java.lang.String> S_NAME = createField("s_name", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.code.f_name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.CodeRecord, java.lang.String> 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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.EventRecord.class;
}
/**
* The table column <code>PUBLIC.event.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.EventRecord, java.lang.Integer> CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.event.sports</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.EventRecord, java.lang.String> SPORTS = createField("sports", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.event.name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.EventRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.event.gender</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.EventRecord, java.lang.String> GENDER = createField("gender", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.event.players</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.EventRecord, java.lang.Integer> 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<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.EVENT__PK_EVENT_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.EventRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.EventRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.GameRecord.class;
}
/**
* The table column <code>PUBLIC.game.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.Integer> HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.game.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_event_code
* FOREIGN KEY (event_code)
* REFERENCES PUBLIC.event (code)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.Integer> EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.game.athlete_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_athlete_code
* FOREIGN KEY (athlete_code)
* REFERENCES PUBLIC.athlete (code)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.Integer> ATHLETE_CODE = createField("athlete_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.game.stadium_code</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.Integer> STADIUM_CODE = createField("stadium_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.game.nation_code</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.String> NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.game.medal</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.lang.String> MEDAL = createField("medal", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.game.game_date</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, java.sql.Date> 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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord>>asList(org.jooq.examples.cubrid.demodb.Keys.GAME__PK_GAME_HOST_YEAR_EVENT_CODE_ATHLETE_CODE);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.GameRecord, ?>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord.class;
}
/**
* The table column <code>PUBLIC.history.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord, java.lang.Integer> EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.history.athlete</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord, java.lang.String> ATHLETE = createField("athlete", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.history.host_year</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord, java.lang.Integer> HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.history.score</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord, java.lang.String> SCORE = createField("score", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.history.unit</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.HISTORY__PK_HISTORY_EVENT_CODE_ATHLETE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.NationRecord.class;
}
/**
* The table column <code>PUBLIC.nation.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.NationRecord, java.lang.String> CODE = createField("code", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.nation.name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.NationRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.nation.continent</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.NationRecord, java.lang.String> CONTINENT = createField("continent", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.nation.capital</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.NationRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.NATION__PK_NATION_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.NationRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.NationRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord.class;
}
/**
* The table column <code>PUBLIC.olympic.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.Integer> HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.olympic.host_nation</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.String> HOST_NATION = createField("host_nation", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.olympic.host_city</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.String> HOST_CITY = createField("host_city", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.olympic.opening_date</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.sql.Date> OPENING_DATE = createField("opening_date", org.jooq.impl.SQLDataType.DATE, this);
/**
* The table column <code>PUBLIC.olympic.closing_date</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.sql.Date> CLOSING_DATE = createField("closing_date", org.jooq.impl.SQLDataType.DATE, this);
/**
* The table column <code>PUBLIC.olympic.mascot</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.String> MASCOT = createField("mascot", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.olympic.slogan</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.String> SLOGAN = createField("slogan", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.olympic.introduction</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.OLYMPIC__PK_OLYMPIC_HOST_YEAR;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord.class;
}
/**
* The table column <code>PUBLIC.participant.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_host_year
* FOREIGN KEY (host_year)
* REFERENCES PUBLIC.olympic (host_year)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, java.lang.Integer> HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.participant.nation_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_nation_code
* FOREIGN KEY (nation_code)
* REFERENCES PUBLIC.nation (code)
* </pre></code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, java.lang.String> NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.participant.gold</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, java.lang.Integer> GOLD = createField("gold", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.participant.silver</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, java.lang.Integer> SILVER = createField("silver", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.participant.bronze</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, java.lang.Integer> 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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord>>asList(org.jooq.examples.cubrid.demodb.Keys.PARTICIPANT__PK_PARTICIPANT_HOST_YEAR_NATION_CODE);
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, ?>> getReferences() {
return java.util.Arrays.<org.jooq.ForeignKey<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord, ?>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.RecordRecord.class;
}
/**
* The table column <code>PUBLIC.record.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.Integer> HOST_YEAR = createField("host_year", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.record.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.Integer> EVENT_CODE = createField("event_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.record.athlete_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.Integer> ATHLETE_CODE = createField("athlete_code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.record.medal</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.String> MEDAL = createField("medal", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.record.score</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.String> SCORE = createField("score", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.record.unit</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> 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<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord>>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);
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> {
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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> getRecordType() {
return org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord.class;
}
/**
* The table column <code>PUBLIC.stadium.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.lang.Integer> CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.stadium.nation_code</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.lang.String> NATION_CODE = createField("nation_code", org.jooq.impl.SQLDataType.CHAR, this);
/**
* The table column <code>PUBLIC.stadium.name</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR, this);
/**
* The table column <code>PUBLIC.stadium.area</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.math.BigDecimal> AREA = createField("area", org.jooq.impl.SQLDataType.DECIMAL, this);
/**
* The table column <code>PUBLIC.stadium.seats</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.lang.Integer> SEATS = createField("seats", org.jooq.impl.SQLDataType.INTEGER, this);
/**
* The table column <code>PUBLIC.stadium.address</code>
*/
public final org.jooq.TableField<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord, java.lang.String> 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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> getMainKey() {
return org.jooq.examples.cubrid.demodb.Keys.STADIUM__PK_STADIUM_CODE;
}
@Override
@SuppressWarnings("unchecked")
public java.util.List<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord>> getKeys() {
return java.util.Arrays.<org.jooq.UniqueKey<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord>>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);
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.AthleteRecord> implements org.jooq.Record5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 964735726;
/**
* The table column <code>PUBLIC.athlete.code</code>
* <p>
* 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 <code>PUBLIC.athlete.code</code>
* <p>
* 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 <code>PUBLIC.athlete.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public java.util.List<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> 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 <code>PUBLIC.athlete.name</code>
*/
public void setName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NAME, value);
}
/**
* The table column <code>PUBLIC.athlete.name</code>
*/
@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 <code>PUBLIC.athlete.gender</code>
*/
public void setGender(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.GENDER, value);
}
/**
* The table column <code>PUBLIC.athlete.gender</code>
*/
@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 <code>PUBLIC.athlete.nation_code</code>
*/
public void setNationCode(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NATION_CODE, value);
}
/**
* The table column <code>PUBLIC.athlete.nation_code</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 <code>PUBLIC.athlete.event</code>
*/
public void setEvent(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.EVENT, value);
}
/**
* The table column <code>PUBLIC.athlete.event</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NAME;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field3() {
return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.GENDER;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field4() {
return org.jooq.examples.cubrid.demodb.tables.Athlete.ATHLETE.NATION_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.CodeRecord> implements org.jooq.Record2<java.lang.String, java.lang.String> {
private static final long serialVersionUID = -86041464;
/**
* The table column <code>PUBLIC.code.s_name</code>
*/
public void setSName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.S_NAME, value);
}
/**
* The table column <code>PUBLIC.code.s_name</code>
*/
@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 <code>PUBLIC.code.f_name</code>
*/
public void setFName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Code.CODE.F_NAME, value);
}
/**
* The table column <code>PUBLIC.code.f_name</code>
*/
@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<java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row2<java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field1() {
return org.jooq.examples.cubrid.demodb.tables.Code.CODE.S_NAME;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.EventRecord> implements org.jooq.Record5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer> {
private static final long serialVersionUID = 2073244503;
/**
* The table column <code>PUBLIC.event.code</code>
* <p>
* 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 <code>PUBLIC.event.code</code>
* <p>
* 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 <code>PUBLIC.event.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public java.util.List<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> 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 <code>PUBLIC.event.sports</code>
*/
public void setSports(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.SPORTS, value);
}
/**
* The table column <code>PUBLIC.event.sports</code>
*/
@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 <code>PUBLIC.event.name</code>
*/
public void setName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.NAME, value);
}
/**
* The table column <code>PUBLIC.event.name</code>
*/
@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 <code>PUBLIC.event.gender</code>
*/
public void setGender(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.GENDER, value);
}
/**
* The table column <code>PUBLIC.event.gender</code>
*/
@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 <code>PUBLIC.event.players</code>
*/
public void setPlayers(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Event.EVENT.PLAYERS, value);
}
/**
* The table column <code>PUBLIC.event.players</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.SPORTS;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field3() {
return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.NAME;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field4() {
return org.jooq.examples.cubrid.demodb.tables.Event.EVENT.GENDER;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.GameRecord> implements org.jooq.Record7<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date> {
private static final long serialVersionUID = -1844930200;
/**
* The table column <code>PUBLIC.game.host_year</code>
* <p>
* 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 <code>PUBLIC.game.host_year</code>
* <p>
* 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 <code>PUBLIC.game.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_event_code
* FOREIGN KEY (event_code)
* REFERENCES PUBLIC.event (code)
* </pre></code>
*/
public void setEventCode(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE, value);
}
/**
* The table column <code>PUBLIC.game.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_event_code
* FOREIGN KEY (event_code)
* REFERENCES PUBLIC.event (code)
* </pre></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 <code>PUBLIC.game.event_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_event_code
* FOREIGN KEY (event_code)
* REFERENCES PUBLIC.event (code)
* </pre></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 <code>PUBLIC.game.athlete_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_athlete_code
* FOREIGN KEY (athlete_code)
* REFERENCES PUBLIC.athlete (code)
* </pre></code>
*/
public void setAthleteCode(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE, value);
}
/**
* The table column <code>PUBLIC.game.athlete_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_athlete_code
* FOREIGN KEY (athlete_code)
* REFERENCES PUBLIC.athlete (code)
* </pre></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 <code>PUBLIC.game.athlete_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT game__fk_game_athlete_code
* FOREIGN KEY (athlete_code)
* REFERENCES PUBLIC.athlete (code)
* </pre></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 <code>PUBLIC.game.stadium_code</code>
*/
public void setStadiumCode(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.STADIUM_CODE, value);
}
/**
* The table column <code>PUBLIC.game.stadium_code</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 <code>PUBLIC.game.nation_code</code>
*/
public void setNationCode(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.NATION_CODE, value);
}
/**
* The table column <code>PUBLIC.game.nation_code</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 <code>PUBLIC.game.medal</code>
*/
public void setMedal(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.MEDAL, value);
}
/**
* The table column <code>PUBLIC.game.medal</code>
*/
@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 <code>PUBLIC.game.game_date</code>
*/
public void setGameDate(java.sql.Date value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Game.GAME.GAME_DATE, value);
}
/**
* The table column <code>PUBLIC.game.game_date</code>
*/
@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<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6(), field7());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row7<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6(), value7());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.HOST_YEAR;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field2() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.EVENT_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field3() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.ATHLETE_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field4() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.STADIUM_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field5() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.NATION_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field6() {
return org.jooq.examples.cubrid.demodb.tables.Game.GAME.MEDAL;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.sql.Date> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.HistoryRecord> implements org.jooq.Record5<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 1294589429;
/**
* The table column <code>PUBLIC.history.event_code</code>
* <p>
* 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 <code>PUBLIC.history.event_code</code>
* <p>
* 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 <code>PUBLIC.history.athlete</code>
* <p>
* 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 <code>PUBLIC.history.athlete</code>
* <p>
* 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 <code>PUBLIC.history.host_year</code>
*/
public void setHostYear(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.HOST_YEAR, value);
}
/**
* The table column <code>PUBLIC.history.host_year</code>
*/
@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 <code>PUBLIC.history.score</code>
*/
public void setScore(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.SCORE, value);
}
/**
* The table column <code>PUBLIC.history.score</code>
*/
@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 <code>PUBLIC.history.unit</code>
*/
public void setUnit(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.History.HISTORY.UNIT, value);
}
/**
* The table column <code>PUBLIC.history.unit</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.EVENT_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.ATHLETE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field3() {
return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.HOST_YEAR;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field4() {
return org.jooq.examples.cubrid.demodb.tables.History.HISTORY.SCORE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.NationRecord> implements org.jooq.Record4<java.lang.String, java.lang.String, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 1954056329;
/**
* The table column <code>PUBLIC.nation.code</code>
* <p>
* 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 <code>PUBLIC.nation.code</code>
* <p>
* 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 <code>PUBLIC.nation.code</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public java.util.List<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> 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 <code>PUBLIC.nation.name</code>
*/
public void setName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.NAME, value);
}
/**
* The table column <code>PUBLIC.nation.name</code>
*/
@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 <code>PUBLIC.nation.continent</code>
*/
public void setContinent(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CONTINENT, value);
}
/**
* The table column <code>PUBLIC.nation.continent</code>
*/
@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 <code>PUBLIC.nation.capital</code>
*/
public void setCapital(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CAPITAL, value);
}
/**
* The table column <code>PUBLIC.nation.capital</code>
*/
@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<java.lang.String, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row4<java.lang.String, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field1() {
return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.NAME;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field3() {
return org.jooq.examples.cubrid.demodb.tables.Nation.NATION.CONTINENT;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.OlympicRecord> implements org.jooq.Record8<java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date, java.sql.Date, java.lang.String, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 2075813381;
/**
* The table column <code>PUBLIC.olympic.host_year</code>
* <p>
* 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 <code>PUBLIC.olympic.host_year</code>
* <p>
* 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 <code>PUBLIC.olympic.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
*/
public java.util.List<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> 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 <code>PUBLIC.olympic.host_nation</code>
*/
public void setHostNation(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_NATION, value);
}
/**
* The table column <code>PUBLIC.olympic.host_nation</code>
*/
@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 <code>PUBLIC.olympic.host_city</code>
*/
public void setHostCity(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_CITY, value);
}
/**
* The table column <code>PUBLIC.olympic.host_city</code>
*/
@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 <code>PUBLIC.olympic.opening_date</code>
*/
public void setOpeningDate(java.sql.Date value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.OPENING_DATE, value);
}
/**
* The table column <code>PUBLIC.olympic.opening_date</code>
*/
@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 <code>PUBLIC.olympic.closing_date</code>
*/
public void setClosingDate(java.sql.Date value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.CLOSING_DATE, value);
}
/**
* The table column <code>PUBLIC.olympic.closing_date</code>
*/
@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 <code>PUBLIC.olympic.mascot</code>
*/
public void setMascot(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.MASCOT, value);
}
/**
* The table column <code>PUBLIC.olympic.mascot</code>
*/
@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 <code>PUBLIC.olympic.slogan</code>
*/
public void setSlogan(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.SLOGAN, value);
}
/**
* The table column <code>PUBLIC.olympic.slogan</code>
*/
@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 <code>PUBLIC.olympic.introduction</code>
*/
public void setIntroduction(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.INTRODUCTION, value);
}
/**
* The table column <code>PUBLIC.olympic.introduction</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date, java.sql.Date, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6(), field7(), field8());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row8<java.lang.Integer, java.lang.String, java.lang.String, java.sql.Date, java.sql.Date, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6(), value7(), value8());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_YEAR;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_NATION;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field3() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.HOST_CITY;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.sql.Date> field4() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.OPENING_DATE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.sql.Date> field5() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.CLOSING_DATE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field6() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.MASCOT;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field7() {
return org.jooq.examples.cubrid.demodb.tables.Olympic.OLYMPIC.SLOGAN;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.ParticipantRecord> implements org.jooq.Record5<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer> {
private static final long serialVersionUID = 1031670130;
/**
* The table column <code>PUBLIC.participant.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_host_year
* FOREIGN KEY (host_year)
* REFERENCES PUBLIC.olympic (host_year)
* </pre></code>
*/
public void setHostYear(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR, value);
}
/**
* The table column <code>PUBLIC.participant.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_host_year
* FOREIGN KEY (host_year)
* REFERENCES PUBLIC.olympic (host_year)
* </pre></code>
*/
@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 <code>PUBLIC.participant.host_year</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_host_year
* FOREIGN KEY (host_year)
* REFERENCES PUBLIC.olympic (host_year)
* </pre></code>
*/
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 <code>PUBLIC.participant.nation_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_nation_code
* FOREIGN KEY (nation_code)
* REFERENCES PUBLIC.nation (code)
* </pre></code>
*/
public void setNationCode(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE, value);
}
/**
* The table column <code>PUBLIC.participant.nation_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_nation_code
* FOREIGN KEY (nation_code)
* REFERENCES PUBLIC.nation (code)
* </pre></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 <code>PUBLIC.participant.nation_code</code>
* <p>
* This column is part of the table's PRIMARY KEY
* <p>
* This column is part of a FOREIGN KEY: <code><pre>
* CONSTRAINT participant__fk_participant_nation_code
* FOREIGN KEY (nation_code)
* REFERENCES PUBLIC.nation (code)
* </pre></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 <code>PUBLIC.participant.gold</code>
*/
public void setGold(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD, value);
}
/**
* The table column <code>PUBLIC.participant.gold</code>
*/
@javax.persistence.Column(name = "gold")
public java.lang.Integer getGold() {
return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD);
}
/**
* The table column <code>PUBLIC.participant.silver</code>
*/
public void setSilver(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER, value);
}
/**
* The table column <code>PUBLIC.participant.silver</code>
*/
@javax.persistence.Column(name = "silver")
public java.lang.Integer getSilver() {
return getValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER);
}
/**
* The table column <code>PUBLIC.participant.bronze</code>
*/
public void setBronze(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.BRONZE, value);
}
/**
* The table column <code>PUBLIC.participant.bronze</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.HOST_YEAR;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.NATION_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field3() {
return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.GOLD;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field4() {
return org.jooq.examples.cubrid.demodb.tables.Participant.PARTICIPANT.SILVER;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.RecordRecord> implements org.jooq.Record6<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> {
private static final long serialVersionUID = 995163639;
/**
* The table column <code>PUBLIC.record.host_year</code>
* <p>
* 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 <code>PUBLIC.record.host_year</code>
* <p>
* 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 <code>PUBLIC.record.event_code</code>
* <p>
* 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 <code>PUBLIC.record.event_code</code>
* <p>
* 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 <code>PUBLIC.record.athlete_code</code>
* <p>
* 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 <code>PUBLIC.record.athlete_code</code>
* <p>
* 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 <code>PUBLIC.record.medal</code>
* <p>
* 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 <code>PUBLIC.record.medal</code>
* <p>
* 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 <code>PUBLIC.record.score</code>
*/
public void setScore(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.SCORE, value);
}
/**
* The table column <code>PUBLIC.record.score</code>
*/
@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 <code>PUBLIC.record.unit</code>
*/
public void setUnit(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.UNIT, value);
}
/**
* The table column <code>PUBLIC.record.unit</code>
*/
@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<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row6<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.HOST_YEAR;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field2() {
return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field3() {
return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field4() {
return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.MEDAL;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field5() {
return org.jooq.examples.cubrid.demodb.tables.Record.RECORD.SCORE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

View File

@ -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<org.jooq.examples.cubrid.demodb.tables.records.StadiumRecord> implements org.jooq.Record6<java.lang.Integer, java.lang.String, java.lang.String, java.math.BigDecimal, java.lang.Integer, java.lang.String> {
private static final long serialVersionUID = 1993956298;
/**
* The table column <code>PUBLIC.stadium.code</code>
* <p>
* 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 <code>PUBLIC.stadium.code</code>
* <p>
* 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 <code>PUBLIC.stadium.nation_code</code>
*/
public void setNationCode(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NATION_CODE, value);
}
/**
* The table column <code>PUBLIC.stadium.nation_code</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 <code>PUBLIC.stadium.name</code>
*/
public void setName(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NAME, value);
}
/**
* The table column <code>PUBLIC.stadium.name</code>
*/
@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 <code>PUBLIC.stadium.area</code>
*/
public void setArea(java.math.BigDecimal value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.AREA, value);
}
/**
* The table column <code>PUBLIC.stadium.area</code>
*/
@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 <code>PUBLIC.stadium.seats</code>
*/
public void setSeats(java.lang.Integer value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS, value);
}
/**
* The table column <code>PUBLIC.stadium.seats</code>
*/
@javax.persistence.Column(name = "seats")
public java.lang.Integer getSeats() {
return getValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS);
}
/**
* The table column <code>PUBLIC.stadium.address</code>
*/
public void setAddress(java.lang.String value) {
setValue(org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.ADDRESS, value);
}
/**
* The table column <code>PUBLIC.stadium.address</code>
*/
@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<java.lang.Integer, java.lang.String, java.lang.String, java.math.BigDecimal, java.lang.Integer, java.lang.String> fieldsRow() {
return org.jooq.impl.Factory.row(field1(), field2(), field3(), field4(), field5(), field6());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Row6<java.lang.Integer, java.lang.String, java.lang.String, java.math.BigDecimal, java.lang.Integer, java.lang.String> valuesRow() {
return org.jooq.impl.Factory.row(value1(), value2(), value3(), value4(), value5(), value6());
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field1() {
return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field2() {
return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NATION_CODE;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> field3() {
return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.NAME;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.math.BigDecimal> field4() {
return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.AREA;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.Integer> field5() {
return org.jooq.examples.cubrid.demodb.tables.Stadium.STADIUM.SEATS;
}
/**
* {@inheritDoc}
*/
@Override
public org.jooq.Field<java.lang.String> 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();
}
}

File diff suppressed because one or more lines are too long