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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_amproc.amprocfamily</code>.
     */
    public void setAmprocfamily(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_amproc.amprocfamily</code>.
     */
    public Long getAmprocfamily() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_amproc.amproclefttype</code>.
     */
    public void setAmproclefttype(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_amproc.amproclefttype</code>.
     */
    public Long getAmproclefttype() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_amproc.amprocrighttype</code>.
     */
    public void setAmprocrighttype(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_amproc.amprocrighttype</code>.
     */
    public Long getAmprocrighttype() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_amproc.amprocnum</code>.
     */
    public void setAmprocnum(Short value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_amproc.amprocnum</code>.
     */
    public Short getAmprocnum() {
        return (Short) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_amproc.amproc</code>.
     */
    public void setAmproc(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_amproc.amproc</code>.
     */
    public String getAmproc() {
        return (String) get(5);
    }

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

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

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

    /**
     * Create a detached PgAmprocRecord
     */
    public PgAmprocRecord() {
        super(PgAmproc.PG_AMPROC);
    }

    /**
     * Create a detached, initialised PgAmprocRecord
     */
    public PgAmprocRecord(Long oid, Long amprocfamily, Long amproclefttype, Long amprocrighttype, Short amprocnum, String amproc) {
        super(PgAmproc.PG_AMPROC);

        setOid(oid);
        setAmprocfamily(amprocfamily);
        setAmproclefttype(amproclefttype);
        setAmprocrighttype(amprocrighttype);
        setAmprocnum(amprocnum);
        setAmproc(amproc);
        resetChangedOnNotNull();
    }
}
