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.PrinterDetailPK;
008import com.echothree.model.data.printer.common.pk.PrinterGroupPK;
009import com.echothree.model.data.printer.common.pk.PrinterPK;
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 PrinterDetails extends UpdatableRecordImpl<PrinterDetails> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for <code>printerdetails.prndt_printerdetailid</code>.
025     */
026    public void PrinterDetail(PrinterDetailPK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for <code>printerdetails.prndt_printerdetailid</code>.
032     */
033    public PrinterDetailPK PrinterDetail() {
034        return (PrinterDetailPK) get(0);
035    }
036
037    /**
038     * Setter for <code>printerdetails.prndt_prn_printerid</code>.
039     */
040    public void Printer(PrinterPK value) {
041        set(1, value);
042    }
043
044    /**
045     * Getter for <code>printerdetails.prndt_prn_printerid</code>.
046     */
047    public PrinterPK Printer() {
048        return (PrinterPK) get(1);
049    }
050
051    /**
052     * Setter for <code>printerdetails.prndt_printername</code>.
053     */
054    public void PrinterName(String value) {
055        set(2, value);
056    }
057
058    /**
059     * Getter for <code>printerdetails.prndt_printername</code>.
060     */
061    public String PrinterName() {
062        return (String) get(2);
063    }
064
065    /**
066     * Setter for <code>printerdetails.prndt_prngrp_printergroupid</code>.
067     */
068    public void PrinterGroup(PrinterGroupPK value) {
069        set(3, value);
070    }
071
072    /**
073     * Getter for <code>printerdetails.prndt_prngrp_printergroupid</code>.
074     */
075    public PrinterGroupPK PrinterGroup() {
076        return (PrinterGroupPK) get(3);
077    }
078
079    /**
080     * Setter for <code>printerdetails.prndt_priority</code>.
081     */
082    public void Priority(Integer value) {
083        set(4, value);
084    }
085
086    /**
087     * Getter for <code>printerdetails.prndt_priority</code>.
088     */
089    public Integer Priority() {
090        return (Integer) get(4);
091    }
092
093    /**
094     * Setter for <code>printerdetails.prndt_fromtime</code>.
095     */
096    public void FromTime(Long value) {
097        set(5, value);
098    }
099
100    /**
101     * Getter for <code>printerdetails.prndt_fromtime</code>.
102     */
103    public Long FromTime() {
104        return (Long) get(5);
105    }
106
107    /**
108     * Setter for <code>printerdetails.prndt_thrutime</code>.
109     */
110    public void ThruTime(Long value) {
111        set(6, value);
112    }
113
114    /**
115     * Getter for <code>printerdetails.prndt_thrutime</code>.
116     */
117    public Long ThruTime() {
118        return (Long) get(6);
119    }
120
121    // -------------------------------------------------------------------------
122    // Primary key information
123    // -------------------------------------------------------------------------
124
125    @Override
126    public Record1<PrinterDetailPK> key() {
127        return (Record1) super.key();
128    }
129
130    // -------------------------------------------------------------------------
131    // Constructors
132    // -------------------------------------------------------------------------
133
134    /**
135     * Create a detached PrinterDetails
136     */
137    public PrinterDetails() {
138        super(com.echothree.model.jooq.server.tables.printer.PrinterDetails.PrinterDetails);
139    }
140
141    /**
142     * Create a detached, initialised PrinterDetails
143     */
144    public PrinterDetails(PrinterDetailPK PrinterDetail, PrinterPK Printer, String PrinterName, PrinterGroupPK PrinterGroup, Integer Priority, Long FromTime, Long ThruTime) {
145        super(com.echothree.model.jooq.server.tables.printer.PrinterDetails.PrinterDetails);
146
147        PrinterDetail(PrinterDetail);
148        Printer(Printer);
149        PrinterName(PrinterName);
150        PrinterGroup(PrinterGroup);
151        Priority(Priority);
152        FromTime(FromTime);
153        ThruTime(ThruTime);
154        resetTouchedOnNotNull();
155    }
156}