/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.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.metrics.tables.ConvertInfoComparisonCsvXml;


/**
 * Конвертация. Результат сопоставления файлов
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConvertInfoComparisonCsvXmlRecord extends UpdatableRecordImpl<ConvertInfoComparisonCsvXmlRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id</code>.
     */
    public void setConvertInfoComparisonCsvXmlId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id</code>.
     */
    public Long getConvertInfoComparisonCsvXmlId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.convert_info_comparison_csv_xml.count_xml_formed</code>.
     */
    public void setCountXmlFormed(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_comparison_csv_xml.count_xml_formed</code>.
     */
    public Long getCountXmlFormed() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>metrics.convert_info_comparison_csv_xml.count_csv_formed</code>.
     */
    public void setCountCsvFormed(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_comparison_csv_xml.count_csv_formed</code>.
     */
    public Long getCountCsvFormed() {
        return (Long) get(5);
    }

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

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

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

    /**
     * Create a detached ConvertInfoComparisonCsvXmlRecord
     */
    public ConvertInfoComparisonCsvXmlRecord() {
        super(ConvertInfoComparisonCsvXml.CONVERT_INFO_COMPARISON_CSV_XML);
    }

    /**
     * Create a detached, initialised ConvertInfoComparisonCsvXmlRecord
     */
    public ConvertInfoComparisonCsvXmlRecord(Long convertInfoComparisonCsvXmlId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countXmlFormed, Long countCsvFormed) {
        super(ConvertInfoComparisonCsvXml.CONVERT_INFO_COMPARISON_CSV_XML);

        setConvertInfoComparisonCsvXmlId(convertInfoComparisonCsvXmlId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountXmlFormed(countXmlFormed);
        setCountCsvFormed(countCsvFormed);
        resetChangedOnNotNull();
    }
}
