/*
 * This file is generated by jOOQ.
 */
package ervu_lkrp_ul.ervu_lkrp_ul.db_beans.public_.tables.records;


import ervu_lkrp_ul.ervu_lkrp_ul.db_beans.public_.tables.OkopfRecords;

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.okopf_records.okopf_records_id</code>.
     */
    public void setOkopfRecordsId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.okopf_records.okopf_records_id</code>.
     */
    public String getOkopfRecordsId() {
        return (String) get(0);
    }

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

    /**
     * Getter for <code>public.okopf_records.name</code>.
     */
    public String getName() {
        return (String) get(1);
    }

    /**
     * Setter for <code>public.okopf_records.version</code>.
     */
    public void setVersion(Integer value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.okopf_records.version</code>.
     */
    public Integer getVersion() {
        return (Integer) get(2);
    }

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

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

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

    /**
     * Create a detached OkopfRecordsRecord
     */
    public OkopfRecordsRecord() {
        super(OkopfRecords.OKOPF_RECORDS);
    }

    /**
     * Create a detached, initialised OkopfRecordsRecord
     */
    public OkopfRecordsRecord(String okopfRecordsId, String name, Integer version) {
        super(OkopfRecords.OKOPF_RECORDS);

        setOkopfRecordsId(okopfRecordsId);
        setName(name);
        setVersion(version);
        resetChangedOnNotNull();
    }
}
