/*
 * This file is generated by jOOQ.
 */
package stroom.meta.impl.db.jooq.tables.records;


import stroom.meta.impl.db.jooq.tables.Meta;

import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record11;
import org.jooq.Row11;
import org.jooq.impl.UpdatableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MetaRecord extends UpdatableRecordImpl<MetaRecord> implements Record11<Long, Long, Long, Long, Byte, Long, Integer, Integer, Integer, Integer, Long> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>stroom.meta.id</code>.
     */
    public void setId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>stroom.meta.id</code>.
     */
    public Long getId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>stroom.meta.create_time</code>.
     */
    public void setCreateTime(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>stroom.meta.create_time</code>.
     */
    public Long getCreateTime() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>stroom.meta.effective_time</code>.
     */
    public void setEffectiveTime(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>stroom.meta.effective_time</code>.
     */
    public Long getEffectiveTime() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>stroom.meta.parent_id</code>.
     */
    public void setParentId(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>stroom.meta.parent_id</code>.
     */
    public Long getParentId() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>stroom.meta.status</code>.
     */
    public void setStatus(Byte value) {
        set(4, value);
    }

    /**
     * Getter for <code>stroom.meta.status</code>.
     */
    public Byte getStatus() {
        return (Byte) get(4);
    }

    /**
     * Setter for <code>stroom.meta.status_time</code>.
     */
    public void setStatusTime(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>stroom.meta.status_time</code>.
     */
    public Long getStatusTime() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>stroom.meta.feed_id</code>.
     */
    public void setFeedId(Integer value) {
        set(6, value);
    }

    /**
     * Getter for <code>stroom.meta.feed_id</code>.
     */
    public Integer getFeedId() {
        return (Integer) get(6);
    }

    /**
     * Setter for <code>stroom.meta.type_id</code>.
     */
    public void setTypeId(Integer value) {
        set(7, value);
    }

    /**
     * Getter for <code>stroom.meta.type_id</code>.
     */
    public Integer getTypeId() {
        return (Integer) get(7);
    }

    /**
     * Setter for <code>stroom.meta.processor_id</code>.
     */
    public void setProcessorId(Integer value) {
        set(8, value);
    }

    /**
     * Getter for <code>stroom.meta.processor_id</code>.
     */
    public Integer getProcessorId() {
        return (Integer) get(8);
    }

    /**
     * Setter for <code>stroom.meta.processor_filter_id</code>.
     */
    public void setProcessorFilterId(Integer value) {
        set(9, value);
    }

    /**
     * Getter for <code>stroom.meta.processor_filter_id</code>.
     */
    public Integer getProcessorFilterId() {
        return (Integer) get(9);
    }

    /**
     * Setter for <code>stroom.meta.processor_task_id</code>.
     */
    public void setProcessorTaskId(Long value) {
        set(10, value);
    }

    /**
     * Getter for <code>stroom.meta.processor_task_id</code>.
     */
    public Long getProcessorTaskId() {
        return (Long) get(10);
    }

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

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

    // -------------------------------------------------------------------------
    // Record11 type implementation
    // -------------------------------------------------------------------------

    @Override
    public Row11<Long, Long, Long, Long, Byte, Long, Integer, Integer, Integer, Integer, Long> fieldsRow() {
        return (Row11) super.fieldsRow();
    }

    @Override
    public Row11<Long, Long, Long, Long, Byte, Long, Integer, Integer, Integer, Integer, Long> valuesRow() {
        return (Row11) super.valuesRow();
    }

    @Override
    public Field<Long> field1() {
        return Meta.META.ID;
    }

    @Override
    public Field<Long> field2() {
        return Meta.META.CREATE_TIME;
    }

    @Override
    public Field<Long> field3() {
        return Meta.META.EFFECTIVE_TIME;
    }

    @Override
    public Field<Long> field4() {
        return Meta.META.PARENT_ID;
    }

    @Override
    public Field<Byte> field5() {
        return Meta.META.STATUS;
    }

    @Override
    public Field<Long> field6() {
        return Meta.META.STATUS_TIME;
    }

    @Override
    public Field<Integer> field7() {
        return Meta.META.FEED_ID;
    }

    @Override
    public Field<Integer> field8() {
        return Meta.META.TYPE_ID;
    }

    @Override
    public Field<Integer> field9() {
        return Meta.META.PROCESSOR_ID;
    }

    @Override
    public Field<Integer> field10() {
        return Meta.META.PROCESSOR_FILTER_ID;
    }

    @Override
    public Field<Long> field11() {
        return Meta.META.PROCESSOR_TASK_ID;
    }

    @Override
    public Long component1() {
        return getId();
    }

    @Override
    public Long component2() {
        return getCreateTime();
    }

    @Override
    public Long component3() {
        return getEffectiveTime();
    }

    @Override
    public Long component4() {
        return getParentId();
    }

    @Override
    public Byte component5() {
        return getStatus();
    }

    @Override
    public Long component6() {
        return getStatusTime();
    }

    @Override
    public Integer component7() {
        return getFeedId();
    }

    @Override
    public Integer component8() {
        return getTypeId();
    }

    @Override
    public Integer component9() {
        return getProcessorId();
    }

    @Override
    public Integer component10() {
        return getProcessorFilterId();
    }

    @Override
    public Long component11() {
        return getProcessorTaskId();
    }

    @Override
    public Long value1() {
        return getId();
    }

    @Override
    public Long value2() {
        return getCreateTime();
    }

    @Override
    public Long value3() {
        return getEffectiveTime();
    }

    @Override
    public Long value4() {
        return getParentId();
    }

    @Override
    public Byte value5() {
        return getStatus();
    }

    @Override
    public Long value6() {
        return getStatusTime();
    }

    @Override
    public Integer value7() {
        return getFeedId();
    }

    @Override
    public Integer value8() {
        return getTypeId();
    }

    @Override
    public Integer value9() {
        return getProcessorId();
    }

    @Override
    public Integer value10() {
        return getProcessorFilterId();
    }

    @Override
    public Long value11() {
        return getProcessorTaskId();
    }

    @Override
    public MetaRecord value1(Long value) {
        setId(value);
        return this;
    }

    @Override
    public MetaRecord value2(Long value) {
        setCreateTime(value);
        return this;
    }

    @Override
    public MetaRecord value3(Long value) {
        setEffectiveTime(value);
        return this;
    }

    @Override
    public MetaRecord value4(Long value) {
        setParentId(value);
        return this;
    }

    @Override
    public MetaRecord value5(Byte value) {
        setStatus(value);
        return this;
    }

    @Override
    public MetaRecord value6(Long value) {
        setStatusTime(value);
        return this;
    }

    @Override
    public MetaRecord value7(Integer value) {
        setFeedId(value);
        return this;
    }

    @Override
    public MetaRecord value8(Integer value) {
        setTypeId(value);
        return this;
    }

    @Override
    public MetaRecord value9(Integer value) {
        setProcessorId(value);
        return this;
    }

    @Override
    public MetaRecord value10(Integer value) {
        setProcessorFilterId(value);
        return this;
    }

    @Override
    public MetaRecord value11(Long value) {
        setProcessorTaskId(value);
        return this;
    }

    @Override
    public MetaRecord values(Long value1, Long value2, Long value3, Long value4, Byte value5, Long value6, Integer value7, Integer value8, Integer value9, Integer value10, Long value11) {
        value1(value1);
        value2(value2);
        value3(value3);
        value4(value4);
        value5(value5);
        value6(value6);
        value7(value7);
        value8(value8);
        value9(value9);
        value10(value10);
        value11(value11);
        return this;
    }

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

    /**
     * Create a detached MetaRecord
     */
    public MetaRecord() {
        super(Meta.META);
    }

    /**
     * Create a detached, initialised MetaRecord
     */
    public MetaRecord(Long id, Long createTime, Long effectiveTime, Long parentId, Byte status, Long statusTime, Integer feedId, Integer typeId, Integer processorId, Integer processorFilterId, Long processorTaskId) {
        super(Meta.META);

        setId(id);
        setCreateTime(createTime);
        setEffectiveTime(effectiveTime);
        setParentId(parentId);
        setStatus(status);
        setStatusTime(statusTime);
        setFeedId(feedId);
        setTypeId(typeId);
        setProcessorId(processorId);
        setProcessorFilterId(processorFilterId);
        setProcessorTaskId(processorTaskId);
    }
}
