001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.shipment; 005 006 007import com.echothree.model.data.contact.common.pk.PartyContactMechanismPK; 008import com.echothree.model.data.party.common.pk.PartyPK; 009import com.echothree.model.data.shipment.common.pk.ShipmentDetailPK; 010import com.echothree.model.data.shipment.common.pk.ShipmentPK; 011import com.echothree.model.data.shipment.common.pk.ShipmentTypePK; 012import com.echothree.model.data.shipping.common.pk.ShippingMethodPK; 013 014import org.jooq.Record1; 015import org.jooq.impl.UpdatableRecordImpl; 016 017 018/** 019 * This class is generated by jOOQ. 020 */ 021@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 022public class ShipmentDetails extends UpdatableRecordImpl<ShipmentDetails> { 023 024 private static final long serialVersionUID = 1L; 025 026 /** 027 * Setter for <code>shipmentdetails.shpdt_shipmentdetailid</code>. 028 */ 029 public void ShipmentDetail(ShipmentDetailPK value) { 030 set(0, value); 031 } 032 033 /** 034 * Getter for <code>shipmentdetails.shpdt_shipmentdetailid</code>. 035 */ 036 public ShipmentDetailPK ShipmentDetail() { 037 return (ShipmentDetailPK) get(0); 038 } 039 040 /** 041 * Setter for <code>shipmentdetails.shpdt_shp_shipmentid</code>. 042 */ 043 public void Shipment(ShipmentPK value) { 044 set(1, value); 045 } 046 047 /** 048 * Getter for <code>shipmentdetails.shpdt_shp_shipmentid</code>. 049 */ 050 public ShipmentPK Shipment() { 051 return (ShipmentPK) get(1); 052 } 053 054 /** 055 * Setter for <code>shipmentdetails.shpdt_shptyp_shipmenttypeid</code>. 056 */ 057 public void ShipmentType(ShipmentTypePK value) { 058 set(2, value); 059 } 060 061 /** 062 * Getter for <code>shipmentdetails.shpdt_shptyp_shipmenttypeid</code>. 063 */ 064 public ShipmentTypePK ShipmentType() { 065 return (ShipmentTypePK) get(2); 066 } 067 068 /** 069 * Setter for <code>shipmentdetails.shpdt_shipmentname</code>. 070 */ 071 public void ShipmentName(String value) { 072 set(3, value); 073 } 074 075 /** 076 * Getter for <code>shipmentdetails.shpdt_shipmentname</code>. 077 */ 078 public String ShipmentName() { 079 return (String) get(3); 080 } 081 082 /** 083 * Setter for <code>shipmentdetails.shpdt_originpartyid</code>. 084 */ 085 public void OriginParty(PartyPK value) { 086 set(4, value); 087 } 088 089 /** 090 * Getter for <code>shipmentdetails.shpdt_originpartyid</code>. 091 */ 092 public PartyPK OriginParty() { 093 return (PartyPK) get(4); 094 } 095 096 /** 097 * Setter for <code>shipmentdetails.shpdt_originwarehousepartyid</code>. 098 */ 099 public void OriginWarehouseParty(PartyPK value) { 100 set(5, value); 101 } 102 103 /** 104 * Getter for <code>shipmentdetails.shpdt_originwarehousepartyid</code>. 105 */ 106 public PartyPK OriginWarehouseParty() { 107 return (PartyPK) get(5); 108 } 109 110 /** 111 * Setter for 112 * <code>shipmentdetails.shpdt_originpartycontactmechanismid</code>. 113 */ 114 public void OriginPartyContactMechanism(PartyContactMechanismPK value) { 115 set(6, value); 116 } 117 118 /** 119 * Getter for 120 * <code>shipmentdetails.shpdt_originpartycontactmechanismid</code>. 121 */ 122 public PartyContactMechanismPK OriginPartyContactMechanism() { 123 return (PartyContactMechanismPK) get(6); 124 } 125 126 /** 127 * Setter for <code>shipmentdetails.shpdt_destinationpartyid</code>. 128 */ 129 public void DestinationParty(PartyPK value) { 130 set(7, value); 131 } 132 133 /** 134 * Getter for <code>shipmentdetails.shpdt_destinationpartyid</code>. 135 */ 136 public PartyPK DestinationParty() { 137 return (PartyPK) get(7); 138 } 139 140 /** 141 * Setter for 142 * <code>shipmentdetails.shpdt_destinationwarehousepartyid</code>. 143 */ 144 public void DestinationWarehouseParty(PartyPK value) { 145 set(8, value); 146 } 147 148 /** 149 * Getter for 150 * <code>shipmentdetails.shpdt_destinationwarehousepartyid</code>. 151 */ 152 public PartyPK DestinationWarehouseParty() { 153 return (PartyPK) get(8); 154 } 155 156 /** 157 * Setter for 158 * <code>shipmentdetails.shpdt_destinationpartycontactmechanismid</code>. 159 */ 160 public void DestinationPartyContactMechanism(PartyContactMechanismPK value) { 161 set(9, value); 162 } 163 164 /** 165 * Getter for 166 * <code>shipmentdetails.shpdt_destinationpartycontactmechanismid</code>. 167 */ 168 public PartyContactMechanismPK DestinationPartyContactMechanism() { 169 return (PartyContactMechanismPK) get(9); 170 } 171 172 /** 173 * Setter for <code>shipmentdetails.shpdt_shm_shippingmethodid</code>. 174 */ 175 public void ShippingMethod(ShippingMethodPK value) { 176 set(10, value); 177 } 178 179 /** 180 * Getter for <code>shipmentdetails.shpdt_shm_shippingmethodid</code>. 181 */ 182 public ShippingMethodPK ShippingMethod() { 183 return (ShippingMethodPK) get(10); 184 } 185 186 /** 187 * Setter for <code>shipmentdetails.shpdt_fromtime</code>. 188 */ 189 public void FromTime(Long value) { 190 set(11, value); 191 } 192 193 /** 194 * Getter for <code>shipmentdetails.shpdt_fromtime</code>. 195 */ 196 public Long FromTime() { 197 return (Long) get(11); 198 } 199 200 /** 201 * Setter for <code>shipmentdetails.shpdt_thrutime</code>. 202 */ 203 public void ThruTime(Long value) { 204 set(12, value); 205 } 206 207 /** 208 * Getter for <code>shipmentdetails.shpdt_thrutime</code>. 209 */ 210 public Long ThruTime() { 211 return (Long) get(12); 212 } 213 214 // ------------------------------------------------------------------------- 215 // Primary key information 216 // ------------------------------------------------------------------------- 217 218 @Override 219 public Record1<ShipmentDetailPK> key() { 220 return (Record1) super.key(); 221 } 222 223 // ------------------------------------------------------------------------- 224 // Constructors 225 // ------------------------------------------------------------------------- 226 227 /** 228 * Create a detached ShipmentDetails 229 */ 230 public ShipmentDetails() { 231 super(com.echothree.model.jooq.server.tables.shipment.ShipmentDetails.ShipmentDetails); 232 } 233 234 /** 235 * Create a detached, initialised ShipmentDetails 236 */ 237 public ShipmentDetails(ShipmentDetailPK ShipmentDetail, ShipmentPK Shipment, ShipmentTypePK ShipmentType, String ShipmentName, PartyPK OriginParty, PartyPK OriginWarehouseParty, PartyContactMechanismPK OriginPartyContactMechanism, PartyPK DestinationParty, PartyPK DestinationWarehouseParty, PartyContactMechanismPK DestinationPartyContactMechanism, ShippingMethodPK ShippingMethod, Long FromTime, Long ThruTime) { 238 super(com.echothree.model.jooq.server.tables.shipment.ShipmentDetails.ShipmentDetails); 239 240 ShipmentDetail(ShipmentDetail); 241 Shipment(Shipment); 242 ShipmentType(ShipmentType); 243 ShipmentName(ShipmentName); 244 OriginParty(OriginParty); 245 OriginWarehouseParty(OriginWarehouseParty); 246 OriginPartyContactMechanism(OriginPartyContactMechanism); 247 DestinationParty(DestinationParty); 248 DestinationWarehouseParty(DestinationWarehouseParty); 249 DestinationPartyContactMechanism(DestinationPartyContactMechanism); 250 ShippingMethod(ShippingMethod); 251 FromTime(FromTime); 252 ThruTime(ThruTime); 253 resetTouchedOnNotNull(); 254 } 255}