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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.view_epgu_notice_sent_error.epgu_notice_sent_error_id</code>.
     */
    public void setEpguNoticeSentErrorId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_epgu_notice_sent_error.epgu_notice_sent_error_id</code>.
     */
    public Long getEpguNoticeSentErrorId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_sending_timeout</code>.
     */
    public void setPercentSendingTimeout(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_sending_timeout</code>.
     */
    public BigDecimal getPercentSendingTimeout() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_delivery_timeout</code>.
     */
    public void setPercentDeliveryTimeout(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_delivery_timeout</code>.
     */
    public BigDecimal getPercentDeliveryTimeout() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_error</code>.
     */
    public void setPercentError(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_error</code>.
     */
    public BigDecimal getPercentError() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_not_formed</code>.
     */
    public void setPercentNotFormed(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_epgu_notice_sent_error.percent_not_formed</code>.
     */
    public BigDecimal getPercentNotFormed() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewEpguNoticeSentErrorRecord
     */
    public ViewEpguNoticeSentErrorRecord() {
        super(ViewEpguNoticeSentError.VIEW_EPGU_NOTICE_SENT_ERROR);
    }

    /**
     * Create a detached, initialised ViewEpguNoticeSentErrorRecord
     */
    public ViewEpguNoticeSentErrorRecord(Long epguNoticeSentErrorId, Long countAll, BigDecimal percentSendingTimeout, BigDecimal percentDeliveryTimeout, BigDecimal percentError, BigDecimal percentNotFormed) {
        super(ViewEpguNoticeSentError.VIEW_EPGU_NOTICE_SENT_ERROR);

        setEpguNoticeSentErrorId(epguNoticeSentErrorId);
        setCountAll(countAll);
        setPercentSendingTimeout(percentSendingTimeout);
        setPercentDeliveryTimeout(percentDeliveryTimeout);
        setPercentError(percentError);
        setPercentNotFormed(percentNotFormed);
        resetChangedOnNotNull();
    }
}
