/*
 * This file is generated by jOOQ.
 */
package ervu_secret.ervu_secret.db_beans.pg_catalog.tables.records;


import ervu_secret.ervu_secret.db_beans.pg_catalog.tables.PgStatisticExt;

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgStatisticExtRecord extends UpdatableRecordImpl<PgStatisticExtRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.oid</code>.
     */
    public void setOid(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.oid</code>.
     */
    public Long getOid() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxrelid</code>.
     */
    public void setStxrelid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxrelid</code>.
     */
    public Long getStxrelid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxname</code>.
     */
    public void setStxname(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxname</code>.
     */
    public String getStxname() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxnamespace</code>.
     */
    public void setStxnamespace(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxnamespace</code>.
     */
    public Long getStxnamespace() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxowner</code>.
     */
    public void setStxowner(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxowner</code>.
     */
    public Long getStxowner() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxstattarget</code>.
     */
    public void setStxstattarget(Integer value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxstattarget</code>.
     */
    public Integer getStxstattarget() {
        return (Integer) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxkeys</code>.
     */
    public void setStxkeys(Object[] value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxkeys</code>.
     */
    public Object[] getStxkeys() {
        return (Object[]) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_statistic_ext.stxkind</code>.
     */
    public void setStxkind(String[] value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_statistic_ext.stxkind</code>.
     */
    public String[] getStxkind() {
        return (String[]) get(7);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setStxexprs(Object value) {
        set(8, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getStxexprs() {
        return get(8);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record1<Long> key() {
        return (Record1) super.key();
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached PgStatisticExtRecord
     */
    public PgStatisticExtRecord() {
        super(PgStatisticExt.PG_STATISTIC_EXT);
    }

    /**
     * Create a detached, initialised PgStatisticExtRecord
     */
    public PgStatisticExtRecord(Long oid, Long stxrelid, String stxname, Long stxnamespace, Long stxowner, Integer stxstattarget, Object[] stxkeys, String[] stxkind, Object stxexprs) {
        super(PgStatisticExt.PG_STATISTIC_EXT);

        setOid(oid);
        setStxrelid(stxrelid);
        setStxname(stxname);
        setStxnamespace(stxnamespace);
        setStxowner(stxowner);
        setStxstattarget(stxstattarget);
        setStxkeys(stxkeys);
        setStxkind(stxkind);
        setStxexprs(stxexprs);
        resetChangedOnNotNull();
    }
}
