/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.records;


import java.sql.Date;
import java.sql.Timestamp;

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

import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.SummonsesListDataExchangeError;


/**
 * Журналирование. Ошибки обмена данными с реестром повесток
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesListDataExchangeErrorRecord extends UpdatableRecordImpl<SummonsesListDataExchangeErrorRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.summonses_list_data_exchange_error_id</code>.
     */
    public void setSummonsesListDataExchangeErrorId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.summonses_list_data_exchange_error_id</code>.
     */
    public Long getSummonsesListDataExchangeErrorId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.update_date</code>.
     */
    public void setUpdateDate(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.update_date</code>.
     */
    public Timestamp getUpdateDate() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.info_date</code>.
     */
    public void setInfoDate(Date value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.info_date</code>.
     */
    public Date getInfoDate() {
        return (Date) get(3);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_1</code>.
     */
    public void setCountError_1(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_1</code>.
     */
    public Long getCountError_1() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_2</code>.
     */
    public void setCountError_2(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_2</code>.
     */
    public Long getCountError_2() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_3</code>.
     */
    public void setCountError_3(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_3</code>.
     */
    public Long getCountError_3() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_4</code>.
     */
    public void setCountError_4(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.count_error_4</code>.
     */
    public Long getCountError_4() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_1</code>.
     */
    public void setErrorName_1(String value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_1</code>.
     */
    public String getErrorName_1() {
        return (String) get(8);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_2</code>.
     */
    public void setErrorName_2(String value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_2</code>.
     */
    public String getErrorName_2() {
        return (String) get(9);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_3</code>.
     */
    public void setErrorName_3(String value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_3</code>.
     */
    public String getErrorName_3() {
        return (String) get(10);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_4</code>.
     */
    public void setErrorName_4(String value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.error_name_4</code>.
     */
    public String getErrorName_4() {
        return (String) get(11);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange_error.info_source</code>.
     * Тип: ENTER_SYSTEM - вход в систему, STATEMENT_REQUEST -  запрос выписки
     */
    public void setInfoSource(String value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange_error.info_source</code>.
     * Тип: ENTER_SYSTEM - вход в систему, STATEMENT_REQUEST -  запрос выписки
     */
    public String getInfoSource() {
        return (String) get(12);
    }

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

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

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

    /**
     * Create a detached SummonsesListDataExchangeErrorRecord
     */
    public SummonsesListDataExchangeErrorRecord() {
        super(SummonsesListDataExchangeError.SUMMONSES_LIST_DATA_EXCHANGE_ERROR);
    }

    /**
     * Create a detached, initialised SummonsesListDataExchangeErrorRecord
     */
    public SummonsesListDataExchangeErrorRecord(Long summonsesListDataExchangeErrorId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countError_1, Long countError_2, Long countError_3, Long countError_4, String errorName_1, String errorName_2, String errorName_3, String errorName_4, String infoSource) {
        super(SummonsesListDataExchangeError.SUMMONSES_LIST_DATA_EXCHANGE_ERROR);

        setSummonsesListDataExchangeErrorId(summonsesListDataExchangeErrorId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountError_1(countError_1);
        setCountError_2(countError_2);
        setCountError_3(countError_3);
        setCountError_4(countError_4);
        setErrorName_1(errorName_1);
        setErrorName_2(errorName_2);
        setErrorName_3(errorName_3);
        setErrorName_4(errorName_4);
        setInfoSource(infoSource);
        resetChangedOnNotNull();
    }
}
