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.CommentDetailPK; 008import com.echothree.model.data.comment.common.pk.CommentPK; 009import com.echothree.model.data.comment.common.pk.CommentTypePK; 010import com.echothree.model.data.core.common.pk.EntityInstancePK; 011import com.echothree.model.data.core.common.pk.MimeTypePK; 012import com.echothree.model.data.party.common.pk.LanguagePK; 013 014import org.jooq.Record1; 015import org.jooq.impl.UpdatableRecordImpl; 016 017 018/** 019 * This class is generated by jOOQ. 020 */ 021@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 022public class CommentDetails extends UpdatableRecordImpl<CommentDetails> { 023 024 private static final long serialVersionUID = 1L; 025 026 /** 027 * Setter for <code>commentdetails.cmntdt_commentdetailid</code>. 028 */ 029 public void CommentDetail(CommentDetailPK value) { 030 set(0, value); 031 } 032 033 /** 034 * Getter for <code>commentdetails.cmntdt_commentdetailid</code>. 035 */ 036 public CommentDetailPK CommentDetail() { 037 return (CommentDetailPK) get(0); 038 } 039 040 /** 041 * Setter for <code>commentdetails.cmntdt_cmnt_commentid</code>. 042 */ 043 public void Comment(CommentPK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for <code>commentdetails.cmntdt_cmnt_commentid</code>. 049 */ 050 public CommentPK Comment() { 051 return (CommentPK) get(1); 052 } 053 054 /** 055 * Setter for <code>commentdetails.cmntdt_commentname</code>. 056 */ 057 public void CommentName(String value) { 058 set(2, value); 059 } 060 061 /** 062 * Getter for <code>commentdetails.cmntdt_commentname</code>. 063 */ 064 public String CommentName() { 065 return (String) get(2); 066 } 067 068 /** 069 * Setter for <code>commentdetails.cmntdt_cmnttyp_commenttypeid</code>. 070 */ 071 public void CommentType(CommentTypePK value) { 072 set(3, value); 073 } 074 075 /** 076 * Getter for <code>commentdetails.cmntdt_cmnttyp_commenttypeid</code>. 077 */ 078 public CommentTypePK CommentType() { 079 return (CommentTypePK) get(3); 080 } 081 082 /** 083 * Setter for <code>commentdetails.cmntdt_commentedentityinstanceid</code>. 084 */ 085 public void CommentedEntityInstance(EntityInstancePK value) { 086 set(4, value); 087 } 088 089 /** 090 * Getter for <code>commentdetails.cmntdt_commentedentityinstanceid</code>. 091 */ 092 public EntityInstancePK CommentedEntityInstance() { 093 return (EntityInstancePK) get(4); 094 } 095 096 /** 097 * Setter for 098 * <code>commentdetails.cmntdt_commentedbyentityinstanceid</code>. 099 */ 100 public void CommentedByEntityInstance(EntityInstancePK value) { 101 set(5, value); 102 } 103 104 /** 105 * Getter for 106 * <code>commentdetails.cmntdt_commentedbyentityinstanceid</code>. 107 */ 108 public EntityInstancePK CommentedByEntityInstance() { 109 return (EntityInstancePK) get(5); 110 } 111 112 /** 113 * Setter for <code>commentdetails.cmntdt_lang_languageid</code>. 114 */ 115 public void Language(LanguagePK value) { 116 set(6, value); 117 } 118 119 /** 120 * Getter for <code>commentdetails.cmntdt_lang_languageid</code>. 121 */ 122 public LanguagePK Language() { 123 return (LanguagePK) get(6); 124 } 125 126 /** 127 * Setter for <code>commentdetails.cmntdt_description</code>. 128 */ 129 public void Description(String value) { 130 set(7, value); 131 } 132 133 /** 134 * Getter for <code>commentdetails.cmntdt_description</code>. 135 */ 136 public String Description() { 137 return (String) get(7); 138 } 139 140 /** 141 * Setter for <code>commentdetails.cmntdt_mtyp_mimetypeid</code>. 142 */ 143 public void MimeType(MimeTypePK value) { 144 set(8, value); 145 } 146 147 /** 148 * Getter for <code>commentdetails.cmntdt_mtyp_mimetypeid</code>. 149 */ 150 public MimeTypePK MimeType() { 151 return (MimeTypePK) get(8); 152 } 153 154 /** 155 * Setter for <code>commentdetails.cmntdt_fromtime</code>. 156 */ 157 public void FromTime(Long value) { 158 set(9, value); 159 } 160 161 /** 162 * Getter for <code>commentdetails.cmntdt_fromtime</code>. 163 */ 164 public Long FromTime() { 165 return (Long) get(9); 166 } 167 168 /** 169 * Setter for <code>commentdetails.cmntdt_thrutime</code>. 170 */ 171 public void ThruTime(Long value) { 172 set(10, value); 173 } 174 175 /** 176 * Getter for <code>commentdetails.cmntdt_thrutime</code>. 177 */ 178 public Long ThruTime() { 179 return (Long) get(10); 180 } 181 182 // ------------------------------------------------------------------------- 183 // Primary key information 184 // ------------------------------------------------------------------------- 185 186 @Override 187 public Record1<CommentDetailPK> key() { 188 return (Record1) super.key(); 189 } 190 191 // ------------------------------------------------------------------------- 192 // Constructors 193 // ------------------------------------------------------------------------- 194 195 /** 196 * Create a detached CommentDetails 197 */ 198 public CommentDetails() { 199 super(com.echothree.model.jooq.server.tables.comment.CommentDetails.CommentDetails); 200 } 201 202 /** 203 * Create a detached, initialised CommentDetails 204 */ 205 public CommentDetails(CommentDetailPK CommentDetail, CommentPK Comment, String CommentName, CommentTypePK CommentType, EntityInstancePK CommentedEntityInstance, EntityInstancePK CommentedByEntityInstance, LanguagePK Language, String Description, MimeTypePK MimeType, Long FromTime, Long ThruTime) { 206 super(com.echothree.model.jooq.server.tables.comment.CommentDetails.CommentDetails); 207 208 CommentDetail(CommentDetail); 209 Comment(Comment); 210 CommentName(CommentName); 211 CommentType(CommentType); 212 CommentedEntityInstance(CommentedEntityInstance); 213 CommentedByEntityInstance(CommentedByEntityInstance); 214 Language(Language); 215 Description(Description); 216 MimeType(MimeType); 217 FromTime(FromTime); 218 ThruTime(ThruTime); 219 resetTouchedOnNotNull(); 220 } 221}