Beispiel #1
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class AccountTable
    extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.AccountRecord> {

  private static final long serialVersionUID = -816306637;

  /** The singleton instance of <code>cattle.account</code> */
  public static final io.cattle.platform.core.model.tables.AccountTable ACCOUNT =
      new io.cattle.platform.core.model.tables.AccountTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.AccountRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.AccountRecord.class;
  }

  /** The column <code>cattle.account.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.account.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.account.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.account.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(16777215)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.account.external_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID =
          createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.external_id_type</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID_TYPE =
          createField("external_id_type", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.health_state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      HEALTH_STATE =
          createField("health_state", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.project_template_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      PROJECT_TEMPLATE_ID =
          createField("project_template_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.default_network_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      DEFAULT_NETWORK_ID =
          createField("default_network_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.version</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      VERSION = createField("version", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

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

  /** Create an aliased <code>cattle.account</code> table reference */
  public AccountTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.AccountTable.ACCOUNT);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased) {
    this(alias, aliased, null);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_ACCOUNT;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_IDX_ACCOUNT_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>asList(
            io.cattle.platform.core.model.Keys.FK_ACCOUNT__PROJECT_TEMPLATE_ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.AccountTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.AccountTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.AccountTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.AccountTable(name, null);
  }
}
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.6.1"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class ModerationQueue extends TableImpl<ModerationQueueRecord> {

  private static final long serialVersionUID = 1545094066;

  /** The reference instance of <code>public.moderation_queue</code> */
  public static final ModerationQueue MODERATION_QUEUE = new ModerationQueue();

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

  /** The column <code>public.moderation_queue.subject_type</code>. */
  public final TableField<ModerationQueueRecord, SubjectType> SUBJECT_TYPE =
      createField(
          "subject_type",
          org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(
              gs.kama.adminzone.jooqgen.enums.SubjectType.class),
          this,
          "");

  /** The column <code>public.moderation_queue.subject_sid</code>. */
  public final TableField<ModerationQueueRecord, Long> SUBJECT_SID =
      createField("subject_sid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>public.moderation_queue.queue_type</code>. */
  public final TableField<ModerationQueueRecord, ModerationQueueType> QUEUE_TYPE =
      createField(
          "queue_type",
          org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(
              gs.kama.adminzone.jooqgen.enums.ModerationQueueType.class),
          this,
          "");

  /** The column <code>public.moderation_queue.added</code>. */
  public final TableField<ModerationQueueRecord, Instant> ADDED =
      createField(
          "added",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false),
          this,
          "",
          new TimestampToInstantConverter());

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

  /** Create an aliased <code>public.moderation_queue</code> table reference */
  public ModerationQueue(String alias) {
    this(alias, MODERATION_QUEUE);
  }

  private ModerationQueue(String alias, Table<ModerationQueueRecord> aliased) {
    this(alias, aliased, null);
  }

  private ModerationQueue(
      String alias, Table<ModerationQueueRecord> aliased, Field<?>[] parameters) {
    super(alias, Public.PUBLIC, aliased, parameters, "");
  }

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

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

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

  /** Rename this table */
  public ModerationQueue rename(String name) {
    return new ModerationQueue(name, null);
  }
}
/** 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 AutonomousPracticeTemplate extends TableImpl<AutonomousPracticeTemplateRecord> {

  private static final long serialVersionUID = 483640064;

  /** The reference instance of <code>cbis.autonomous_practice_template</code> */
  public static final AutonomousPracticeTemplate AUTONOMOUS_PRACTICE_TEMPLATE =
      new AutonomousPracticeTemplate();

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

  /** The column <code>cbis.autonomous_practice_template.id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Integer> ID =
      createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /**
   * The column <code>cbis.autonomous_practice_template.autonomous_practice_template_title</code>.
   */
  public final TableField<AutonomousPracticeTemplateRecord, String>
      AUTONOMOUS_PRACTICE_TEMPLATE_TITLE =
          createField(
              "autonomous_practice_template_title",
              org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false),
              this,
              "");

  /** The column <code>cbis.autonomous_practice_template.create_time</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Timestamp> CREATE_TIME =
      createField(
          "create_time",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true),
          this,
          "");

  /** The column <code>cbis.autonomous_practice_template.users_id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, String> USERS_ID =
      createField(
          "users_id", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false), this, "");

  /** The column <code>cbis.autonomous_practice_template.tie_id</code>. */
  public final TableField<AutonomousPracticeTemplateRecord, Integer> TIE_ID =
      createField("tie_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

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

  /** Create an aliased <code>cbis.autonomous_practice_template</code> table reference */
  public AutonomousPracticeTemplate(String alias) {
    this(alias, AUTONOMOUS_PRACTICE_TEMPLATE);
  }

  private AutonomousPracticeTemplate(
      String alias, Table<AutonomousPracticeTemplateRecord> aliased) {
    this(alias, aliased, null);
  }

  private AutonomousPracticeTemplate(
      String alias, Table<AutonomousPracticeTemplateRecord> aliased, Field<?>[] parameters) {
    super(alias, Cbis.CBIS, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Identity<AutonomousPracticeTemplateRecord, Integer> getIdentity() {
    return Keys.IDENTITY_AUTONOMOUS_PRACTICE_TEMPLATE;
  }

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

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

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

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

  /** Rename this table */
  public AutonomousPracticeTemplate rename(String name) {
    return new AutonomousPracticeTemplate(name, null);
  }
}
Beispiel #4
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.8.4"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class Supplier extends TableImpl<SupplierRecord> {

  private static final long serialVersionUID = 145075241;

  /** The reference instance of <code>warehouse.Supplier</code> */
  public static final Supplier SUPPLIER = new Supplier();

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

  /** The column <code>warehouse.Supplier.id</code>. */
  public final TableField<SupplierRecord, Long> ID =
      createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>warehouse.Supplier.code</code>. */
  public final TableField<SupplierRecord, String> CODE =
      createField("code", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>warehouse.Supplier.name</code>. */
  public final TableField<SupplierRecord, String> NAME =
      createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>warehouse.Supplier.dateCreated</code>. */
  public final TableField<SupplierRecord, Timestamp> DATECREATED =
      createField(
          "dateCreated",
          org.jooq.impl.SQLDataType.TIMESTAMP
              .nullable(false)
              .defaultValue(
                  org.jooq.impl.DSL.inline(
                      "CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)),
          this,
          "");

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

  /** Create an aliased <code>warehouse.Supplier</code> table reference */
  public Supplier(String alias) {
    this(alias, SUPPLIER);
  }

  private Supplier(String alias, Table<SupplierRecord> aliased) {
    this(alias, aliased, null);
  }

  private Supplier(String alias, Table<SupplierRecord> aliased, Field<?>[] parameters) {
    super(alias, null, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Schema getSchema() {
    return warehouse.WAREHOUSE;
  }

  /** {@inheritDoc} */
  @Override
  public Identity<SupplierRecord, Long> getIdentity() {
    return Keys.IDENTITY_SUPPLIER;
  }

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

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<SupplierRecord>> getKeys() {
    return Arrays.<UniqueKey<SupplierRecord>>asList(
        Keys.KEY_SUPPLIER_PRIMARY, Keys.KEY_SUPPLIER_CODE);
  }

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

  /** Rename this table */
  public Supplier rename(String name) {
    return new Supplier(name, null);
  }
}
Beispiel #5
0
/** When and how many rows were loaded from the CEDICT data file. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.6.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class CedictLoad extends TableImpl<CedictLoadRecord> {

  private static final long serialVersionUID = 337172111;

  /** The reference instance of <code>public.cedict_load</code> */
  public static final CedictLoad CEDICT_LOAD = new CedictLoad();

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

  /** The column <code>public.cedict_load.cedict_load_id</code>. */
  public final TableField<CedictLoadRecord, Integer> CEDICT_LOAD_ID =
      createField(
          "cedict_load_id",
          org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true),
          this,
          "");

  /** The column <code>public.cedict_load.load_start</code>. */
  public final TableField<CedictLoadRecord, LocalDateTime> LOAD_START =
      createField(
          "load_start",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false),
          this,
          "",
          new LocalDateTimeConverter());

  /** The column <code>public.cedict_load.load_finish</code>. */
  public final TableField<CedictLoadRecord, LocalDateTime> LOAD_FINISH =
      createField(
          "load_finish",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false),
          this,
          "",
          new LocalDateTimeConverter());

  /** The column <code>public.cedict_load.load_count</code>. */
  public final TableField<CedictLoadRecord, Integer> LOAD_COUNT =
      createField("load_count", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

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

  /** Create an aliased <code>public.cedict_load</code> table reference */
  public CedictLoad(String alias) {
    this(alias, CEDICT_LOAD);
  }

  private CedictLoad(String alias, Table<CedictLoadRecord> aliased) {
    this(alias, aliased, null);
  }

  private CedictLoad(String alias, Table<CedictLoadRecord> aliased, Field<?>[] parameters) {
    super(
        alias,
        Public.PUBLIC,
        aliased,
        parameters,
        "When and how many rows were loaded from the CEDICT data file.");
  }

  /** {@inheritDoc} */
  @Override
  public Identity<CedictLoadRecord, Integer> getIdentity() {
    return Keys.IDENTITY_CEDICT_LOAD;
  }

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

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

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

  /** Rename this table */
  public CedictLoad rename(String name) {
    return new CedictLoad(name, null);
  }
}
Beispiel #6
0
/** General log */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.5.4"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class GeneralLog
    extends org.jooq.impl.TableImpl<
        com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord> {

  private static final long serialVersionUID = 1434121968;

  /** The reference instance of <code>mysql.general_log</code> */
  public static final com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog GENERAL_LOG =
      new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord>
      getRecordType() {
    return com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord.class;
  }

  /** The column <code>mysql.general_log.event_time</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          java.sql.Timestamp>
      EVENT_TIME =
          createField(
              "event_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true),
              this,
              "");

  /** The column <code>mysql.general_log.user_host</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          java.lang.String>
      USER_HOST =
          createField(
              "user_host",
              org.jooq.impl.SQLDataType.CLOB.length(16777215).nullable(false),
              this,
              "");

  /** The column <code>mysql.general_log.thread_id</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          org.jooq.types.ULong>
      THREAD_ID =
          createField(
              "thread_id", org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false), this, "");

  /** The column <code>mysql.general_log.server_id</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          org.jooq.types.UInteger>
      SERVER_ID =
          createField(
              "server_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");

  /** The column <code>mysql.general_log.command_type</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          java.lang.String>
      COMMAND_TYPE =
          createField(
              "command_type",
              org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false),
              this,
              "");

  /** The column <code>mysql.general_log.argument</code>. */
  public final org.jooq.TableField<
          com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord,
          java.lang.String>
      ARGUMENT =
          createField(
              "argument",
              org.jooq.impl.SQLDataType.CLOB.length(16777215).nullable(false),
              this,
              "");

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

  /** Create an aliased <code>mysql.general_log</code> table reference */
  public GeneralLog(java.lang.String alias) {
    this(alias, com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog.GENERAL_LOG);
  }

  private GeneralLog(
      java.lang.String alias,
      org.jooq.Table<com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private GeneralLog(
      java.lang.String alias,
      org.jooq.Table<com.davidm.mykindlenews.generated.jooq.mysql.tables.records.GeneralLogRecord>
          aliased,
      org.jooq.Field<?>[] parameters) {
    super(
        alias,
        com.davidm.mykindlenews.generated.jooq.mysql.Mysql.MYSQL,
        aliased,
        parameters,
        "General log");
  }

  /** {@inheritDoc} */
  @Override
  public com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog as(java.lang.String alias) {
    return new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog(alias, this);
  }

  /** Rename this table */
  public com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog rename(
      java.lang.String name) {
    return new com.davidm.mykindlenews.generated.jooq.mysql.tables.GeneralLog(name, null);
  }
}
Beispiel #7
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 Warp extends TableImpl<Record> {

  private static final long serialVersionUID = -641657537;

  /** The reference instance of <code>mywarp.warp</code> */
  public static final Warp WARP = new Warp();

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

  /** The column <code>mywarp.warp.warp_id</code>. */
  public final TableField<Record, UInteger> WARP_ID =
      createField("warp_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");

  /** The column <code>mywarp.warp.name</code>. */
  public final TableField<Record, String> NAME =
      createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(32).nullable(false), this, "");

  /** The column <code>mywarp.warp.player_id</code>. */
  public final TableField<Record, UInteger> PLAYER_ID =
      createField("player_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");

  /** The column <code>mywarp.warp.x</code>. */
  public final TableField<Record, Double> X =
      createField("x", org.jooq.impl.SQLDataType.DOUBLE.nullable(false), this, "");

  /** The column <code>mywarp.warp.y</code>. */
  public final TableField<Record, Double> Y =
      createField("y", org.jooq.impl.SQLDataType.DOUBLE.nullable(false), this, "");

  /** The column <code>mywarp.warp.z</code>. */
  public final TableField<Record, Double> Z =
      createField("z", org.jooq.impl.SQLDataType.DOUBLE.nullable(false), this, "");

  /** The column <code>mywarp.warp.pitch</code>. */
  public final TableField<Record, Float> PITCH =
      createField("pitch", org.jooq.impl.SQLDataType.REAL.nullable(false), this, "");

  /** The column <code>mywarp.warp.yaw</code>. */
  public final TableField<Record, Float> YAW =
      createField("yaw", org.jooq.impl.SQLDataType.REAL.nullable(false), this, "");

  /** The column <code>mywarp.warp.world_id</code>. */
  public final TableField<Record, UInteger> WORLD_ID =
      createField("world_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");

  /** The column <code>mywarp.warp.creation_date</code>. */
  public final TableField<Record, Date> CREATION_DATE =
      createField(
          "creation_date",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false),
          this,
          "",
          new DateTimestampConverter());

  /** The column <code>mywarp.warp.type</code>. */
  public final TableField<Record, Type> TYPE =
      createField(
          "type",
          org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false),
          this,
          "",
          new TypeConverter());

  /** The column <code>mywarp.warp.visits</code>. */
  public final TableField<Record, UInteger> VISITS =
      createField(
          "visits",
          org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaulted(true),
          this,
          "");

  /** The column <code>mywarp.warp.welcome_message</code>. */
  public final TableField<Record, String> WELCOME_MESSAGE =
      createField("welcome_message", org.jooq.impl.SQLDataType.CLOB, this, "");

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

  /** Create an aliased <code>mywarp.warp</code> table reference */
  public Warp(String alias) {
    this(alias, WARP);
  }

  private Warp(String alias, Table<Record> aliased) {
    this(alias, aliased, null);
  }

  private Warp(String alias, Table<Record> aliased, Field<?>[] parameters) {
    super(alias, Mywarp.MYWARP, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Identity<Record, UInteger> getIdentity() {
    return Keys.IDENTITY_WARP;
  }

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

  /** {@inheritDoc} */
  @Override
  public List<UniqueKey<Record>> getKeys() {
    return Arrays.<UniqueKey<Record>>asList(Keys.KEY_WARP_PRIMARY, Keys.KEY_WARP_WARP_NAME_UQ);
  }

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

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

  /** Rename this table */
  public Warp rename(String name) {
    return new Warp(name, null);
  }
}
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class CredentialTable
    extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.CredentialRecord> {

  private static final long serialVersionUID = 1760963263;

  /** The singleton instance of <code>cattle.credential</code> */
  public static final io.cattle.platform.core.model.tables.CredentialTable CREDENTIAL =
      new io.cattle.platform.core.model.tables.CredentialTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.CredentialRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.CredentialRecord.class;
  }

  /** The column <code>cattle.credential.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.credential.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.credential.account_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.credential.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.credential.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.credential.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.credential.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.credential.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord,
          java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(65535)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.credential.public_value</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      PUBLIC_VALUE =
          createField("public_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, "");

  /** The column <code>cattle.credential.secret_value</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      SECRET_VALUE =
          createField("secret_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, "");

  /** The column <code>cattle.credential.registry_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      REGISTRY_ID = createField("registry_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

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

  /** Create an aliased <code>cattle.credential</code> table reference */
  public CredentialTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.CredentialTable.CREDENTIAL);
  }

  private CredentialTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased) {
    this(alias, aliased, null);
  }

  private CredentialTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_CREDENTIAL;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_IDX_CREDENTIAL_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>>
            asList(
                io.cattle.platform.core.model.Keys.FK_CREDENTIAL__ACCOUNT_ID,
                io.cattle.platform.core.model.Keys.FK_CREDENTIAL__REGISTRY_ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.CredentialTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.CredentialTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.CredentialTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.CredentialTable(name, null);
  }
}
/** アセスメント資産脅威脆弱性 */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.7.2"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class IsmsAssetAssessRisk extends TableImpl<IsmsAssetAssessRiskRecord> {

  private static final long serialVersionUID = 417957451;

  /** The reference instance of <code>members.isms_asset_assess_risk</code> */
  public static final IsmsAssetAssessRisk ISMS_ASSET_ASSESS_RISK = new IsmsAssetAssessRisk();

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

  /** The column <code>members.isms_asset_assess_risk.limit_date</code>. 締切日 */
  public final TableField<IsmsAssetAssessRiskRecord, Timestamp> LIMIT_DATE =
      createField(
          "limit_date",
          org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true),
          this,
          "締切日");

  /** The column <code>members.isms_asset_assess_risk.asset_id</code>. 資産ID */
  public final TableField<IsmsAssetAssessRiskRecord, Long> ASSET_ID =
      createField(
          "asset_id",
          org.jooq.impl.SQLDataType.BIGINT.nullable(false).defaulted(true),
          this,
          "資産ID");

  /** The column <code>members.isms_asset_assess_risk.threat_weak_id</code>. 脅威脆弱性ID */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> THREAT_WEAK_ID =
      createField(
          "threat_weak_id",
          org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true),
          this,
          "脅威脆弱性ID");

  /** The column <code>members.isms_asset_assess_risk.threat_name</code>. 脅威名 */
  public final TableField<IsmsAssetAssessRiskRecord, String> THREAT_NAME =
      createField("threat_name", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "脅威名");

  /** The column <code>members.isms_asset_assess_risk.threat_confidential</code>. 脅威機密性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> THREAT_CONFIDENTIAL =
      createField("threat_confidential", org.jooq.impl.SQLDataType.INTEGER, this, "脅威機密性");

  /** The column <code>members.isms_asset_assess_risk.threat_integrity</code>. 脅威完全性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> THREAT_INTEGRITY =
      createField("threat_integrity", org.jooq.impl.SQLDataType.INTEGER, this, "脅威完全性");

  /** The column <code>members.isms_asset_assess_risk.threat_availability</code>. 脅威可用性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> THREAT_AVAILABILITY =
      createField("threat_availability", org.jooq.impl.SQLDataType.INTEGER, this, "脅威可用性");

  /** The column <code>members.isms_asset_assess_risk.weak_name</code>. 脆弱性名 */
  public final TableField<IsmsAssetAssessRiskRecord, String> WEAK_NAME =
      createField("weak_name", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "脆弱性名");

  /** The column <code>members.isms_asset_assess_risk.weak_confidential</code>. 脆弱性機密性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> WEAK_CONFIDENTIAL =
      createField("weak_confidential", org.jooq.impl.SQLDataType.INTEGER, this, "脆弱性機密性");

  /** The column <code>members.isms_asset_assess_risk.weak_integrity</code>. 脆弱性完全性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> WEAK_INTEGRITY =
      createField("weak_integrity", org.jooq.impl.SQLDataType.INTEGER, this, "脆弱性完全性");

  /** The column <code>members.isms_asset_assess_risk.weak_availability</code>. 脆弱性可用性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> WEAK_AVAILABILITY =
      createField("weak_availability", org.jooq.impl.SQLDataType.INTEGER, this, "脆弱性可用性");

  /** The column <code>members.isms_asset_assess_risk.risk_confidential</code>. リスク値機密性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> RISK_CONFIDENTIAL =
      createField("risk_confidential", org.jooq.impl.SQLDataType.INTEGER, this, "リスク値機密性");

  /** The column <code>members.isms_asset_assess_risk.risk_integrity</code>. リスク値完全性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> RISK_INTEGRITY =
      createField("risk_integrity", org.jooq.impl.SQLDataType.INTEGER, this, "リスク値完全性");

  /** The column <code>members.isms_asset_assess_risk.risk_availability</code>. リスク値可用性 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> RISK_AVAILABILITY =
      createField("risk_availability", org.jooq.impl.SQLDataType.INTEGER, this, "リスク値可用性");

  /** The column <code>members.isms_asset_assess_risk.judge</code>. 受容可否 */
  public final TableField<IsmsAssetAssessRiskRecord, Integer> JUDGE =
      createField("judge", org.jooq.impl.SQLDataType.INTEGER, this, "受容可否");

  /** The column <code>members.isms_asset_assess_risk.remark</code>. 備考 */
  public final TableField<IsmsAssetAssessRiskRecord, String> REMARK =
      createField("remark", org.jooq.impl.SQLDataType.VARCHAR.length(300), this, "備考");

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

  /** Create an aliased <code>members.isms_asset_assess_risk</code> table reference */
  public IsmsAssetAssessRisk(String alias) {
    this(alias, ISMS_ASSET_ASSESS_RISK);
  }

  private IsmsAssetAssessRisk(String alias, Table<IsmsAssetAssessRiskRecord> aliased) {
    this(alias, aliased, null);
  }

  private IsmsAssetAssessRisk(
      String alias, Table<IsmsAssetAssessRiskRecord> aliased, Field<?>[] parameters) {
    super(alias, Members.MEMBERS, aliased, parameters, "アセスメント資産脅威脆弱性");
  }

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

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

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

  /** Rename this table */
  public IsmsAssetAssessRisk rename(String name) {
    return new IsmsAssetAssessRisk(name, null);
  }
}
Beispiel #10
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class StoragePoolTable
    extends org.jooq.impl.TableImpl<
        io.cattle.platform.core.model.tables.records.StoragePoolRecord> {

  private static final long serialVersionUID = 645893858;

  /** The singleton instance of <code>cattle.storage_pool</code> */
  public static final io.cattle.platform.core.model.tables.StoragePoolTable STORAGE_POOL =
      new io.cattle.platform.core.model.tables.StoragePoolTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.StoragePoolRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.StoragePoolRecord.class;
  }

  /** The column <code>cattle.storage_pool.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.storage_pool.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.account_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.storage_pool.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord,
          java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(16777215)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.physical_total_size_mb</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      PHYSICAL_TOTAL_SIZE_MB =
          createField("physical_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.virtual_total_size_mb</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      VIRTUAL_TOTAL_SIZE_MB =
          createField("virtual_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.external</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Boolean>
      EXTERNAL =
          createField(
              "external", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, "");

  /** The column <code>cattle.storage_pool.agent_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      AGENT_ID = createField("agent_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.zone_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ZONE_ID = createField("zone_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.external_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      EXTERNAL_ID =
          createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.storage_pool.driver_name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      DRIVER_NAME =
          createField("driver_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.volume_access_mode</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      VOLUME_ACCESS_MODE =
          createField(
              "volume_access_mode", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.storage_driver_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      STORAGE_DRIVER_ID =
          createField("storage_driver_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

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

  /** Create an aliased <code>cattle.storage_pool</code> table reference */
  public StoragePoolTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.StoragePoolTable.STORAGE_POOL);
  }

  private StoragePoolTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased) {
    this(alias, aliased, null);
  }

  private StoragePoolTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_STORAGE_POOL;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_IDX_STORAGE_POOL_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>>
            asList(
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ACCOUNT_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__AGENT_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ZONE_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_DRIVER__ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.StoragePoolTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.StoragePoolTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.StoragePoolTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.StoragePoolTable(name, null);
  }
}
Beispiel #11
0
/** This class is generated by jOOQ. */
@Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.8.1"},
    comments = "This class is generated by jOOQ")
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class SchemaVersion extends TableImpl<SchemaVersionRecord> {

  private static final long serialVersionUID = -1827404851;

  /** The reference instance of <code>lifetime.schema_version</code> */
  public static final SchemaVersion SCHEMA_VERSION = new SchemaVersion();

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

  /** The column <code>lifetime.schema_version.installed_rank</code>. */
  public final TableField<SchemaVersionRecord, Integer> INSTALLED_RANK =
      createField("installed_rank", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** The column <code>lifetime.schema_version.version</code>. */
  public final TableField<SchemaVersionRecord, String> VERSION =
      createField("version", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");

  /** The column <code>lifetime.schema_version.description</code>. */
  public final TableField<SchemaVersionRecord, String> DESCRIPTION =
      createField(
          "description", org.jooq.impl.SQLDataType.VARCHAR.length(200).nullable(false), this, "");

  /** The column <code>lifetime.schema_version.type</code>. */
  public final TableField<SchemaVersionRecord, String> TYPE =
      createField("type", org.jooq.impl.SQLDataType.VARCHAR.length(20).nullable(false), this, "");

  /** The column <code>lifetime.schema_version.script</code>. */
  public final TableField<SchemaVersionRecord, String> SCRIPT =
      createField(
          "script", org.jooq.impl.SQLDataType.VARCHAR.length(1000).nullable(false), this, "");

  /** The column <code>lifetime.schema_version.checksum</code>. */
  public final TableField<SchemaVersionRecord, Integer> CHECKSUM =
      createField("checksum", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>lifetime.schema_version.installed_by</code>. */
  public final TableField<SchemaVersionRecord, String> INSTALLED_BY =
      createField(
          "installed_by", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");

  /** The column <code>lifetime.schema_version.installed_on</code>. */
  public final TableField<SchemaVersionRecord, Timestamp> INSTALLED_ON =
      createField(
          "installed_on",
          org.jooq.impl.SQLDataType.TIMESTAMP
              .nullable(false)
              .defaultValue(
                  org.jooq.impl.DSL.field(
                      "CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)),
          this,
          "");

  /** The column <code>lifetime.schema_version.execution_time</code>. */
  public final TableField<SchemaVersionRecord, Integer> EXECUTION_TIME =
      createField("execution_time", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");

  /** The column <code>lifetime.schema_version.success</code>. */
  public final TableField<SchemaVersionRecord, Byte> SUCCESS =
      createField("success", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, "");

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

  /** Create an aliased <code>lifetime.schema_version</code> table reference */
  public SchemaVersion(String alias) {
    this(alias, SCHEMA_VERSION);
  }

  private SchemaVersion(String alias, Table<SchemaVersionRecord> aliased) {
    this(alias, aliased, null);
  }

  private SchemaVersion(String alias, Table<SchemaVersionRecord> aliased, Field<?>[] parameters) {
    super(alias, null, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public Schema getSchema() {
    return Lifetime.LIFETIME;
  }

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

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

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

  /** Rename this table */
  public SchemaVersion rename(String name) {
    return new SchemaVersion(name, null);
  }
}
Beispiel #12
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);
  }
}