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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_constraint.conname</code>.
     */
    public void setConname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conname</code>.
     */
    public String getConname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.connamespace</code>.
     */
    public void setConnamespace(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.connamespace</code>.
     */
    public Long getConnamespace() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.contype</code>.
     */
    public void setContype(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.contype</code>.
     */
    public String getContype() {
        return (String) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.condeferrable</code>.
     */
    public void setCondeferrable(Boolean value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.condeferrable</code>.
     */
    public Boolean getCondeferrable() {
        return (Boolean) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.condeferred</code>.
     */
    public void setCondeferred(Boolean value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.condeferred</code>.
     */
    public Boolean getCondeferred() {
        return (Boolean) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.convalidated</code>.
     */
    public void setConvalidated(Boolean value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.convalidated</code>.
     */
    public Boolean getConvalidated() {
        return (Boolean) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conrelid</code>.
     */
    public void setConrelid(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conrelid</code>.
     */
    public Long getConrelid() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.contypid</code>.
     */
    public void setContypid(Long value) {
        set(8, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.contypid</code>.
     */
    public Long getContypid() {
        return (Long) get(8);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conindid</code>.
     */
    public void setConindid(Long value) {
        set(9, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conindid</code>.
     */
    public Long getConindid() {
        return (Long) get(9);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conparentid</code>.
     */
    public void setConparentid(Long value) {
        set(10, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conparentid</code>.
     */
    public Long getConparentid() {
        return (Long) get(10);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confrelid</code>.
     */
    public void setConfrelid(Long value) {
        set(11, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confrelid</code>.
     */
    public Long getConfrelid() {
        return (Long) get(11);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confupdtype</code>.
     */
    public void setConfupdtype(String value) {
        set(12, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confupdtype</code>.
     */
    public String getConfupdtype() {
        return (String) get(12);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confdeltype</code>.
     */
    public void setConfdeltype(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confdeltype</code>.
     */
    public String getConfdeltype() {
        return (String) get(13);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confmatchtype</code>.
     */
    public void setConfmatchtype(String value) {
        set(14, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confmatchtype</code>.
     */
    public String getConfmatchtype() {
        return (String) get(14);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conislocal</code>.
     */
    public void setConislocal(Boolean value) {
        set(15, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conislocal</code>.
     */
    public Boolean getConislocal() {
        return (Boolean) get(15);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.coninhcount</code>.
     */
    public void setConinhcount(Integer value) {
        set(16, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.coninhcount</code>.
     */
    public Integer getConinhcount() {
        return (Integer) get(16);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.connoinherit</code>.
     */
    public void setConnoinherit(Boolean value) {
        set(17, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.connoinherit</code>.
     */
    public Boolean getConnoinherit() {
        return (Boolean) get(17);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conkey</code>.
     */
    public void setConkey(Short[] value) {
        set(18, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conkey</code>.
     */
    public Short[] getConkey() {
        return (Short[]) get(18);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confkey</code>.
     */
    public void setConfkey(Short[] value) {
        set(19, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confkey</code>.
     */
    public Short[] getConfkey() {
        return (Short[]) get(19);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conpfeqop</code>.
     */
    public void setConpfeqop(Long[] value) {
        set(20, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conpfeqop</code>.
     */
    public Long[] getConpfeqop() {
        return (Long[]) get(20);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conppeqop</code>.
     */
    public void setConppeqop(Long[] value) {
        set(21, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conppeqop</code>.
     */
    public Long[] getConppeqop() {
        return (Long[]) get(21);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conffeqop</code>.
     */
    public void setConffeqop(Long[] value) {
        set(22, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conffeqop</code>.
     */
    public Long[] getConffeqop() {
        return (Long[]) get(22);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.confdelsetcols</code>.
     */
    public void setConfdelsetcols(Short[] value) {
        set(23, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.confdelsetcols</code>.
     */
    public Short[] getConfdelsetcols() {
        return (Short[]) get(23);
    }

    /**
     * Setter for <code>pg_catalog.pg_constraint.conexclop</code>.
     */
    public void setConexclop(Long[] value) {
        set(24, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_constraint.conexclop</code>.
     */
    public Long[] getConexclop() {
        return (Long[]) get(24);
    }

    /**
     * @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 setConbin(Object value) {
        set(25, 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 getConbin() {
        return get(25);
    }

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

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

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

    /**
     * Create a detached PgConstraintRecord
     */
    public PgConstraintRecord() {
        super(PgConstraint.PG_CONSTRAINT);
    }

    /**
     * Create a detached, initialised PgConstraintRecord
     */
    public PgConstraintRecord(Long oid, String conname, Long connamespace, String contype, Boolean condeferrable, Boolean condeferred, Boolean convalidated, Long conrelid, Long contypid, Long conindid, Long conparentid, Long confrelid, String confupdtype, String confdeltype, String confmatchtype, Boolean conislocal, Integer coninhcount, Boolean connoinherit, Short[] conkey, Short[] confkey, Long[] conpfeqop, Long[] conppeqop, Long[] conffeqop, Short[] confdelsetcols, Long[] conexclop, Object conbin) {
        super(PgConstraint.PG_CONSTRAINT);

        setOid(oid);
        setConname(conname);
        setConnamespace(connamespace);
        setContype(contype);
        setCondeferrable(condeferrable);
        setCondeferred(condeferred);
        setConvalidated(convalidated);
        setConrelid(conrelid);
        setContypid(contypid);
        setConindid(conindid);
        setConparentid(conparentid);
        setConfrelid(confrelid);
        setConfupdtype(confupdtype);
        setConfdeltype(confdeltype);
        setConfmatchtype(confmatchtype);
        setConislocal(conislocal);
        setConinhcount(coninhcount);
        setConnoinherit(connoinherit);
        setConkey(conkey);
        setConfkey(confkey);
        setConpfeqop(conpfeqop);
        setConppeqop(conppeqop);
        setConffeqop(conffeqop);
        setConfdelsetcols(confdelsetcols);
        setConexclop(conexclop);
        setConbin(conbin);
        resetChangedOnNotNull();
    }
}
