<reponame>vimc/montagu-api
/*
 * This file is generated by jOOQ.
*/
package org.vaccineimpact.api.db.tables.records;


import javax.annotation.Generated;

import org.jooq.Field;
import org.jooq.Record;
import org.jooq.Record1;
import org.jooq.Row1;
import org.jooq.impl.TableRecordImpl;
import org.vaccineimpact.api.db.tables.Connectby;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.10.5"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConnectbyRecord extends TableRecordImpl<ConnectbyRecord> implements Record1<Record> {

    private static final long serialVersionUID = 231778414;

    /**
     * Setter for <code>public.connectby.connectby</code>.
     */
    public void setConnectby(Record value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.connectby.connectby</code>.
     */
    public Record getConnectby() {
        return (Record) get(0);
    }

    // -------------------------------------------------------------------------
    // Record1 type implementation
    // -------------------------------------------------------------------------

    /**
     * {@inheritDoc}
     */
    @Override
    public Row1<Record> fieldsRow() {
        return (Row1) super.fieldsRow();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Row1<Record> valuesRow() {
        return (Row1) super.valuesRow();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Field<Record> field1() {
        return Connectby.CONNECTBY.CONNECTBY_;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Record component1() {
        return getConnectby();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Record value1() {
        return getConnectby();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public ConnectbyRecord value1(Record value) {
        setConnectby(value);
        return this;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public ConnectbyRecord values(Record value1) {
        value1(value1);
        return this;
    }

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

    /**
     * Create a detached ConnectbyRecord
     */
    public ConnectbyRecord() {
        super(Connectby.CONNECTBY);
    }

    /**
     * Create a detached, initialised ConnectbyRecord
     */
    public ConnectbyRecord(Record connectby) {
        super(Connectby.CONNECTBY);

        set(0, connectby);
    }
}
