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


import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ChannelLog;

import java.sql.Date;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.channel_log.id_batch</code>.
     */
    public void setIdBatch(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.channel_log.id_batch</code>.
     */
    public Long getIdBatch() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>public.channel_log.channel_id</code>.
     */
    public void setChannelId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.channel_log.channel_id</code>.
     */
    public String getChannelId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>public.channel_log.log_date</code>.
     */
    public void setLogDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.channel_log.log_date</code>.
     */
    public Date getLogDate() {
        return (Date) get(2);
    }

    /**
     * Setter for <code>public.channel_log.logging_object_type</code>.
     */
    public void setLoggingObjectType(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>public.channel_log.logging_object_type</code>.
     */
    public String getLoggingObjectType() {
        return (String) get(3);
    }

    /**
     * Setter for <code>public.channel_log.object_name</code>.
     */
    public void setObjectName(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.channel_log.object_name</code>.
     */
    public String getObjectName() {
        return (String) get(4);
    }

    /**
     * Setter for <code>public.channel_log.object_copy</code>.
     */
    public void setObjectCopy(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.channel_log.object_copy</code>.
     */
    public String getObjectCopy() {
        return (String) get(5);
    }

    /**
     * Setter for <code>public.channel_log.repository_directory</code>.
     */
    public void setRepositoryDirectory(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>public.channel_log.repository_directory</code>.
     */
    public String getRepositoryDirectory() {
        return (String) get(6);
    }

    /**
     * Setter for <code>public.channel_log.filename</code>.
     */
    public void setFilename(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>public.channel_log.filename</code>.
     */
    public String getFilename() {
        return (String) get(7);
    }

    /**
     * Setter for <code>public.channel_log.object_id</code>.
     */
    public void setObjectId(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>public.channel_log.object_id</code>.
     */
    public String getObjectId() {
        return (String) get(8);
    }

    /**
     * Setter for <code>public.channel_log.object_version</code>.
     */
    public void setObjectVersion(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>public.channel_log.object_version</code>.
     */
    public String getObjectVersion() {
        return (String) get(9);
    }

    /**
     * Setter for <code>public.channel_log.object_revision</code>.
     */
    public void setObjectRevision(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>public.channel_log.object_revision</code>.
     */
    public String getObjectRevision() {
        return (String) get(10);
    }

    /**
     * Setter for <code>public.channel_log.parent_channel_id</code>.
     */
    public void setParentChannelId(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>public.channel_log.parent_channel_id</code>.
     */
    public String getParentChannelId() {
        return (String) get(11);
    }

    /**
     * Setter for <code>public.channel_log.root_channel_id</code>.
     */
    public void setRootChannelId(String value) {
        set(12, value);
    }

    /**
     * Getter for <code>public.channel_log.root_channel_id</code>.
     */
    public String getRootChannelId() {
        return (String) get(12);
    }

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

    /**
     * Create a detached ChannelLogRecord
     */
    public ChannelLogRecord() {
        super(ChannelLog.CHANNEL_LOG);
    }

    /**
     * Create a detached, initialised ChannelLogRecord
     */
    public ChannelLogRecord(Long idBatch, String channelId, Date logDate, String loggingObjectType, String objectName, String objectCopy, String repositoryDirectory, String filename, String objectId, String objectVersion, String objectRevision, String parentChannelId, String rootChannelId) {
        super(ChannelLog.CHANNEL_LOG);

        setIdBatch(idBatch);
        setChannelId(channelId);
        setLogDate(logDate);
        setLoggingObjectType(loggingObjectType);
        setObjectName(objectName);
        setObjectCopy(objectCopy);
        setRepositoryDirectory(repositoryDirectory);
        setFilename(filename);
        setObjectId(objectId);
        setObjectVersion(objectVersion);
        setObjectRevision(objectRevision);
        setParentChannelId(parentChannelId);
        setRootChannelId(rootChannelId);
        resetChangedOnNotNull();
    }
}
