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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_collation.collname</code>.
     */
    public void setCollname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collname</code>.
     */
    public String getCollname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collnamespace</code>.
     */
    public void setCollnamespace(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collnamespace</code>.
     */
    public Long getCollnamespace() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collowner</code>.
     */
    public void setCollowner(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collowner</code>.
     */
    public Long getCollowner() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collprovider</code>.
     */
    public void setCollprovider(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collprovider</code>.
     */
    public String getCollprovider() {
        return (String) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collisdeterministic</code>.
     */
    public void setCollisdeterministic(Boolean value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collisdeterministic</code>.
     */
    public Boolean getCollisdeterministic() {
        return (Boolean) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collencoding</code>.
     */
    public void setCollencoding(Integer value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collencoding</code>.
     */
    public Integer getCollencoding() {
        return (Integer) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collcollate</code>.
     */
    public void setCollcollate(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collcollate</code>.
     */
    public String getCollcollate() {
        return (String) get(7);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collctype</code>.
     */
    public void setCollctype(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collctype</code>.
     */
    public String getCollctype() {
        return (String) get(8);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.colliculocale</code>.
     */
    public void setColliculocale(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.colliculocale</code>.
     */
    public String getColliculocale() {
        return (String) get(9);
    }

    /**
     * Setter for <code>pg_catalog.pg_collation.collversion</code>.
     */
    public void setCollversion(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_collation.collversion</code>.
     */
    public String getCollversion() {
        return (String) get(10);
    }

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

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

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

    /**
     * Create a detached PgCollationRecord
     */
    public PgCollationRecord() {
        super(PgCollation.PG_COLLATION);
    }

    /**
     * Create a detached, initialised PgCollationRecord
     */
    public PgCollationRecord(Long oid, String collname, Long collnamespace, Long collowner, String collprovider, Boolean collisdeterministic, Integer collencoding, String collcollate, String collctype, String colliculocale, String collversion) {
        super(PgCollation.PG_COLLATION);

        setOid(oid);
        setCollname(collname);
        setCollnamespace(collnamespace);
        setCollowner(collowner);
        setCollprovider(collprovider);
        setCollisdeterministic(collisdeterministic);
        setCollencoding(collencoding);
        setCollcollate(collcollate);
        setCollctype(collctype);
        setColliculocale(colliculocale);
        setCollversion(collversion);
        resetChangedOnNotNull();
    }
}
