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

import java.sql.Timestamp;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.name</code>.
     */
    public void setName(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.name</code>.
     */
    public String getName() {
        return (String) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.blks_zeroed</code>.
     */
    public void setBlksZeroed(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.blks_zeroed</code>.
     */
    public Long getBlksZeroed() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.blks_hit</code>.
     */
    public void setBlksHit(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.blks_hit</code>.
     */
    public Long getBlksHit() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.blks_read</code>.
     */
    public void setBlksRead(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.blks_read</code>.
     */
    public Long getBlksRead() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.blks_written</code>.
     */
    public void setBlksWritten(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.blks_written</code>.
     */
    public Long getBlksWritten() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.blks_exists</code>.
     */
    public void setBlksExists(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.blks_exists</code>.
     */
    public Long getBlksExists() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.flushes</code>.
     */
    public void setFlushes(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.flushes</code>.
     */
    public Long getFlushes() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.truncates</code>.
     */
    public void setTruncates(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.truncates</code>.
     */
    public Long getTruncates() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_slru.stats_reset</code>.
     */
    public void setStatsReset(Timestamp value) {
        set(8, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_slru.stats_reset</code>.
     */
    public Timestamp getStatsReset() {
        return (Timestamp) get(8);
    }

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

    /**
     * Create a detached PgStatGetSlruRecord
     */
    public PgStatGetSlruRecord() {
        super(PgStatGetSlru.PG_STAT_GET_SLRU);
    }

    /**
     * Create a detached, initialised PgStatGetSlruRecord
     */
    public PgStatGetSlruRecord(String name, Long blksZeroed, Long blksHit, Long blksRead, Long blksWritten, Long blksExists, Long flushes, Long truncates, Timestamp statsReset) {
        super(PgStatGetSlru.PG_STAT_GET_SLRU);

        setName(name);
        setBlksZeroed(blksZeroed);
        setBlksHit(blksHit);
        setBlksRead(blksRead);
        setBlksWritten(blksWritten);
        setBlksExists(blksExists);
        setFlushes(flushes);
        setTruncates(truncates);
        setStatsReset(statsReset);
        resetChangedOnNotNull();
    }
}
