/FileExtraction/Java_unseen/GenSpectrum_LAPIS/server/src/main/java/org/jooq/lapis/tables/records/YMainAaSequenceStagingRecord.java
/*
 * This file is generated by jOOQ.
 */
package org.jooq.lapis.tables.records;


import org.jooq.Field;
import org.jooq.Record2;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl;
import org.jooq.lapis.tables.YMainAaSequenceStaging;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class YMainAaSequenceStagingRecord extends UpdatableRecordImpl<YMainAaSequenceStagingRecord> implements Record3<Integer, String, byte[]> {

    private static final long serialVersionUID = 1L;

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

    /**
     * Getter for <code>y_main_aa_sequence_staging.id</code>.
     */
    public Integer getId() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>y_main_aa_sequence_staging.gene</code>.
     */
    public void setGene(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>y_main_aa_sequence_staging.gene</code>.
     */
    public String getGene() {
        return (String) get(1);
    }

    /**
     * Setter for <code>y_main_aa_sequence_staging.aa_seq_compressed</code>.
     */
    public void setAaSeqCompressed(byte[] value) {
        set(2, value);
    }

    /**
     * Getter for <code>y_main_aa_sequence_staging.aa_seq_compressed</code>.
     */
    public byte[] getAaSeqCompressed() {
        return (byte[]) get(2);
    }

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

    @Override
    public Record2<Integer, String> key() {
        return (Record2) super.key();
    }

    // -------------------------------------------------------------------------
    // Record3 type implementation
    // -------------------------------------------------------------------------

    @Override
    public Row3<Integer, String, byte[]> fieldsRow() {
        return (Row3) super.fieldsRow();
    }

    @Override
    public Row3<Integer, String, byte[]> valuesRow() {
        return (Row3) super.valuesRow();
    }

    @Override
    public Field<Integer> field1() {
        return YMainAaSequenceStaging.Y_MAIN_AA_SEQUENCE_STAGING.ID;
    }

    @Override
    public Field<String> field2() {
        return YMainAaSequenceStaging.Y_MAIN_AA_SEQUENCE_STAGING.GENE;
    }

    @Override
    public Field<byte[]> field3() {
        return YMainAaSequenceStaging.Y_MAIN_AA_SEQUENCE_STAGING.AA_SEQ_COMPRESSED;
    }

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

    @Override
    public String component2() {
        return getGene();
    }

    @Override
    public byte[] component3() {
        return getAaSeqCompressed();
    }

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

    @Override
    public String value2() {
        return getGene();
    }

    @Override
    public byte[] value3() {
        return getAaSeqCompressed();
    }

    @Override
    public YMainAaSequenceStagingRecord value1(Integer value) {
        setId(value);
        return this;
    }

    @Override
    public YMainAaSequenceStagingRecord value2(String value) {
        setGene(value);
        return this;
    }

    @Override
    public YMainAaSequenceStagingRecord value3(byte[] value) {
        setAaSeqCompressed(value);
        return this;
    }

    @Override
    public YMainAaSequenceStagingRecord values(Integer value1, String value2, byte[] value3) {
        value1(value1);
        value2(value2);
        value3(value3);
        return this;
    }

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

    /**
     * Create a detached YMainAaSequenceStagingRecord
     */
    public YMainAaSequenceStagingRecord() {
        super(YMainAaSequenceStaging.Y_MAIN_AA_SEQUENCE_STAGING);
    }

    /**
     * Create a detached, initialised YMainAaSequenceStagingRecord
     */
    public YMainAaSequenceStagingRecord(Integer id, String gene, byte[] aaSeqCompressed) {
        super(YMainAaSequenceStaging.Y_MAIN_AA_SEQUENCE_STAGING);

        setId(id);
        setGene(gene);
        setAaSeqCompressed(aaSeqCompressed);
    }
}
