001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.comment;
005
006
007import com.echothree.model.data.comment.common.pk.CommentBlobPK;
008import com.echothree.model.data.comment.common.pk.CommentPK;
009
010import org.jooq.Record1;
011import org.jooq.impl.UpdatableRecordImpl;
012
013
014/**
015 * This class is generated by jOOQ.
016 */
017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
018public class CommentBlobs extends UpdatableRecordImpl<CommentBlobs> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>commentblobs.cmntb_commentblobid</code>.
024     */
025    public void CommentBlob(CommentBlobPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>commentblobs.cmntb_commentblobid</code>.
031     */
032    public CommentBlobPK CommentBlob() {
033        return (CommentBlobPK) get(0);
034    }
035
036    /**
037     * Setter for <code>commentblobs.cmntb_cmnt_commentid</code>.
038     */
039    public void Comment(CommentPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>commentblobs.cmntb_cmnt_commentid</code>.
045     */
046    public CommentPK Comment() {
047        return (CommentPK) get(1);
048    }
049
050    /**
051     * Setter for <code>commentblobs.cmntb_blob</code>.
052     */
053    public void Blob(byte[] value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>commentblobs.cmntb_blob</code>.
059     */
060    public byte[] Blob() {
061        return (byte[]) get(2);
062    }
063
064    /**
065     * Setter for <code>commentblobs.cmntb_fromtime</code>.
066     */
067    public void FromTime(Long value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>commentblobs.cmntb_fromtime</code>.
073     */
074    public Long FromTime() {
075        return (Long) get(3);
076    }
077
078    /**
079     * Setter for <code>commentblobs.cmntb_thrutime</code>.
080     */
081    public void ThruTime(Long value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>commentblobs.cmntb_thrutime</code>.
087     */
088    public Long ThruTime() {
089        return (Long) get(4);
090    }
091
092    // -------------------------------------------------------------------------
093    // Primary key information
094    // -------------------------------------------------------------------------
095
096    @Override
097    public Record1<CommentBlobPK> key() {
098        return (Record1) super.key();
099    }
100
101    // -------------------------------------------------------------------------
102    // Constructors
103    // -------------------------------------------------------------------------
104
105    /**
106     * Create a detached CommentBlobs
107     */
108    public CommentBlobs() {
109        super(com.echothree.model.jooq.server.tables.comment.CommentBlobs.CommentBlobs);
110    }
111
112    /**
113     * Create a detached, initialised CommentBlobs
114     */
115    public CommentBlobs(CommentBlobPK CommentBlob, CommentPK Comment, byte[] Blob, Long FromTime, Long ThruTime) {
116        super(com.echothree.model.jooq.server.tables.comment.CommentBlobs.CommentBlobs);
117
118        CommentBlob(CommentBlob);
119        Comment(Comment);
120        Blob(Blob);
121        FromTime(FromTime);
122        ThruTime(ThruTime);
123        resetTouchedOnNotNull();
124    }
125}