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

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_policies.schemaname</code>.
     */
    public void setSchemaname(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.schemaname</code>.
     */
    public String getSchemaname() {
        return (String) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.tablename</code>.
     */
    public void setTablename(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.tablename</code>.
     */
    public String getTablename() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.policyname</code>.
     */
    public void setPolicyname(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.policyname</code>.
     */
    public String getPolicyname() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.permissive</code>.
     */
    public void setPermissive(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.permissive</code>.
     */
    public String getPermissive() {
        return (String) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.roles</code>.
     */
    public void setRoles(String[] value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.roles</code>.
     */
    public String[] getRoles() {
        return (String[]) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.cmd</code>.
     */
    public void setCmd(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.cmd</code>.
     */
    public String getCmd() {
        return (String) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.qual</code>.
     */
    public void setQual(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.qual</code>.
     */
    public String getQual() {
        return (String) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_policies.with_check</code>.
     */
    public void setWithCheck(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_policies.with_check</code>.
     */
    public String getWithCheck() {
        return (String) get(7);
    }

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

    /**
     * Create a detached PgPoliciesRecord
     */
    public PgPoliciesRecord() {
        super(PgPolicies.PG_POLICIES);
    }

    /**
     * Create a detached, initialised PgPoliciesRecord
     */
    public PgPoliciesRecord(String schemaname, String tablename, String policyname, String permissive, String[] roles, String cmd, String qual, String withCheck) {
        super(PgPolicies.PG_POLICIES);

        setSchemaname(schemaname);
        setTablename(tablename);
        setPolicyname(policyname);
        setPermissive(permissive);
        setRoles(roles);
        setCmd(cmd);
        setQual(qual);
        setWithCheck(withCheck);
        resetChangedOnNotNull();
    }
}
