/** 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);
  }
}
Example #2
0
/** This class is generated by jOOQ. */
@java.lang.SuppressWarnings({"all", "unchecked"})
public class UAddressType
    extends org.jooq.impl.UDTImpl<
        org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord> {

  private static final long serialVersionUID = 255977261;

  /** The singleton instance of <code>public.u_address_type</code> */
  public static final org.jooq.test.postgres.generatedclasses.udt.UAddressType U_ADDRESS_TYPE =
      new org.jooq.test.postgres.generatedclasses.udt.UAddressType();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord>
      getRecordType() {
    return org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord.class;
  }

  /** The attribute <code>public.u_address_type.street</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord,
          org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord>
      STREET =
          createField(
              "street",
              org.jooq.test.postgres.generatedclasses.udt.UStreetType.U_STREET_TYPE.getDataType(),
              U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.zip</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.String>
      ZIP = createField("zip", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.city</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.String>
      CITY = createField("city", org.jooq.impl.SQLDataType.VARCHAR.length(50), U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.country</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord,
          org.jooq.test.postgres.generatedclasses.enums.UCountry>
      COUNTRY =
          createField(
              "country",
              org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(
                  org.jooq.test.postgres.generatedclasses.enums.UCountry.class),
              U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.since</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.sql.Date>
      SINCE = createField("since", org.jooq.impl.SQLDataType.DATE, U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.code</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, java.lang.Integer>
      CODE = createField("code", org.jooq.impl.SQLDataType.INTEGER, U_ADDRESS_TYPE);

  /** The attribute <code>public.u_address_type.f_1323</code>. */
  public static final org.jooq.UDTField<
          org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord, byte[]>
      F_1323 = createField("f_1323", org.jooq.impl.SQLDataType.BLOB, U_ADDRESS_TYPE);

  /** No further instances allowed */
  private UAddressType() {
    super("u_address_type", org.jooq.test.postgres.generatedclasses.Public.PUBLIC);

    // Initialise data type
    getDataType();
  }
}
Example #3
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "jOOQ version:3.5.1"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class AuthOnlineAgent
    extends org.jooq.impl.TableImpl<
        jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord> {

  private static final long serialVersionUID = 426216530;

  /** The reference instance of <code>vcc_realtime.auth_online_agent</code> */
  public static final jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent AUTH_ONLINE_AGENT =
      new jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord>
      getRecordType() {
    return jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord.class;
  }

  /** The column <code>vcc_realtime.auth_online_agent.id</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.ver</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Long>
      VER = createField("ver", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.deptagentid</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Integer>
      DEPTAGENTID = createField("deptagentid", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.contactid</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Integer>
      CONTACTID = createField("contactid", org.jooq.impl.SQLDataType.INTEGER, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.loginstamp</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.String>
      LOGINSTAMP = createField("loginstamp", org.jooq.impl.SQLDataType.CLOB, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.logincode</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Short>
      LOGINCODE = createField("logincode", org.jooq.impl.SQLDataType.SMALLINT, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.logoutcode</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Short>
      LOGOUTCODE = createField("logoutcode", org.jooq.impl.SQLDataType.SMALLINT, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.state</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.String>
      STATE = createField("state", org.jooq.impl.SQLDataType.CLOB, this, "");

  /** The column <code>vcc_realtime.auth_online_agent.stateduration</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Object>
      STATEDURATION =
          createField(
              "stateduration",
              org.jooq.impl.DefaultDataType.getDefaultDataType("interval"),
              this,
              "");

  /** The column <code>vcc_realtime.auth_online_agent.agentkind</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord,
          jooq.generated.vcc.vcc_realtime.enums.AgentType>
      AGENTKIND =
          createField(
              "agentkind",
              org.jooq.util.postgres.PostgresDataType.VARCHAR.asEnumDataType(
                  jooq.generated.vcc.vcc_realtime.enums.AgentType.class),
              this,
              "");

  /** The column <code>vcc_realtime.auth_online_agent.masteragentid</code>. */
  public final org.jooq.TableField<
          jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord, java.lang.Integer>
      MASTERAGENTID = createField("masteragentid", org.jooq.impl.SQLDataType.INTEGER, this, "");

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

  /** Create an aliased <code>vcc_realtime.auth_online_agent</code> table reference */
  public AuthOnlineAgent(java.lang.String alias) {
    this(alias, jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent.AUTH_ONLINE_AGENT);
  }

  private AuthOnlineAgent(
      java.lang.String alias,
      org.jooq.Table<jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord>
          aliased) {
    this(alias, aliased, null);
  }

  private AuthOnlineAgent(
      java.lang.String alias,
      org.jooq.Table<jooq.generated.vcc.vcc_realtime.tables.records.AuthOnlineAgentRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, jooq.generated.vcc.vcc_realtime.VccRealtime.VCC_REALTIME, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent as(java.lang.String alias) {
    return new jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent(alias, this);
  }

  /** Rename this table */
  public jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent rename(java.lang.String name) {
    return new jooq.generated.vcc.vcc_realtime.tables.AuthOnlineAgent(name, null);
  }
}