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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_parameter_acl.parname</code>.
     */
    public void setParname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_parameter_acl.parname</code>.
     */
    public String getParname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_parameter_acl.paracl</code>.
     */
    public void setParacl(String[] value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_parameter_acl.paracl</code>.
     */
    public String[] getParacl() {
        return (String[]) get(2);
    }

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

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

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

    /**
     * Create a detached PgParameterAclRecord
     */
    public PgParameterAclRecord() {
        super(PgParameterAcl.PG_PARAMETER_ACL);
    }

    /**
     * Create a detached, initialised PgParameterAclRecord
     */
    public PgParameterAclRecord(Long oid, String parname, String[] paracl) {
        super(PgParameterAcl.PG_PARAMETER_ACL);

        setOid(oid);
        setParname(parname);
        setParacl(paracl);
        resetChangedOnNotNull();
    }
}
