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

import java.sql.Timestamp;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_roles.rolname</code>.
     */
    public void setRolname(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolname</code>.
     */
    public String getRolname() {
        return (String) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolsuper</code>.
     */
    public void setRolsuper(Boolean value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolsuper</code>.
     */
    public Boolean getRolsuper() {
        return (Boolean) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolinherit</code>.
     */
    public void setRolinherit(Boolean value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolinherit</code>.
     */
    public Boolean getRolinherit() {
        return (Boolean) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolcreaterole</code>.
     */
    public void setRolcreaterole(Boolean value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolcreaterole</code>.
     */
    public Boolean getRolcreaterole() {
        return (Boolean) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolcreatedb</code>.
     */
    public void setRolcreatedb(Boolean value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolcreatedb</code>.
     */
    public Boolean getRolcreatedb() {
        return (Boolean) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolcanlogin</code>.
     */
    public void setRolcanlogin(Boolean value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolcanlogin</code>.
     */
    public Boolean getRolcanlogin() {
        return (Boolean) get(5);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolreplication</code>.
     */
    public void setRolreplication(Boolean value) {
        set(6, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolreplication</code>.
     */
    public Boolean getRolreplication() {
        return (Boolean) get(6);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolconnlimit</code>.
     */
    public void setRolconnlimit(Integer value) {
        set(7, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolconnlimit</code>.
     */
    public Integer getRolconnlimit() {
        return (Integer) get(7);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setRolprofile(Object value) {
        set(8, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getRolprofile() {
        return get(8);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolloginattempts</code>.
     */
    public void setRolloginattempts(Integer value) {
        set(9, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolloginattempts</code>.
     */
    public Integer getRolloginattempts() {
        return (Integer) get(9);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rollastlogin</code>.
     */
    public void setRollastlogin(Timestamp value) {
        set(10, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rollastlogin</code>.
     */
    public Timestamp getRollastlogin() {
        return (Timestamp) get(10);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolfirstfailedauth</code>.
     */
    public void setRolfirstfailedauth(Timestamp value) {
        set(11, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolfirstfailedauth</code>.
     */
    public Timestamp getRolfirstfailedauth() {
        return (Timestamp) get(11);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolstatus</code>.
     */
    public void setRolstatus(Short value) {
        set(12, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolstatus</code>.
     */
    public Short getRolstatus() {
        return (Short) get(12);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolpassword</code>.
     */
    public void setRolpassword(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolpassword</code>.
     */
    public String getRolpassword() {
        return (String) get(13);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolvaliduntil</code>.
     */
    public void setRolvaliduntil(Timestamp value) {
        set(14, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolvaliduntil</code>.
     */
    public Timestamp getRolvaliduntil() {
        return (Timestamp) get(14);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolpasssetat</code>.
     */
    public void setRolpasssetat(Timestamp value) {
        set(15, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolpasssetat</code>.
     */
    public Timestamp getRolpasssetat() {
        return (Timestamp) get(15);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolbypassrls</code>.
     */
    public void setRolbypassrls(Boolean value) {
        set(16, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolbypassrls</code>.
     */
    public Boolean getRolbypassrls() {
        return (Boolean) get(16);
    }

    /**
     * Setter for <code>pg_catalog.pg_roles.rolconfig</code>.
     */
    public void setRolconfig(String[] value) {
        set(17, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_roles.rolconfig</code>.
     */
    public String[] getRolconfig() {
        return (String[]) get(17);
    }

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

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

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

    /**
     * Create a detached PgRolesRecord
     */
    public PgRolesRecord() {
        super(PgRoles.PG_ROLES);
    }

    /**
     * Create a detached, initialised PgRolesRecord
     */
    public PgRolesRecord(String rolname, Boolean rolsuper, Boolean rolinherit, Boolean rolcreaterole, Boolean rolcreatedb, Boolean rolcanlogin, Boolean rolreplication, Integer rolconnlimit, Object rolprofile, Integer rolloginattempts, Timestamp rollastlogin, Timestamp rolfirstfailedauth, Short rolstatus, String rolpassword, Timestamp rolvaliduntil, Timestamp rolpasssetat, Boolean rolbypassrls, String[] rolconfig, Long oid) {
        super(PgRoles.PG_ROLES);

        setRolname(rolname);
        setRolsuper(rolsuper);
        setRolinherit(rolinherit);
        setRolcreaterole(rolcreaterole);
        setRolcreatedb(rolcreatedb);
        setRolcanlogin(rolcanlogin);
        setRolreplication(rolreplication);
        setRolconnlimit(rolconnlimit);
        setRolprofile(rolprofile);
        setRolloginattempts(rolloginattempts);
        setRollastlogin(rollastlogin);
        setRolfirstfailedauth(rolfirstfailedauth);
        setRolstatus(rolstatus);
        setRolpassword(rolpassword);
        setRolvaliduntil(rolvaliduntil);
        setRolpasssetat(rolpasssetat);
        setRolbypassrls(rolbypassrls);
        setRolconfig(rolconfig);
        setOid(oid);
        resetChangedOnNotNull();
    }
}
