001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.accounting; 005 006 007import com.echothree.model.data.accounting.common.pk.CurrencyPK; 008import com.echothree.model.data.accounting.common.pk.SymbolPositionPK; 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 Currencies extends UpdatableRecordImpl<Currencies> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for <code>currencies.cur_currencyid</code>. 024 */ 025 public void Currency(CurrencyPK value) { 026 set(0, value); 027 } 028 029 /** 030 * Getter for <code>currencies.cur_currencyid</code>. 031 */ 032 public CurrencyPK Currency() { 033 return (CurrencyPK) get(0); 034 } 035 036 /** 037 * Setter for <code>currencies.cur_currencyisoname</code>. 038 */ 039 public void CurrencyIsoName(String value) { 040 set(1, value); 041 } 042 043 /** 044 * Getter for <code>currencies.cur_currencyisoname</code>. 045 */ 046 public String CurrencyIsoName() { 047 return (String) get(1); 048 } 049 050 /** 051 * Setter for <code>currencies.cur_symbol</code>. 052 */ 053 public void Symbol(String value) { 054 set(2, value); 055 } 056 057 /** 058 * Getter for <code>currencies.cur_symbol</code>. 059 */ 060 public String Symbol() { 061 return (String) get(2); 062 } 063 064 /** 065 * Setter for <code>currencies.cur_sympos_symbolpositionid</code>. 066 */ 067 public void SymbolPosition(SymbolPositionPK value) { 068 set(3, value); 069 } 070 071 /** 072 * Getter for <code>currencies.cur_sympos_symbolpositionid</code>. 073 */ 074 public SymbolPositionPK SymbolPosition() { 075 return (SymbolPositionPK) get(3); 076 } 077 078 /** 079 * Setter for <code>currencies.cur_symbolonliststart</code>. 080 */ 081 public void SymbolOnListStart(Boolean value) { 082 set(4, value); 083 } 084 085 /** 086 * Getter for <code>currencies.cur_symbolonliststart</code>. 087 */ 088 public Boolean SymbolOnListStart() { 089 return (Boolean) get(4); 090 } 091 092 /** 093 * Setter for <code>currencies.cur_symbolonlistmember</code>. 094 */ 095 public void SymbolOnListMember(Boolean value) { 096 set(5, value); 097 } 098 099 /** 100 * Getter for <code>currencies.cur_symbolonlistmember</code>. 101 */ 102 public Boolean SymbolOnListMember() { 103 return (Boolean) get(5); 104 } 105 106 /** 107 * Setter for <code>currencies.cur_symbolonsubtotal</code>. 108 */ 109 public void SymbolOnSubtotal(Boolean value) { 110 set(6, value); 111 } 112 113 /** 114 * Getter for <code>currencies.cur_symbolonsubtotal</code>. 115 */ 116 public Boolean SymbolOnSubtotal() { 117 return (Boolean) get(6); 118 } 119 120 /** 121 * Setter for <code>currencies.cur_symbolontotal</code>. 122 */ 123 public void SymbolOnTotal(Boolean value) { 124 set(7, value); 125 } 126 127 /** 128 * Getter for <code>currencies.cur_symbolontotal</code>. 129 */ 130 public Boolean SymbolOnTotal() { 131 return (Boolean) get(7); 132 } 133 134 /** 135 * Setter for <code>currencies.cur_groupingseparator</code>. 136 */ 137 public void GroupingSeparator(String value) { 138 set(8, value); 139 } 140 141 /** 142 * Getter for <code>currencies.cur_groupingseparator</code>. 143 */ 144 public String GroupingSeparator() { 145 return (String) get(8); 146 } 147 148 /** 149 * Setter for <code>currencies.cur_groupingsize</code>. 150 */ 151 public void GroupingSize(Integer value) { 152 set(9, value); 153 } 154 155 /** 156 * Getter for <code>currencies.cur_groupingsize</code>. 157 */ 158 public Integer GroupingSize() { 159 return (Integer) get(9); 160 } 161 162 /** 163 * Setter for <code>currencies.cur_fractionseparator</code>. 164 */ 165 public void FractionSeparator(String value) { 166 set(10, value); 167 } 168 169 /** 170 * Getter for <code>currencies.cur_fractionseparator</code>. 171 */ 172 public String FractionSeparator() { 173 return (String) get(10); 174 } 175 176 /** 177 * Setter for <code>currencies.cur_defaultfractiondigits</code>. 178 */ 179 public void DefaultFractionDigits(Integer value) { 180 set(11, value); 181 } 182 183 /** 184 * Getter for <code>currencies.cur_defaultfractiondigits</code>. 185 */ 186 public Integer DefaultFractionDigits() { 187 return (Integer) get(11); 188 } 189 190 /** 191 * Setter for <code>currencies.cur_priceunitfractiondigits</code>. 192 */ 193 public void PriceUnitFractionDigits(Integer value) { 194 set(12, value); 195 } 196 197 /** 198 * Getter for <code>currencies.cur_priceunitfractiondigits</code>. 199 */ 200 public Integer PriceUnitFractionDigits() { 201 return (Integer) get(12); 202 } 203 204 /** 205 * Setter for <code>currencies.cur_pricelinefractiondigits</code>. 206 */ 207 public void PriceLineFractionDigits(Integer value) { 208 set(13, value); 209 } 210 211 /** 212 * Getter for <code>currencies.cur_pricelinefractiondigits</code>. 213 */ 214 public Integer PriceLineFractionDigits() { 215 return (Integer) get(13); 216 } 217 218 /** 219 * Setter for <code>currencies.cur_costunitfractiondigits</code>. 220 */ 221 public void CostUnitFractionDigits(Integer value) { 222 set(14, value); 223 } 224 225 /** 226 * Getter for <code>currencies.cur_costunitfractiondigits</code>. 227 */ 228 public Integer CostUnitFractionDigits() { 229 return (Integer) get(14); 230 } 231 232 /** 233 * Setter for <code>currencies.cur_costlinefractiondigits</code>. 234 */ 235 public void CostLineFractionDigits(Integer value) { 236 set(15, value); 237 } 238 239 /** 240 * Getter for <code>currencies.cur_costlinefractiondigits</code>. 241 */ 242 public Integer CostLineFractionDigits() { 243 return (Integer) get(15); 244 } 245 246 /** 247 * Setter for <code>currencies.cur_minussign</code>. 248 */ 249 public void MinusSign(String value) { 250 set(16, value); 251 } 252 253 /** 254 * Getter for <code>currencies.cur_minussign</code>. 255 */ 256 public String MinusSign() { 257 return (String) get(16); 258 } 259 260 /** 261 * Setter for <code>currencies.cur_isdefault</code>. 262 */ 263 public void IsDefault(Boolean value) { 264 set(17, value); 265 } 266 267 /** 268 * Getter for <code>currencies.cur_isdefault</code>. 269 */ 270 public Boolean IsDefault() { 271 return (Boolean) get(17); 272 } 273 274 /** 275 * Setter for <code>currencies.cur_sortorder</code>. 276 */ 277 public void SortOrder(Integer value) { 278 set(18, value); 279 } 280 281 /** 282 * Getter for <code>currencies.cur_sortorder</code>. 283 */ 284 public Integer SortOrder() { 285 return (Integer) get(18); 286 } 287 288 // ------------------------------------------------------------------------- 289 // Primary key information 290 // ------------------------------------------------------------------------- 291 292 @Override 293 public Record1<CurrencyPK> key() { 294 return (Record1) super.key(); 295 } 296 297 // ------------------------------------------------------------------------- 298 // Constructors 299 // ------------------------------------------------------------------------- 300 301 /** 302 * Create a detached Currencies 303 */ 304 public Currencies() { 305 super(com.echothree.model.jooq.server.tables.accounting.Currencies.Currencies); 306 } 307 308 /** 309 * Create a detached, initialised Currencies 310 */ 311 public Currencies(CurrencyPK Currency, String CurrencyIsoName, String Symbol, SymbolPositionPK SymbolPosition, Boolean SymbolOnListStart, Boolean SymbolOnListMember, Boolean SymbolOnSubtotal, Boolean SymbolOnTotal, String GroupingSeparator, Integer GroupingSize, String FractionSeparator, Integer DefaultFractionDigits, Integer PriceUnitFractionDigits, Integer PriceLineFractionDigits, Integer CostUnitFractionDigits, Integer CostLineFractionDigits, String MinusSign, Boolean IsDefault, Integer SortOrder) { 312 super(com.echothree.model.jooq.server.tables.accounting.Currencies.Currencies); 313 314 Currency(Currency); 315 CurrencyIsoName(CurrencyIsoName); 316 Symbol(Symbol); 317 SymbolPosition(SymbolPosition); 318 SymbolOnListStart(SymbolOnListStart); 319 SymbolOnListMember(SymbolOnListMember); 320 SymbolOnSubtotal(SymbolOnSubtotal); 321 SymbolOnTotal(SymbolOnTotal); 322 GroupingSeparator(GroupingSeparator); 323 GroupingSize(GroupingSize); 324 FractionSeparator(FractionSeparator); 325 DefaultFractionDigits(DefaultFractionDigits); 326 PriceUnitFractionDigits(PriceUnitFractionDigits); 327 PriceLineFractionDigits(PriceLineFractionDigits); 328 CostUnitFractionDigits(CostUnitFractionDigits); 329 CostLineFractionDigits(CostLineFractionDigits); 330 MinusSign(MinusSign); 331 IsDefault(IsDefault); 332 SortOrder(SortOrder); 333 resetTouchedOnNotNull(); 334 } 335}