001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.icon; 005 006 007import com.echothree.model.data.document.common.pk.DocumentPK; 008import com.echothree.model.data.icon.common.pk.IconDetailPK; 009import com.echothree.model.data.icon.common.pk.IconPK; 010 011import org.jooq.Record1; 012import org.jooq.impl.UpdatableRecordImpl; 013 014 015/** 016 * This class is generated by jOOQ. 017 */ 018@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 019public class IconDetails extends UpdatableRecordImpl<IconDetails> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>icondetails.icndt_icondetailid</code>. 025 */ 026 public void IconDetail(IconDetailPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>icondetails.icndt_icondetailid</code>. 032 */ 033 public IconDetailPK IconDetail() { 034 return (IconDetailPK) get(0); 035 } 036 037 /** 038 * Setter for <code>icondetails.icndt_icn_iconid</code>. 039 */ 040 public void Icon(IconPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>icondetails.icndt_icn_iconid</code>. 046 */ 047 public IconPK Icon() { 048 return (IconPK) get(1); 049 } 050 051 /** 052 * Setter for <code>icondetails.icndt_iconname</code>. 053 */ 054 public void IconName(String value) { 055 set(2, value); 056 } 057 058 /** 059 * Getter for <code>icondetails.icndt_iconname</code>. 060 */ 061 public String IconName() { 062 return (String) get(2); 063 } 064 065 /** 066 * Setter for <code>icondetails.icndt_dcmnt_documentid</code>. 067 */ 068 public void Document(DocumentPK value) { 069 set(3, value); 070 } 071 072 /** 073 * Getter for <code>icondetails.icndt_dcmnt_documentid</code>. 074 */ 075 public DocumentPK Document() { 076 return (DocumentPK) get(3); 077 } 078 079 /** 080 * Setter for <code>icondetails.icndt_isdefault</code>. 081 */ 082 public void IsDefault(Boolean value) { 083 set(4, value); 084 } 085 086 /** 087 * Getter for <code>icondetails.icndt_isdefault</code>. 088 */ 089 public Boolean IsDefault() { 090 return (Boolean) get(4); 091 } 092 093 /** 094 * Setter for <code>icondetails.icndt_sortorder</code>. 095 */ 096 public void SortOrder(Integer value) { 097 set(5, value); 098 } 099 100 /** 101 * Getter for <code>icondetails.icndt_sortorder</code>. 102 */ 103 public Integer SortOrder() { 104 return (Integer) get(5); 105 } 106 107 /** 108 * Setter for <code>icondetails.icndt_fromtime</code>. 109 */ 110 public void FromTime(Long value) { 111 set(6, value); 112 } 113 114 /** 115 * Getter for <code>icondetails.icndt_fromtime</code>. 116 */ 117 public Long FromTime() { 118 return (Long) get(6); 119 } 120 121 /** 122 * Setter for <code>icondetails.icndt_thrutime</code>. 123 */ 124 public void ThruTime(Long value) { 125 set(7, value); 126 } 127 128 /** 129 * Getter for <code>icondetails.icndt_thrutime</code>. 130 */ 131 public Long ThruTime() { 132 return (Long) get(7); 133 } 134 135 // ------------------------------------------------------------------------- 136 // Primary key information 137 // ------------------------------------------------------------------------- 138 139 @Override 140 public Record1<IconDetailPK> key() { 141 return (Record1) super.key(); 142 } 143 144 // ------------------------------------------------------------------------- 145 // Constructors 146 // ------------------------------------------------------------------------- 147 148 /** 149 * Create a detached IconDetails 150 */ 151 public IconDetails() { 152 super(com.echothree.model.jooq.server.tables.icon.IconDetails.IconDetails); 153 } 154 155 /** 156 * Create a detached, initialised IconDetails 157 */ 158 public IconDetails(IconDetailPK IconDetail, IconPK Icon, String IconName, DocumentPK Document, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) { 159 super(com.echothree.model.jooq.server.tables.icon.IconDetails.IconDetails); 160 161 IconDetail(IconDetail); 162 Icon(Icon); 163 IconName(IconName); 164 Document(Document); 165 IsDefault(IsDefault); 166 SortOrder(SortOrder); 167 FromTime(FromTime); 168 ThruTime(ThruTime); 169 resetTouchedOnNotNull(); 170 } 171}