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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_ts_template.tmplname</code>.
     */
    public void setTmplname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_template.tmplname</code>.
     */
    public String getTmplname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_template.tmplnamespace</code>.
     */
    public void setTmplnamespace(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_template.tmplnamespace</code>.
     */
    public Long getTmplnamespace() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_template.tmplinit</code>.
     */
    public void setTmplinit(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_template.tmplinit</code>.
     */
    public String getTmplinit() {
        return (String) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_template.tmpllexize</code>.
     */
    public void setTmpllexize(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_template.tmpllexize</code>.
     */
    public String getTmpllexize() {
        return (String) get(4);
    }

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

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

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

    /**
     * Create a detached PgTsTemplateRecord
     */
    public PgTsTemplateRecord() {
        super(PgTsTemplate.PG_TS_TEMPLATE);
    }

    /**
     * Create a detached, initialised PgTsTemplateRecord
     */
    public PgTsTemplateRecord(Long oid, String tmplname, Long tmplnamespace, String tmplinit, String tmpllexize) {
        super(PgTsTemplate.PG_TS_TEMPLATE);

        setOid(oid);
        setTmplname(tmplname);
        setTmplnamespace(tmplnamespace);
        setTmplinit(tmplinit);
        setTmpllexize(tmpllexize);
        resetChangedOnNotNull();
    }
}
