001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.job; 005 006 007import com.echothree.model.data.job.common.pk.JobPK; 008import com.echothree.model.data.job.common.pk.JobStatusPK; 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 JobStatuses extends UpdatableRecordImpl<JobStatuses> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for <code>jobstatuses.jbst_jobstatusid</code>. 024 */ 025 public void JobStatus(JobStatusPK value) { 026 set(0, value); 027 } 028 029 /** 030 * Getter for <code>jobstatuses.jbst_jobstatusid</code>. 031 */ 032 public JobStatusPK JobStatus() { 033 return (JobStatusPK) get(0); 034 } 035 036 /** 037 * Setter for <code>jobstatuses.jbst_jb_jobid</code>. 038 */ 039 public void Job(JobPK value) { 040 set(1, value); 041 } 042 043 /** 044 * Getter for <code>jobstatuses.jbst_jb_jobid</code>. 045 */ 046 public JobPK Job() { 047 return (JobPK) get(1); 048 } 049 050 /** 051 * Setter for <code>jobstatuses.jbst_laststarttime</code>. 052 */ 053 public void LastStartTime(Long value) { 054 set(2, value); 055 } 056 057 /** 058 * Getter for <code>jobstatuses.jbst_laststarttime</code>. 059 */ 060 public Long LastStartTime() { 061 return (Long) get(2); 062 } 063 064 /** 065 * Setter for <code>jobstatuses.jbst_lastendtime</code>. 066 */ 067 public void LastEndTime(Long value) { 068 set(3, value); 069 } 070 071 /** 072 * Getter for <code>jobstatuses.jbst_lastendtime</code>. 073 */ 074 public Long LastEndTime() { 075 return (Long) get(3); 076 } 077 078 // ------------------------------------------------------------------------- 079 // Primary key information 080 // ------------------------------------------------------------------------- 081 082 @Override 083 public Record1<JobStatusPK> key() { 084 return (Record1) super.key(); 085 } 086 087 // ------------------------------------------------------------------------- 088 // Constructors 089 // ------------------------------------------------------------------------- 090 091 /** 092 * Create a detached JobStatuses 093 */ 094 public JobStatuses() { 095 super(com.echothree.model.jooq.server.tables.job.JobStatuses.JobStatuses); 096 } 097 098 /** 099 * Create a detached, initialised JobStatuses 100 */ 101 public JobStatuses(JobStatusPK JobStatus, JobPK Job, Long LastStartTime, Long LastEndTime) { 102 super(com.echothree.model.jooq.server.tables.job.JobStatuses.JobStatuses); 103 104 JobStatus(JobStatus); 105 Job(Job); 106 LastStartTime(LastStartTime); 107 LastEndTime(LastEndTime); 108 resetTouchedOnNotNull(); 109 } 110}