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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoComparisonCsvXml;


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for
     * <code>metrics.view_convert_info_comparison_csv_xml.percent_xml_formed</code>.
     */
    public void setPercentXmlFormed(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>metrics.view_convert_info_comparison_csv_xml.percent_xml_formed</code>.
     */
    public BigDecimal getPercentXmlFormed() {
        return (BigDecimal) get(1);
    }

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

    /**
     * Create a detached ViewConvertInfoComparisonCsvXmlRecord
     */
    public ViewConvertInfoComparisonCsvXmlRecord() {
        super(ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML);
    }

    /**
     * Create a detached, initialised ViewConvertInfoComparisonCsvXmlRecord
     */
    public ViewConvertInfoComparisonCsvXmlRecord(Long convertInfoComparisonCsvXmlId, BigDecimal percentXmlFormed) {
        super(ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML);

        setConvertInfoComparisonCsvXmlId(convertInfoComparisonCsvXmlId);
        setPercentXmlFormed(percentXmlFormed);
        resetChangedOnNotNull();
    }
}
