001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.printer; 005 006 007import com.echothree.model.data.printer.common.pk.PrinterGroupDetailPK; 008import com.echothree.model.data.printer.common.pk.PrinterGroupPK; 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 PrinterGroupDetails extends UpdatableRecordImpl<PrinterGroupDetails> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for 024 * <code>printergroupdetails.prngrpdt_printergroupdetailid</code>. 025 */ 026 public void PrinterGroupDetail(PrinterGroupDetailPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for 032 * <code>printergroupdetails.prngrpdt_printergroupdetailid</code>. 033 */ 034 public PrinterGroupDetailPK PrinterGroupDetail() { 035 return (PrinterGroupDetailPK) get(0); 036 } 037 038 /** 039 * Setter for 040 * <code>printergroupdetails.prngrpdt_prngrp_printergroupid</code>. 041 */ 042 public void PrinterGroup(PrinterGroupPK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for 048 * <code>printergroupdetails.prngrpdt_prngrp_printergroupid</code>. 049 */ 050 public PrinterGroupPK PrinterGroup() { 051 return (PrinterGroupPK) get(1); 052 } 053 054 /** 055 * Setter for <code>printergroupdetails.prngrpdt_printergroupname</code>. 056 */ 057 public void PrinterGroupName(String value) { 058 set(2, value); 059 } 060 061 /** 062 * Getter for <code>printergroupdetails.prngrpdt_printergroupname</code>. 063 */ 064 public String PrinterGroupName() { 065 return (String) get(2); 066 } 067 068 /** 069 * Setter for <code>printergroupdetails.prngrpdt_keepprintedjobstime</code>. 070 */ 071 public void KeepPrintedJobsTime(Long value) { 072 set(3, value); 073 } 074 075 /** 076 * Getter for <code>printergroupdetails.prngrpdt_keepprintedjobstime</code>. 077 */ 078 public Long KeepPrintedJobsTime() { 079 return (Long) get(3); 080 } 081 082 /** 083 * Setter for <code>printergroupdetails.prngrpdt_isdefault</code>. 084 */ 085 public void IsDefault(Boolean value) { 086 set(4, value); 087 } 088 089 /** 090 * Getter for <code>printergroupdetails.prngrpdt_isdefault</code>. 091 */ 092 public Boolean IsDefault() { 093 return (Boolean) get(4); 094 } 095 096 /** 097 * Setter for <code>printergroupdetails.prngrpdt_sortorder</code>. 098 */ 099 public void SortOrder(Integer value) { 100 set(5, value); 101 } 102 103 /** 104 * Getter for <code>printergroupdetails.prngrpdt_sortorder</code>. 105 */ 106 public Integer SortOrder() { 107 return (Integer) get(5); 108 } 109 110 /** 111 * Setter for <code>printergroupdetails.prngrpdt_fromtime</code>. 112 */ 113 public void FromTime(Long value) { 114 set(6, value); 115 } 116 117 /** 118 * Getter for <code>printergroupdetails.prngrpdt_fromtime</code>. 119 */ 120 public Long FromTime() { 121 return (Long) get(6); 122 } 123 124 /** 125 * Setter for <code>printergroupdetails.prngrpdt_thrutime</code>. 126 */ 127 public void ThruTime(Long value) { 128 set(7, value); 129 } 130 131 /** 132 * Getter for <code>printergroupdetails.prngrpdt_thrutime</code>. 133 */ 134 public Long ThruTime() { 135 return (Long) get(7); 136 } 137 138 // ------------------------------------------------------------------------- 139 // Primary key information 140 // ------------------------------------------------------------------------- 141 142 @Override 143 public Record1<PrinterGroupDetailPK> key() { 144 return (Record1) super.key(); 145 } 146 147 // ------------------------------------------------------------------------- 148 // Constructors 149 // ------------------------------------------------------------------------- 150 151 /** 152 * Create a detached PrinterGroupDetails 153 */ 154 public PrinterGroupDetails() { 155 super(com.echothree.model.jooq.server.tables.printer.PrinterGroupDetails.PrinterGroupDetails); 156 } 157 158 /** 159 * Create a detached, initialised PrinterGroupDetails 160 */ 161 public PrinterGroupDetails(PrinterGroupDetailPK PrinterGroupDetail, PrinterGroupPK PrinterGroup, String PrinterGroupName, Long KeepPrintedJobsTime, Boolean IsDefault, Integer SortOrder, Long FromTime, Long ThruTime) { 162 super(com.echothree.model.jooq.server.tables.printer.PrinterGroupDetails.PrinterGroupDetails); 163 164 PrinterGroupDetail(PrinterGroupDetail); 165 PrinterGroup(PrinterGroup); 166 PrinterGroupName(PrinterGroupName); 167 KeepPrintedJobsTime(KeepPrintedJobsTime); 168 IsDefault(IsDefault); 169 SortOrder(SortOrder); 170 FromTime(FromTime); 171 ThruTime(ThruTime); 172 resetTouchedOnNotNull(); 173 } 174}