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

import org.jooq.impl.TableRecordImpl;
import org.jooq.types.YearToSecond;


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_timezone_names.abbrev</code>.
     */
    public void setAbbrev(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_timezone_names.abbrev</code>.
     */
    public String getAbbrev() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_timezone_names.utc_offset</code>.
     */
    public void setUtcOffset(YearToSecond value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_timezone_names.utc_offset</code>.
     */
    public YearToSecond getUtcOffset() {
        return (YearToSecond) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_timezone_names.is_dst</code>.
     */
    public void setIsDst(Boolean value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_timezone_names.is_dst</code>.
     */
    public Boolean getIsDst() {
        return (Boolean) get(3);
    }

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

    /**
     * Create a detached PgTimezoneNamesRecord
     */
    public PgTimezoneNamesRecord() {
        super(PgTimezoneNames.PG_TIMEZONE_NAMES);
    }

    /**
     * Create a detached, initialised PgTimezoneNamesRecord
     */
    public PgTimezoneNamesRecord(String name, String abbrev, YearToSecond utcOffset, Boolean isDst) {
        super(PgTimezoneNames.PG_TIMEZONE_NAMES);

        setName(name);
        setAbbrev(abbrev);
        setUtcOffset(utcOffset);
        setIsDst(isDst);
        resetChangedOnNotNull();
    }
}
