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

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.umid</code>.
     */
    public void setUmid(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.umid</code>.
     */
    public Long getUmid() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.srvid</code>.
     */
    public void setSrvid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.srvid</code>.
     */
    public Long getSrvid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.srvname</code>.
     */
    public void setSrvname(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.srvname</code>.
     */
    public String getSrvname() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.umuser</code>.
     */
    public void setUmuser(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.umuser</code>.
     */
    public Long getUmuser() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.usename</code>.
     */
    public void setUsename(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.usename</code>.
     */
    public String getUsename() {
        return (String) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_user_mappings.umoptions</code>.
     */
    public void setUmoptions(String[] value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_user_mappings.umoptions</code>.
     */
    public String[] getUmoptions() {
        return (String[]) get(5);
    }

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

    /**
     * Create a detached PgUserMappingsRecord
     */
    public PgUserMappingsRecord() {
        super(PgUserMappings.PG_USER_MAPPINGS);
    }

    /**
     * Create a detached, initialised PgUserMappingsRecord
     */
    public PgUserMappingsRecord(Long umid, Long srvid, String srvname, Long umuser, String usename, String[] umoptions) {
        super(PgUserMappings.PG_USER_MAPPINGS);

        setUmid(umid);
        setSrvid(srvid);
        setSrvname(srvname);
        setUmuser(umuser);
        setUsename(usename);
        setUmoptions(umoptions);
        resetChangedOnNotNull();
    }
}
