001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.offer; 005 006 007import com.echothree.model.data.accounting.common.pk.CurrencyPK; 008import com.echothree.model.data.inventory.common.pk.InventoryConditionPK; 009import com.echothree.model.data.offer.common.pk.OfferItemPK; 010import com.echothree.model.data.offer.common.pk.OfferItemPricePK; 011import com.echothree.model.data.uom.common.pk.UnitOfMeasureTypePK; 012 013import org.jooq.Record1; 014import org.jooq.impl.UpdatableRecordImpl; 015 016 017/** 018 * This class is generated by jOOQ. 019 */ 020@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 021public class OfferItemPrices extends UpdatableRecordImpl<OfferItemPrices> { 022 023 private static final long serialVersionUID = 1L; 024 025 /** 026 * Setter for <code>offeritemprices.ofritmp_offeritempriceid</code>. 027 */ 028 public void OfferItemPrice(OfferItemPricePK value) { 029 set(0, value); 030 } 031 032 /** 033 * Getter for <code>offeritemprices.ofritmp_offeritempriceid</code>. 034 */ 035 public OfferItemPricePK OfferItemPrice() { 036 return (OfferItemPricePK) get(0); 037 } 038 039 /** 040 * Setter for <code>offeritemprices.ofritmp_ofri_offeritemid</code>. 041 */ 042 public void OfferItem(OfferItemPK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for <code>offeritemprices.ofritmp_ofri_offeritemid</code>. 048 */ 049 public OfferItemPK OfferItem() { 050 return (OfferItemPK) get(1); 051 } 052 053 /** 054 * Setter for 055 * <code>offeritemprices.ofritmp_invcon_inventoryconditionid</code>. 056 */ 057 public void InventoryCondition(InventoryConditionPK value) { 058 set(2, value); 059 } 060 061 /** 062 * Getter for 063 * <code>offeritemprices.ofritmp_invcon_inventoryconditionid</code>. 064 */ 065 public InventoryConditionPK InventoryCondition() { 066 return (InventoryConditionPK) get(2); 067 } 068 069 /** 070 * Setter for <code>offeritemprices.ofritmp_uomt_unitofmeasuretypeid</code>. 071 */ 072 public void UnitOfMeasureType(UnitOfMeasureTypePK value) { 073 set(3, value); 074 } 075 076 /** 077 * Getter for <code>offeritemprices.ofritmp_uomt_unitofmeasuretypeid</code>. 078 */ 079 public UnitOfMeasureTypePK UnitOfMeasureType() { 080 return (UnitOfMeasureTypePK) get(3); 081 } 082 083 /** 084 * Setter for <code>offeritemprices.ofritmp_cur_currencyid</code>. 085 */ 086 public void Currency(CurrencyPK value) { 087 set(4, value); 088 } 089 090 /** 091 * Getter for <code>offeritemprices.ofritmp_cur_currencyid</code>. 092 */ 093 public CurrencyPK Currency() { 094 return (CurrencyPK) get(4); 095 } 096 097 /** 098 * Setter for <code>offeritemprices.ofritmp_fromtime</code>. 099 */ 100 public void FromTime(Long value) { 101 set(5, value); 102 } 103 104 /** 105 * Getter for <code>offeritemprices.ofritmp_fromtime</code>. 106 */ 107 public Long FromTime() { 108 return (Long) get(5); 109 } 110 111 /** 112 * Setter for <code>offeritemprices.ofritmp_thrutime</code>. 113 */ 114 public void ThruTime(Long value) { 115 set(6, value); 116 } 117 118 /** 119 * Getter for <code>offeritemprices.ofritmp_thrutime</code>. 120 */ 121 public Long ThruTime() { 122 return (Long) get(6); 123 } 124 125 // ------------------------------------------------------------------------- 126 // Primary key information 127 // ------------------------------------------------------------------------- 128 129 @Override 130 public Record1<OfferItemPricePK> key() { 131 return (Record1) super.key(); 132 } 133 134 // ------------------------------------------------------------------------- 135 // Constructors 136 // ------------------------------------------------------------------------- 137 138 /** 139 * Create a detached OfferItemPrices 140 */ 141 public OfferItemPrices() { 142 super(com.echothree.model.jooq.server.tables.offer.OfferItemPrices.OfferItemPrices); 143 } 144 145 /** 146 * Create a detached, initialised OfferItemPrices 147 */ 148 public OfferItemPrices(OfferItemPricePK OfferItemPrice, OfferItemPK OfferItem, InventoryConditionPK InventoryCondition, UnitOfMeasureTypePK UnitOfMeasureType, CurrencyPK Currency, Long FromTime, Long ThruTime) { 149 super(com.echothree.model.jooq.server.tables.offer.OfferItemPrices.OfferItemPrices); 150 151 OfferItemPrice(OfferItemPrice); 152 OfferItem(OfferItem); 153 InventoryCondition(InventoryCondition); 154 UnitOfMeasureType(UnitOfMeasureType); 155 Currency(Currency); 156 FromTime(FromTime); 157 ThruTime(ThruTime); 158 resetTouchedOnNotNull(); 159 } 160}