/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;


import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobLog;

import java.sql.Timestamp;

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.job_log.jobname</code>.
     */
    public void setJobname(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.job_log.jobname</code>.
     */
    public String getJobname() {
        return (String) get(0);
    }

    /**
     * Setter for <code>public.job_log.status</code>.
     */
    public void setStatus(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.job_log.status</code>.
     */
    public String getStatus() {
        return (String) get(1);
    }

    /**
     * Setter for <code>public.job_log.enddate</code>.
     */
    public void setEnddate(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.job_log.enddate</code>.
     */
    public Timestamp getEnddate() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>public.job_log.depdate</code>.
     */
    public void setDepdate(Timestamp value) {
        set(3, value);
    }

    /**
     * Getter for <code>public.job_log.depdate</code>.
     */
    public Timestamp getDepdate() {
        return (Timestamp) get(3);
    }

    /**
     * Setter for <code>public.job_log.startdate</code>.
     */
    public void setStartdate(Timestamp value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.job_log.startdate</code>.
     */
    public Timestamp getStartdate() {
        return (Timestamp) get(4);
    }

    /**
     * Setter for <code>public.job_log.logdate</code>.
     */
    public void setLogdate(Timestamp value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.job_log.logdate</code>.
     */
    public Timestamp getLogdate() {
        return (Timestamp) get(5);
    }

    /**
     * Setter for <code>public.job_log.channel_id</code>.
     */
    public void setChannelId(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>public.job_log.channel_id</code>.
     */
    public String getChannelId() {
        return (String) get(6);
    }

    /**
     * Setter for <code>public.job_log.id_job</code>.
     */
    public void setIdJob(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>public.job_log.id_job</code>.
     */
    public Long getIdJob() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>public.job_log.replaydate</code>.
     */
    public void setReplaydate(Timestamp value) {
        set(8, value);
    }

    /**
     * Getter for <code>public.job_log.replaydate</code>.
     */
    public Timestamp getReplaydate() {
        return (Timestamp) get(8);
    }

    /**
     * Setter for <code>public.job_log.log_field</code>.
     */
    public void setLogField(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>public.job_log.log_field</code>.
     */
    public String getLogField() {
        return (String) get(9);
    }

    /**
     * Setter for <code>public.job_log.errors</code>.
     */
    public void setErrors(Integer value) {
        set(10, value);
    }

    /**
     * Getter for <code>public.job_log.errors</code>.
     */
    public Integer getErrors() {
        return (Integer) get(10);
    }

    /**
     * Setter for <code>public.job_log.lines_rejected</code>.
     */
    public void setLinesRejected(Integer value) {
        set(11, value);
    }

    /**
     * Getter for <code>public.job_log.lines_rejected</code>.
     */
    public Integer getLinesRejected() {
        return (Integer) get(11);
    }

    /**
     * Setter for <code>public.job_log.lines_updated</code>.
     */
    public void setLinesUpdated(Integer value) {
        set(12, value);
    }

    /**
     * Getter for <code>public.job_log.lines_updated</code>.
     */
    public Integer getLinesUpdated() {
        return (Integer) get(12);
    }

    /**
     * Setter for <code>public.job_log.lines_input</code>.
     */
    public void setLinesInput(Integer value) {
        set(13, value);
    }

    /**
     * Getter for <code>public.job_log.lines_input</code>.
     */
    public Integer getLinesInput() {
        return (Integer) get(13);
    }

    /**
     * Setter for <code>public.job_log.lines_output</code>.
     */
    public void setLinesOutput(Integer value) {
        set(14, value);
    }

    /**
     * Getter for <code>public.job_log.lines_output</code>.
     */
    public Integer getLinesOutput() {
        return (Integer) get(14);
    }

    /**
     * Setter for <code>public.job_log.lines_written</code>.
     */
    public void setLinesWritten(Integer value) {
        set(15, value);
    }

    /**
     * Getter for <code>public.job_log.lines_written</code>.
     */
    public Integer getLinesWritten() {
        return (Integer) get(15);
    }

    /**
     * Setter for <code>public.job_log.lines_read</code>.
     */
    public void setLinesRead(Integer value) {
        set(16, value);
    }

    /**
     * Getter for <code>public.job_log.lines_read</code>.
     */
    public Integer getLinesRead() {
        return (Integer) get(16);
    }

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

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

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

    /**
     * Create a detached JobLogRecord
     */
    public JobLogRecord() {
        super(JobLog.JOB_LOG);
    }

    /**
     * Create a detached, initialised JobLogRecord
     */
    public JobLogRecord(String jobname, String status, Timestamp enddate, Timestamp depdate, Timestamp startdate, Timestamp logdate, String channelId, Long idJob, Timestamp replaydate, String logField, Integer errors, Integer linesRejected, Integer linesUpdated, Integer linesInput, Integer linesOutput, Integer linesWritten, Integer linesRead) {
        super(JobLog.JOB_LOG);

        setJobname(jobname);
        setStatus(status);
        setEnddate(enddate);
        setDepdate(depdate);
        setStartdate(startdate);
        setLogdate(logdate);
        setChannelId(channelId);
        setIdJob(idJob);
        setReplaydate(replaydate);
        setLogField(logField);
        setErrors(errors);
        setLinesRejected(linesRejected);
        setLinesUpdated(linesUpdated);
        setLinesInput(linesInput);
        setLinesOutput(linesOutput);
        setLinesWritten(linesWritten);
        setLinesRead(linesRead);
        resetChangedOnNotNull();
    }
}
