/*
 * 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.PgOpclass;

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcmethod</code>.
     */
    public void setOpcmethod(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcmethod</code>.
     */
    public Long getOpcmethod() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcname</code>.
     */
    public void setOpcname(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcname</code>.
     */
    public String getOpcname() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcnamespace</code>.
     */
    public void setOpcnamespace(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcnamespace</code>.
     */
    public Long getOpcnamespace() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcowner</code>.
     */
    public void setOpcowner(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcowner</code>.
     */
    public Long getOpcowner() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcfamily</code>.
     */
    public void setOpcfamily(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcfamily</code>.
     */
    public Long getOpcfamily() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcintype</code>.
     */
    public void setOpcintype(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcintype</code>.
     */
    public Long getOpcintype() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opcdefault</code>.
     */
    public void setOpcdefault(Boolean value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opcdefault</code>.
     */
    public Boolean getOpcdefault() {
        return (Boolean) get(7);
    }

    /**
     * Setter for <code>pg_catalog.pg_opclass.opckeytype</code>.
     */
    public void setOpckeytype(Long value) {
        set(8, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_opclass.opckeytype</code>.
     */
    public Long getOpckeytype() {
        return (Long) get(8);
    }

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

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

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

    /**
     * Create a detached PgOpclassRecord
     */
    public PgOpclassRecord() {
        super(PgOpclass.PG_OPCLASS);
    }

    /**
     * Create a detached, initialised PgOpclassRecord
     */
    public PgOpclassRecord(Long oid, Long opcmethod, String opcname, Long opcnamespace, Long opcowner, Long opcfamily, Long opcintype, Boolean opcdefault, Long opckeytype) {
        super(PgOpclass.PG_OPCLASS);

        setOid(oid);
        setOpcmethod(opcmethod);
        setOpcname(opcname);
        setOpcnamespace(opcnamespace);
        setOpcowner(opcowner);
        setOpcfamily(opcfamily);
        setOpcintype(opcintype);
        setOpcdefault(opcdefault);
        setOpckeytype(opckeytype);
        resetChangedOnNotNull();
    }
}
