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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewImpositionTmpMeasures;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.view_imposition_tmp_measures.imposition_tmp_measures_id</code>.
     */
    public void setImpositionTmpMeasuresId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_imposition_tmp_measures.imposition_tmp_measures_id</code>.
     */
    public Long getImpositionTmpMeasuresId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_imposition_tmp_measures.count_all</code>.
     */
    public void setCountAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_imposition_tmp_measures.count_all</code>.
     */
    public Long getCountAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_imposition_tmp_measures.percent_refused_in_second</code>.
     */
    public void setPercentRefusedInSecond(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_imposition_tmp_measures.percent_refused_in_second</code>.
     */
    public BigDecimal getPercentRefusedInSecond() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_imposition_tmp_measures.percent_accepted_in_second</code>.
     */
    public void setPercentAcceptedInSecond(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_imposition_tmp_measures.percent_accepted_in_second</code>.
     */
    public BigDecimal getPercentAcceptedInSecond() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewImpositionTmpMeasuresRecord
     */
    public ViewImpositionTmpMeasuresRecord() {
        super(ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES);
    }

    /**
     * Create a detached, initialised ViewImpositionTmpMeasuresRecord
     */
    public ViewImpositionTmpMeasuresRecord(Long impositionTmpMeasuresId, Long countAll, BigDecimal percentRefusedInSecond, BigDecimal percentAcceptedInSecond) {
        super(ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES);

        setImpositionTmpMeasuresId(impositionTmpMeasuresId);
        setCountAll(countAll);
        setPercentRefusedInSecond(percentRefusedInSecond);
        setPercentAcceptedInSecond(percentAcceptedInSecond);
        resetChangedOnNotNull();
    }
}
