/*
 * This file is generated by jOOQ.
*/
package com.sms.sis.db.tables.records;


import com.sms.sis.db.tables.Schedulers;

import java.sql.Time;
import java.sql.Timestamp;

import javax.annotation.Generated;

import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record16;
import org.jooq.Row16;
import org.jooq.impl.UpdatableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.9.3"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SchedulersRecord extends UpdatableRecordImpl<SchedulersRecord> implements Record16<String, Byte, Timestamp, Timestamp, String, String, String, String, Timestamp, Timestamp, String, Time, Time, Timestamp, String, Byte> {

    private static final long serialVersionUID = 1479375484;

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.id</code>.
     */
    public void setId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.id</code>.
     */
    public String getId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.deleted</code>.
     */
    public void setDeleted(Byte value) {
        set(1, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.deleted</code>.
     */
    public Byte getDeleted() {
        return (Byte) get(1);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.date_entered</code>.
     */
    public void setDateEntered(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.date_entered</code>.
     */
    public Timestamp getDateEntered() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.date_modified</code>.
     */
    public void setDateModified(Timestamp value) {
        set(3, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.date_modified</code>.
     */
    public Timestamp getDateModified() {
        return (Timestamp) get(3);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.created_by</code>.
     */
    public void setCreatedBy(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.created_by</code>.
     */
    public String getCreatedBy() {
        return (String) get(4);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.modified_user_id</code>.
     */
    public void setModifiedUserId(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.modified_user_id</code>.
     */
    public String getModifiedUserId() {
        return (String) get(5);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.name</code>.
     */
    public void setName(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.name</code>.
     */
    public String getName() {
        return (String) get(6);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.job</code>.
     */
    public void setJob(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.job</code>.
     */
    public String getJob() {
        return (String) get(7);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.date_time_start</code>.
     */
    public void setDateTimeStart(Timestamp value) {
        set(8, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.date_time_start</code>.
     */
    public Timestamp getDateTimeStart() {
        return (Timestamp) get(8);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.date_time_end</code>.
     */
    public void setDateTimeEnd(Timestamp value) {
        set(9, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.date_time_end</code>.
     */
    public Timestamp getDateTimeEnd() {
        return (Timestamp) get(9);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.job_interval</code>.
     */
    public void setJobInterval(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.job_interval</code>.
     */
    public String getJobInterval() {
        return (String) get(10);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.time_from</code>.
     */
    public void setTimeFrom(Time value) {
        set(11, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.time_from</code>.
     */
    public Time getTimeFrom() {
        return (Time) get(11);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.time_to</code>.
     */
    public void setTimeTo(Time value) {
        set(12, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.time_to</code>.
     */
    public Time getTimeTo() {
        return (Time) get(12);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.last_run</code>.
     */
    public void setLastRun(Timestamp value) {
        set(13, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.last_run</code>.
     */
    public Timestamp getLastRun() {
        return (Timestamp) get(13);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.status</code>.
     */
    public void setStatus(String value) {
        set(14, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.status</code>.
     */
    public String getStatus() {
        return (String) get(14);
    }

    /**
     * Setter for <code>sugarcrm_4_12.schedulers.catch_up</code>.
     */
    public void setCatchUp(Byte value) {
        set(15, value);
    }

    /**
     * Getter for <code>sugarcrm_4_12.schedulers.catch_up</code>.
     */
    public Byte getCatchUp() {
        return (Byte) get(15);
    }

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

    /**
     * {@inheritDoc}
     */
    @Override
    public Record1<String> key() {
        return (Record1) super.key();
    }

    // -------------------------------------------------------------------------
    // Record16 type implementation
    // -------------------------------------------------------------------------

    /**
     * {@inheritDoc}
     */
    @Override
    public Row16<String, Byte, Timestamp, Timestamp, String, String, String, String, Timestamp, Timestamp, String, Time, Time, Timestamp, String, Byte> fieldsRow() {
        return (Row16) super.fieldsRow();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Row16<String, Byte, Timestamp, Timestamp, String, String, String, String, Timestamp, Timestamp, String, Time, Time, Timestamp, String, Byte> valuesRow() {
        return (Row16) super.valuesRow();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field1() {
        return Schedulers.SCHEDULERS.ID;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Byte> field2() {
        return Schedulers.SCHEDULERS.DELETED;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Timestamp> field3() {
        return Schedulers.SCHEDULERS.DATE_ENTERED;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Timestamp> field4() {
        return Schedulers.SCHEDULERS.DATE_MODIFIED;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field5() {
        return Schedulers.SCHEDULERS.CREATED_BY;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field6() {
        return Schedulers.SCHEDULERS.MODIFIED_USER_ID;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field7() {
        return Schedulers.SCHEDULERS.NAME;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field8() {
        return Schedulers.SCHEDULERS.JOB;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Timestamp> field9() {
        return Schedulers.SCHEDULERS.DATE_TIME_START;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Timestamp> field10() {
        return Schedulers.SCHEDULERS.DATE_TIME_END;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field11() {
        return Schedulers.SCHEDULERS.JOB_INTERVAL;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Time> field12() {
        return Schedulers.SCHEDULERS.TIME_FROM;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Time> field13() {
        return Schedulers.SCHEDULERS.TIME_TO;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Timestamp> field14() {
        return Schedulers.SCHEDULERS.LAST_RUN;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<String> field15() {
        return Schedulers.SCHEDULERS.STATUS;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Byte> field16() {
        return Schedulers.SCHEDULERS.CATCH_UP;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value1() {
        return getId();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Byte value2() {
        return getDeleted();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Timestamp value3() {
        return getDateEntered();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Timestamp value4() {
        return getDateModified();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value5() {
        return getCreatedBy();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value6() {
        return getModifiedUserId();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value7() {
        return getName();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value8() {
        return getJob();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Timestamp value9() {
        return getDateTimeStart();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Timestamp value10() {
        return getDateTimeEnd();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value11() {
        return getJobInterval();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Time value12() {
        return getTimeFrom();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Time value13() {
        return getTimeTo();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Timestamp value14() {
        return getLastRun();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String value15() {
        return getStatus();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Byte value16() {
        return getCatchUp();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value1(String value) {
        setId(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value2(Byte value) {
        setDeleted(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value3(Timestamp value) {
        setDateEntered(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value4(Timestamp value) {
        setDateModified(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value5(String value) {
        setCreatedBy(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value6(String value) {
        setModifiedUserId(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value7(String value) {
        setName(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value8(String value) {
        setJob(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value9(Timestamp value) {
        setDateTimeStart(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value10(Timestamp value) {
        setDateTimeEnd(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value11(String value) {
        setJobInterval(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value12(Time value) {
        setTimeFrom(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value13(Time value) {
        setTimeTo(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value14(Timestamp value) {
        setLastRun(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value15(String value) {
        setStatus(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord value16(Byte value) {
        setCatchUp(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public SchedulersRecord values(String value1, Byte value2, Timestamp value3, Timestamp value4, String value5, String value6, String value7, String value8, Timestamp value9, Timestamp value10, String value11, Time value12, Time value13, Timestamp value14, String value15, Byte value16) {
        value1(value1);
        value2(value2);
        value3(value3);
        value4(value4);
        value5(value5);
        value6(value6);
        value7(value7);
        value8(value8);
        value9(value9);
        value10(value10);
        value11(value11);
        value12(value12);
        value13(value13);
        value14(value14);
        value15(value15);
        value16(value16);
        return this;
    }

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

    /**
     * Create a detached SchedulersRecord
     */
    public SchedulersRecord() {
        super(Schedulers.SCHEDULERS);
    }

    /**
     * Create a detached, initialised SchedulersRecord
     */
    public SchedulersRecord(String id, Byte deleted, Timestamp dateEntered, Timestamp dateModified, String createdBy, String modifiedUserId, String name, String job, Timestamp dateTimeStart, Timestamp dateTimeEnd, String jobInterval, Time timeFrom, Time timeTo, Timestamp lastRun, String status, Byte catchUp) {
        super(Schedulers.SCHEDULERS);

        set(0, id);
        set(1, deleted);
        set(2, dateEntered);
        set(3, dateModified);
        set(4, createdBy);
        set(5, modifiedUserId);
        set(6, name);
        set(7, job);
        set(8, dateTimeStart);
        set(9, dateTimeEnd);
        set(10, jobInterval);
        set(11, timeFrom);
        set(12, timeTo);
        set(13, lastRun);
        set(14, status);
        set(15, catchUp);
    }
}
