001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.shipment; 005 006 007import com.echothree.model.data.inventory.common.pk.InventoryConditionPK; 008import com.echothree.model.data.item.common.pk.ItemPK; 009import com.echothree.model.data.shipment.common.pk.ShipmentLinePK; 010import com.echothree.model.data.shipment.common.pk.ShipmentPackageLineDetailPK; 011import com.echothree.model.data.shipment.common.pk.ShipmentPackageLinePK; 012import com.echothree.model.data.shipment.common.pk.ShipmentPackagePK; 013import com.echothree.model.data.uom.common.pk.UnitOfMeasureTypePK; 014 015import org.jooq.Record1; 016import org.jooq.impl.UpdatableRecordImpl; 017 018 019/** 020 * This class is generated by jOOQ. 021 */ 022@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 023public class ShipmentPackageLineDetails extends UpdatableRecordImpl<ShipmentPackageLineDetails> { 024 025 private static final long serialVersionUID = 1L; 026 027 /** 028 * Setter for 029 * <code>shipmentpackagelinedetails.shppckgldt_shipmentpackagelinedetailid</code>. 030 */ 031 public void ShipmentPackageLineDetail(ShipmentPackageLineDetailPK value) { 032 set(0, value); 033 } 034 035 /** 036 * Getter for 037 * <code>shipmentpackagelinedetails.shppckgldt_shipmentpackagelinedetailid</code>. 038 */ 039 public ShipmentPackageLineDetailPK ShipmentPackageLineDetail() { 040 return (ShipmentPackageLineDetailPK) get(0); 041 } 042 043 /** 044 * Setter for 045 * <code>shipmentpackagelinedetails.shppckgldt_shppckgl_shipmentpackagelineid</code>. 046 */ 047 public void ShipmentPackageLine(ShipmentPackageLinePK value) { 048 set(1, value); 049 } 050 051 /** 052 * Getter for 053 * <code>shipmentpackagelinedetails.shppckgldt_shppckgl_shipmentpackagelineid</code>. 054 */ 055 public ShipmentPackageLinePK ShipmentPackageLine() { 056 return (ShipmentPackageLinePK) get(1); 057 } 058 059 /** 060 * Setter for 061 * <code>shipmentpackagelinedetails.shppckgldt_shppckg_shipmentpackageid</code>. 062 */ 063 public void ShipmentPackage(ShipmentPackagePK value) { 064 set(2, value); 065 } 066 067 /** 068 * Getter for 069 * <code>shipmentpackagelinedetails.shppckgldt_shppckg_shipmentpackageid</code>. 070 */ 071 public ShipmentPackagePK ShipmentPackage() { 072 return (ShipmentPackagePK) get(2); 073 } 074 075 /** 076 * Setter for 077 * <code>shipmentpackagelinedetails.shppckgldt_shipmentpackagelinesequence</code>. 078 */ 079 public void ShipmentPackageLineSequence(Integer value) { 080 set(3, value); 081 } 082 083 /** 084 * Getter for 085 * <code>shipmentpackagelinedetails.shppckgldt_shipmentpackagelinesequence</code>. 086 */ 087 public Integer ShipmentPackageLineSequence() { 088 return (Integer) get(3); 089 } 090 091 /** 092 * Setter for 093 * <code>shipmentpackagelinedetails.shppckgldt_shpl_shipmentlineid</code>. 094 */ 095 public void ShipmentLine(ShipmentLinePK value) { 096 set(4, value); 097 } 098 099 /** 100 * Getter for 101 * <code>shipmentpackagelinedetails.shppckgldt_shpl_shipmentlineid</code>. 102 */ 103 public ShipmentLinePK ShipmentLine() { 104 return (ShipmentLinePK) get(4); 105 } 106 107 /** 108 * Setter for <code>shipmentpackagelinedetails.shppckgldt_itm_itemid</code>. 109 */ 110 public void Item(ItemPK value) { 111 set(5, value); 112 } 113 114 /** 115 * Getter for <code>shipmentpackagelinedetails.shppckgldt_itm_itemid</code>. 116 */ 117 public ItemPK Item() { 118 return (ItemPK) get(5); 119 } 120 121 /** 122 * Setter for 123 * <code>shipmentpackagelinedetails.shppckgldt_invcon_inventoryconditionid</code>. 124 */ 125 public void InventoryCondition(InventoryConditionPK value) { 126 set(6, value); 127 } 128 129 /** 130 * Getter for 131 * <code>shipmentpackagelinedetails.shppckgldt_invcon_inventoryconditionid</code>. 132 */ 133 public InventoryConditionPK InventoryCondition() { 134 return (InventoryConditionPK) get(6); 135 } 136 137 /** 138 * Setter for 139 * <code>shipmentpackagelinedetails.shppckgldt_uomt_unitofmeasuretypeid</code>. 140 */ 141 public void UnitOfMeasureType(UnitOfMeasureTypePK value) { 142 set(7, value); 143 } 144 145 /** 146 * Getter for 147 * <code>shipmentpackagelinedetails.shppckgldt_uomt_unitofmeasuretypeid</code>. 148 */ 149 public UnitOfMeasureTypePK UnitOfMeasureType() { 150 return (UnitOfMeasureTypePK) get(7); 151 } 152 153 /** 154 * Setter for <code>shipmentpackagelinedetails.shppckgldt_quantity</code>. 155 */ 156 public void Quantity(Long value) { 157 set(8, value); 158 } 159 160 /** 161 * Getter for <code>shipmentpackagelinedetails.shppckgldt_quantity</code>. 162 */ 163 public Long Quantity() { 164 return (Long) get(8); 165 } 166 167 /** 168 * Setter for <code>shipmentpackagelinedetails.shppckgldt_fromtime</code>. 169 */ 170 public void FromTime(Long value) { 171 set(9, value); 172 } 173 174 /** 175 * Getter for <code>shipmentpackagelinedetails.shppckgldt_fromtime</code>. 176 */ 177 public Long FromTime() { 178 return (Long) get(9); 179 } 180 181 /** 182 * Setter for <code>shipmentpackagelinedetails.shppckgldt_thrutime</code>. 183 */ 184 public void ThruTime(Long value) { 185 set(10, value); 186 } 187 188 /** 189 * Getter for <code>shipmentpackagelinedetails.shppckgldt_thrutime</code>. 190 */ 191 public Long ThruTime() { 192 return (Long) get(10); 193 } 194 195 // ------------------------------------------------------------------------- 196 // Primary key information 197 // ------------------------------------------------------------------------- 198 199 @Override 200 public Record1<ShipmentPackageLineDetailPK> key() { 201 return (Record1) super.key(); 202 } 203 204 // ------------------------------------------------------------------------- 205 // Constructors 206 // ------------------------------------------------------------------------- 207 208 /** 209 * Create a detached ShipmentPackageLineDetails 210 */ 211 public ShipmentPackageLineDetails() { 212 super(com.echothree.model.jooq.server.tables.shipment.ShipmentPackageLineDetails.ShipmentPackageLineDetails); 213 } 214 215 /** 216 * Create a detached, initialised ShipmentPackageLineDetails 217 */ 218 public ShipmentPackageLineDetails(ShipmentPackageLineDetailPK ShipmentPackageLineDetail, ShipmentPackageLinePK ShipmentPackageLine, ShipmentPackagePK ShipmentPackage, Integer ShipmentPackageLineSequence, ShipmentLinePK ShipmentLine, ItemPK Item, InventoryConditionPK InventoryCondition, UnitOfMeasureTypePK UnitOfMeasureType, Long Quantity, Long FromTime, Long ThruTime) { 219 super(com.echothree.model.jooq.server.tables.shipment.ShipmentPackageLineDetails.ShipmentPackageLineDetails); 220 221 ShipmentPackageLineDetail(ShipmentPackageLineDetail); 222 ShipmentPackageLine(ShipmentPackageLine); 223 ShipmentPackage(ShipmentPackage); 224 ShipmentPackageLineSequence(ShipmentPackageLineSequence); 225 ShipmentLine(ShipmentLine); 226 Item(Item); 227 InventoryCondition(InventoryCondition); 228 UnitOfMeasureType(UnitOfMeasureType); 229 Quantity(Quantity); 230 FromTime(FromTime); 231 ThruTime(ThruTime); 232 resetTouchedOnNotNull(); 233 } 234}