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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_range.rngtypid</code>.
     */
    public void setRngtypid(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngtypid</code>.
     */
    public Long getRngtypid() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngsubtype</code>.
     */
    public void setRngsubtype(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngsubtype</code>.
     */
    public Long getRngsubtype() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngmultitypid</code>.
     */
    public void setRngmultitypid(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngmultitypid</code>.
     */
    public Long getRngmultitypid() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngcollation</code>.
     */
    public void setRngcollation(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngcollation</code>.
     */
    public Long getRngcollation() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngsubopc</code>.
     */
    public void setRngsubopc(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngsubopc</code>.
     */
    public Long getRngsubopc() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngcanonical</code>.
     */
    public void setRngcanonical(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngcanonical</code>.
     */
    public String getRngcanonical() {
        return (String) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_range.rngsubdiff</code>.
     */
    public void setRngsubdiff(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_range.rngsubdiff</code>.
     */
    public String getRngsubdiff() {
        return (String) get(6);
    }

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

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

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

    /**
     * Create a detached PgRangeRecord
     */
    public PgRangeRecord() {
        super(PgRange.PG_RANGE);
    }

    /**
     * Create a detached, initialised PgRangeRecord
     */
    public PgRangeRecord(Long rngtypid, Long rngsubtype, Long rngmultitypid, Long rngcollation, Long rngsubopc, String rngcanonical, String rngsubdiff) {
        super(PgRange.PG_RANGE);

        setRngtypid(rngtypid);
        setRngsubtype(rngsubtype);
        setRngmultitypid(rngmultitypid);
        setRngcollation(rngcollation);
        setRngsubopc(rngsubopc);
        setRngcanonical(rngcanonical);
        setRngsubdiff(rngsubdiff);
        resetChangedOnNotNull();
    }
}
