示例#1
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.4.2"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Country
    extends org.jooq.impl.TableImpl<
        eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord> {

  private static final long serialVersionUID = 1084999384;

  /** The singleton instance of <code>public.country</code> */
  public static final eu.redbyte.reservations.core.jooq.public_.tables.Country COUNTRY =
      new eu.redbyte.reservations.core.jooq.public_.tables.Country();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
      getRecordType() {
    return eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord.class;
  }

  /** The column <code>public.country.id</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.country.eu</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Boolean>
      EU = createField("eu", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>public.country.name</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.String>
      NAME =
          createField(
              "name", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>public.country.currencyid</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      CURRENCYID =
          createField("currencyid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.country.languageid</code>. */
  public final org.jooq.TableField<
          eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord, java.lang.Long>
      LANGUAGEID =
          createField("languageid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** Create a <code>public.country</code> table reference */
  public Country() {
    this("country", null);
  }

  /** Create an aliased <code>public.country</code> table reference */
  public Country(java.lang.String alias) {
    this(alias, eu.redbyte.reservations.core.jooq.public_.tables.Country.COUNTRY);
  }

  private Country(
      java.lang.String alias,
      org.jooq.Table<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private Country(
      java.lang.String alias,
      org.jooq.Table<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
          aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, null);
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<eu.redbyte.reservations.core.jooq.public_.tables.records.CountryRecord>
      getPrimaryKey() {
    return null;
  }

  /** {@inheritDoc} */
  @Override
  public eu.redbyte.reservations.core.jooq.public_.tables.Country as(java.lang.String alias) {
    return new eu.redbyte.reservations.core.jooq.public_.tables.Country(alias, this);
  }

  /** Rename this table */
  public eu.redbyte.reservations.core.jooq.public_.tables.Country rename(java.lang.String name) {
    return new eu.redbyte.reservations.core.jooq.public_.tables.Country(name, null);
  }
}
示例#2
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.6.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class User extends TableImpl<UserRecord> {

  private static final long serialVersionUID = -122382790;

  /** The reference instance of <code>stevedb.user</code> */
  public static final User USER = new User();

  /** The class holding records for this type */
  @Override
  public Class<UserRecord> getRecordType() {
    return UserRecord.class;
  }

  /** The column <code>stevedb.user.idTag</code>. */
  public final TableField<UserRecord, String> IDTAG =
      createField("idTag", org.jooq.impl.SQLDataType.VARCHAR.length(15).nullable(false), this, "");

  /** The column <code>stevedb.user.parentIdTag</code>. */
  public final TableField<UserRecord, String> PARENTIDTAG =
      createField("parentIdTag", org.jooq.impl.SQLDataType.VARCHAR.length(15), this, "");

  /** The column <code>stevedb.user.expiryDate</code>. */
  public final TableField<UserRecord, DateTime> EXPIRYDATE =
      createField(
          "expiryDate", org.jooq.impl.SQLDataType.TIMESTAMP, this, "", new DateTimeConverter());

  /** The column <code>stevedb.user.inTransaction</code>. */
  public final TableField<UserRecord, Boolean> INTRANSACTION =
      createField("inTransaction", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>stevedb.user.blocked</code>. */
  public final TableField<UserRecord, Boolean> BLOCKED =
      createField("blocked", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>stevedb.user.note</code>. */
  public final TableField<UserRecord, String> NOTE =
      createField("note", org.jooq.impl.SQLDataType.CLOB, this, "");

  /** Create a <code>stevedb.user</code> table reference */
  public User() {
    this("user", null);
  }

  /** Create an aliased <code>stevedb.user</code> table reference */
  public User(String alias) {
    this(alias, USER);
  }

  private User(String alias, Table<UserRecord> aliased) {
    this(alias, aliased, null);
  }

  private User(String alias, Table<UserRecord> aliased, Field<?>[] parameters) {
    super(alias, Stevedb.STEVEDB, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<UserRecord> getPrimaryKey() {
    return Keys.KEY_USER_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<UserRecord>> getKeys() {
    return Arrays.<UniqueKey<UserRecord>>asList(Keys.KEY_USER_PRIMARY, Keys.KEY_USER_IDTAG_UNIQUE);
  }

  /** {@inheritDoc} */
  @Override
  public List<ForeignKey<UserRecord, ?>> getReferences() {
    return Arrays.<ForeignKey<UserRecord, ?>>asList(Keys.FK_USER_PARENTIDTAG);
  }

  /** {@inheritDoc} */
  @Override
  public User as(String alias) {
    return new User(alias, this);
  }

  /** Rename this table */
  public User rename(String name) {
    return new User(name, null);
  }
}
示例#3
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.7.3"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class EmailJnl extends TableImpl<EmailJnlRecord> {

  private static final long serialVersionUID = -1894745755;

  /** The reference instance of <code>email_jnl</code> */
  public static final EmailJnl EMAIL_JNL = new EmailJnl();

  /** The class holding records for this type */
  @Override
  public Class<EmailJnlRecord> getRecordType() {
    return EmailJnlRecord.class;
  }

  /** The column <code>email_jnl.id</code>. */
  public final TableField<EmailJnlRecord, String> ID =
      createField("id", org.jooq.impl.SQLDataType.VARCHAR.length(32).nullable(false), this, "");

  /** The column <code>email_jnl.v</code>. */
  public final TableField<EmailJnlRecord, Long> V =
      createField("v", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>email_jnl.c</code>. */
  public final TableField<EmailJnlRecord, Timestamp> C =
      createField("c", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false), this, "");

  /** The column <code>email_jnl.user_id</code>. */
  public final TableField<EmailJnlRecord, String> USER_ID =
      createField("user_id", org.jooq.impl.SQLDataType.VARCHAR.length(32), this, "");

  /** The column <code>email_jnl.to</code>. */
  public final TableField<EmailJnlRecord, String> TO =
      createField("to", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.cc</code>. */
  public final TableField<EmailJnlRecord, String> CC =
      createField("cc", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.from</code>. */
  public final TableField<EmailJnlRecord, String> FROM =
      createField("from", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.reply_to</code>. */
  public final TableField<EmailJnlRecord, String> REPLY_TO =
      createField("reply_to", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.subject</code>. */
  public final TableField<EmailJnlRecord, String> SUBJECT =
      createField("subject", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.text_body</code>. */
  public final TableField<EmailJnlRecord, String> TEXT_BODY =
      createField("text_body", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.stripped_text_body</code>. */
  public final TableField<EmailJnlRecord, String> STRIPPED_TEXT_BODY =
      createField("stripped_text_body", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.html_body</code>. */
  public final TableField<EmailJnlRecord, String> HTML_BODY =
      createField("html_body", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.stripped_html_body</code>. */
  public final TableField<EmailJnlRecord, String> STRIPPED_HTML_BODY =
      createField("stripped_html_body", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>email_jnl.attachments</code>. */
  public final TableField<EmailJnlRecord, Boolean> ATTACHMENTS =
      createField("attachments", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>email_jnl.message_id</code>. */
  public final TableField<EmailJnlRecord, String> MESSAGE_ID =
      createField("message_id", org.jooq.impl.SQLDataType.VARCHAR.length(32), this, "");

  /** Create a <code>email_jnl</code> table reference */
  public EmailJnl() {
    this("email_jnl", null);
  }

  /** Create an aliased <code>email_jnl</code> table reference */
  public EmailJnl(String alias) {
    this(alias, EMAIL_JNL);
  }

  private EmailJnl(String alias, Table<EmailJnlRecord> aliased) {
    this(alias, aliased, null);
  }

  private EmailJnl(String alias, Table<EmailJnlRecord> aliased, Field<?>[] parameters) {
    super(alias, DefaultSchema.DEFAULT_SCHEMA, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public UniqueKey<EmailJnlRecord> getPrimaryKey() {
    return Keys.PK_EMAIL_JNL;
  }

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<EmailJnlRecord>> getKeys() {
    return Arrays.<UniqueKey<EmailJnlRecord>>asList(Keys.PK_EMAIL_JNL);
  }

  /** {@inheritDoc} */
  @Override
  public TableField<EmailJnlRecord, Long> getRecordVersion() {
    return V;
  }

  /** {@inheritDoc} */
  @Override
  public TableField<EmailJnlRecord, Timestamp> getRecordTimestamp() {
    return C;
  }

  /** {@inheritDoc} */
  @Override
  public EmailJnl as(String alias) {
    return new EmailJnl(alias, this);
  }

  /** Rename this table */
  public EmailJnl rename(String name) {
    return new EmailJnl(name, null);
  }
}
示例#4
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.5.2"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Verdicts
    extends org.jooq.impl.TableImpl<org.ng200.openolympus.jooq.tables.records.VerdictsRecord> {

  private static final long serialVersionUID = 4413314;

  /** The reference instance of <code>public.verdicts</code> */
  public static final org.ng200.openolympus.jooq.tables.Verdicts VERDICTS =
      new org.ng200.openolympus.jooq.tables.Verdicts();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.ng200.openolympus.jooq.tables.records.VerdictsRecord> getRecordType() {
    return org.ng200.openolympus.jooq.tables.records.VerdictsRecord.class;
  }

  /** The column <code>public.verdicts.id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      ID =
          createField(
              "id", org.jooq.impl.SQLDataType.BIGINT.nullable(false).defaulted(true), this, "");

  /** The column <code>public.verdicts.additional_information</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.String>
      ADDITIONAL_INFORMATION =
          createField(
              "additional_information", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>public.verdicts.cpu_time</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      CPU_TIME =
          createField("cpu_time", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.verdicts.is_viewable_when_contest_running</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Boolean>
      IS_VIEWABLE_WHEN_CONTEST_RUNNING =
          createField(
              "is_viewable_when_contest_running",
              org.jooq.impl.SQLDataType.BOOLEAN.nullable(false),
              this,
              "");

  /** The column <code>public.verdicts.maximum_score</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.math.BigDecimal>
      MAXIMUM_SCORE =
          createField(
              "maximum_score", org.jooq.impl.SQLDataType.NUMERIC.precision(19, 2), this, "");

  /** The column <code>public.verdicts.memory_peak</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      MEMORY_PEAK =
          createField("memory_peak", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.verdicts.path_to_test</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.String>
      PATH_TO_TEST =
          createField("path_to_test", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>public.verdicts.real_time</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      REAL_TIME =
          createField("real_time", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.verdicts.score</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.math.BigDecimal>
      SCORE = createField("score", org.jooq.impl.SQLDataType.NUMERIC.precision(19, 2), this, "");

  /** The column <code>public.verdicts.status</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Integer>
      STATUS = createField("status", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>public.verdicts.tested</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Boolean>
      TESTED = createField("tested", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, "");

  /** The column <code>public.verdicts.unauthorised_syscall</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      UNAUTHORISED_SYSCALL =
          createField(
              "unauthorised_syscall", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.verdicts.solution_id</code>. */
  public final org.jooq.TableField<
          org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      SOLUTION_ID = createField("solution_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** Create a <code>public.verdicts</code> table reference */
  public Verdicts() {
    this("verdicts", null);
  }

  /** Create an aliased <code>public.verdicts</code> table reference */
  public Verdicts(java.lang.String alias) {
    this(alias, org.ng200.openolympus.jooq.tables.Verdicts.VERDICTS);
  }

  private Verdicts(
      java.lang.String alias,
      org.jooq.Table<org.ng200.openolympus.jooq.tables.records.VerdictsRecord> aliased) {
    this(alias, aliased, null);
  }

  private Verdicts(
      java.lang.String alias,
      org.jooq.Table<org.ng200.openolympus.jooq.tables.records.VerdictsRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, org.ng200.openolympus.jooq.Public.PUBLIC, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<org.ng200.openolympus.jooq.tables.records.VerdictsRecord, java.lang.Long>
      getIdentity() {
    return org.ng200.openolympus.jooq.Keys.IDENTITY_VERDICTS;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.VerdictsRecord>
      getPrimaryKey() {
    return org.ng200.openolympus.jooq.Keys.VERDICTS_PKEY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.VerdictsRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<org.ng200.openolympus.jooq.tables.records.VerdictsRecord>>asList(
            org.ng200.openolympus.jooq.Keys.VERDICTS_PKEY);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<org.ng200.openolympus.jooq.tables.records.VerdictsRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<org.ng200.openolympus.jooq.tables.records.VerdictsRecord, ?>>asList(
            org.ng200.openolympus.jooq.Keys.VERDICTS__FK_9VEP15EYJKCBKN2IQXANLYE16);
  }

  /** {@inheritDoc} */
  @Override
  public org.ng200.openolympus.jooq.tables.Verdicts as(java.lang.String alias) {
    return new org.ng200.openolympus.jooq.tables.Verdicts(alias, this);
  }

  /** Rename this table */
  public org.ng200.openolympus.jooq.tables.Verdicts rename(java.lang.String name) {
    return new org.ng200.openolympus.jooq.tables.Verdicts(name, null);
  }
}