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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>pg_catalog.pg_default_acl.defaclrole</code>.
     */
    public void setDefaclrole(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_default_acl.defaclrole</code>.
     */
    public Long getDefaclrole() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_default_acl.defaclnamespace</code>.
     */
    public void setDefaclnamespace(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_default_acl.defaclnamespace</code>.
     */
    public Long getDefaclnamespace() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_default_acl.defaclobjtype</code>.
     */
    public void setDefaclobjtype(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_default_acl.defaclobjtype</code>.
     */
    public String getDefaclobjtype() {
        return (String) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_default_acl.defaclacl</code>.
     */
    public void setDefaclacl(String[] value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_default_acl.defaclacl</code>.
     */
    public String[] getDefaclacl() {
        return (String[]) get(4);
    }

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

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

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

    /**
     * Create a detached PgDefaultAclRecord
     */
    public PgDefaultAclRecord() {
        super(PgDefaultAcl.PG_DEFAULT_ACL);
    }

    /**
     * Create a detached, initialised PgDefaultAclRecord
     */
    public PgDefaultAclRecord(Long oid, Long defaclrole, Long defaclnamespace, String defaclobjtype, String[] defaclacl) {
        super(PgDefaultAcl.PG_DEFAULT_ACL);

        setOid(oid);
        setDefaclrole(defaclrole);
        setDefaclnamespace(defaclnamespace);
        setDefaclobjtype(defaclobjtype);
        setDefaclacl(defaclacl);
        resetChangedOnNotNull();
    }
}
