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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_am.amname</code>.
     */
    public void setAmname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_am.amname</code>.
     */
    public String getAmname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_am.amhandler</code>.
     */
    public void setAmhandler(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_am.amhandler</code>.
     */
    public String getAmhandler() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_am.amtype</code>.
     */
    public void setAmtype(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_am.amtype</code>.
     */
    public String getAmtype() {
        return (String) get(3);
    }

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

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

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

    /**
     * Create a detached PgAmRecord
     */
    public PgAmRecord() {
        super(PgAm.PG_AM);
    }

    /**
     * Create a detached, initialised PgAmRecord
     */
    public PgAmRecord(Long oid, String amname, String amhandler, String amtype) {
        super(PgAm.PG_AM);

        setOid(oid);
        setAmname(amname);
        setAmhandler(amhandler);
        setAmtype(amtype);
        resetChangedOnNotNull();
    }
}
