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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_attrdef.adrelid</code>.
     */
    public void setAdrelid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_attrdef.adrelid</code>.
     */
    public Long getAdrelid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_attrdef.adnum</code>.
     */
    public void setAdnum(Short value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_attrdef.adnum</code>.
     */
    public Short getAdnum() {
        return (Short) get(2);
    }

    /**
     * @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 setAdbin(Object value) {
        set(3, 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 getAdbin() {
        return get(3);
    }

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

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

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

    /**
     * Create a detached PgAttrdefRecord
     */
    public PgAttrdefRecord() {
        super(PgAttrdef.PG_ATTRDEF);
    }

    /**
     * Create a detached, initialised PgAttrdefRecord
     */
    public PgAttrdefRecord(Long oid, Long adrelid, Short adnum, Object adbin) {
        super(PgAttrdef.PG_ATTRDEF);

        setOid(oid);
        setAdrelid(adrelid);
        setAdnum(adnum);
        setAdbin(adbin);
        resetChangedOnNotNull();
    }
}
