001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.printer; 005 006 007import com.echothree.model.data.party.common.pk.LanguagePK; 008import com.echothree.model.data.printer.common.pk.PrinterGroupDescriptionPK; 009import com.echothree.model.data.printer.common.pk.PrinterGroupPK; 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 PrinterGroupDescriptions extends UpdatableRecordImpl<PrinterGroupDescriptions> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for 025 * <code>printergroupdescriptions.prngrpd_printergroupdescriptionid</code>. 026 */ 027 public void PrinterGroupDescription(PrinterGroupDescriptionPK value) { 028 set(0, value); 029 } 030 031 /** 032 * Getter for 033 * <code>printergroupdescriptions.prngrpd_printergroupdescriptionid</code>. 034 */ 035 public PrinterGroupDescriptionPK PrinterGroupDescription() { 036 return (PrinterGroupDescriptionPK) get(0); 037 } 038 039 /** 040 * Setter for 041 * <code>printergroupdescriptions.prngrpd_prngrp_printergroupid</code>. 042 */ 043 public void PrinterGroup(PrinterGroupPK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for 049 * <code>printergroupdescriptions.prngrpd_prngrp_printergroupid</code>. 050 */ 051 public PrinterGroupPK PrinterGroup() { 052 return (PrinterGroupPK) get(1); 053 } 054 055 /** 056 * Setter for <code>printergroupdescriptions.prngrpd_lang_languageid</code>. 057 */ 058 public void Language(LanguagePK value) { 059 set(2, value); 060 } 061 062 /** 063 * Getter for <code>printergroupdescriptions.prngrpd_lang_languageid</code>. 064 */ 065 public LanguagePK Language() { 066 return (LanguagePK) get(2); 067 } 068 069 /** 070 * Setter for <code>printergroupdescriptions.prngrpd_description</code>. 071 */ 072 public void Description(String value) { 073 set(3, value); 074 } 075 076 /** 077 * Getter for <code>printergroupdescriptions.prngrpd_description</code>. 078 */ 079 public String Description() { 080 return (String) get(3); 081 } 082 083 /** 084 * Setter for <code>printergroupdescriptions.prngrpd_fromtime</code>. 085 */ 086 public void FromTime(Long value) { 087 set(4, value); 088 } 089 090 /** 091 * Getter for <code>printergroupdescriptions.prngrpd_fromtime</code>. 092 */ 093 public Long FromTime() { 094 return (Long) get(4); 095 } 096 097 /** 098 * Setter for <code>printergroupdescriptions.prngrpd_thrutime</code>. 099 */ 100 public void ThruTime(Long value) { 101 set(5, value); 102 } 103 104 /** 105 * Getter for <code>printergroupdescriptions.prngrpd_thrutime</code>. 106 */ 107 public Long ThruTime() { 108 return (Long) get(5); 109 } 110 111 // ------------------------------------------------------------------------- 112 // Primary key information 113 // ------------------------------------------------------------------------- 114 115 @Override 116 public Record1<PrinterGroupDescriptionPK> key() { 117 return (Record1) super.key(); 118 } 119 120 // ------------------------------------------------------------------------- 121 // Constructors 122 // ------------------------------------------------------------------------- 123 124 /** 125 * Create a detached PrinterGroupDescriptions 126 */ 127 public PrinterGroupDescriptions() { 128 super(com.echothree.model.jooq.server.tables.printer.PrinterGroupDescriptions.PrinterGroupDescriptions); 129 } 130 131 /** 132 * Create a detached, initialised PrinterGroupDescriptions 133 */ 134 public PrinterGroupDescriptions(PrinterGroupDescriptionPK PrinterGroupDescription, PrinterGroupPK PrinterGroup, LanguagePK Language, String Description, Long FromTime, Long ThruTime) { 135 super(com.echothree.model.jooq.server.tables.printer.PrinterGroupDescriptions.PrinterGroupDescriptions); 136 137 PrinterGroupDescription(PrinterGroupDescription); 138 PrinterGroup(PrinterGroup); 139 Language(Language); 140 Description(Description); 141 FromTime(FromTime); 142 ThruTime(ThruTime); 143 resetTouchedOnNotNull(); 144 } 145}