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

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_mcv_list_items.index</code>.
     */
    public void setIndex(Integer value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_mcv_list_items.index</code>.
     */
    public Integer getIndex() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_mcv_list_items.values</code>.
     */
    public void setValues(String[] value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_mcv_list_items.values</code>.
     */
    public String[] getValues() {
        return (String[]) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_mcv_list_items.nulls</code>.
     */
    public void setNulls(Boolean[] value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_mcv_list_items.nulls</code>.
     */
    public Boolean[] getNulls() {
        return (Boolean[]) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_mcv_list_items.frequency</code>.
     */
    public void setFrequency(Double value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_mcv_list_items.frequency</code>.
     */
    public Double getFrequency() {
        return (Double) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_mcv_list_items.base_frequency</code>.
     */
    public void setBaseFrequency(Double value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_mcv_list_items.base_frequency</code>.
     */
    public Double getBaseFrequency() {
        return (Double) get(4);
    }

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

    /**
     * Create a detached PgMcvListItemsRecord
     */
    public PgMcvListItemsRecord() {
        super(PgMcvListItems.PG_MCV_LIST_ITEMS);
    }

    /**
     * Create a detached, initialised PgMcvListItemsRecord
     */
    public PgMcvListItemsRecord(Integer index, String[] values, Boolean[] nulls, Double frequency, Double baseFrequency) {
        super(PgMcvListItems.PG_MCV_LIST_ITEMS);

        setIndex(index);
        setValues(values);
        setNulls(nulls);
        setFrequency(frequency);
        setBaseFrequency(baseFrequency);
        resetChangedOnNotNull();
    }
}
