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