001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.warehouse; 005 006 007import com.echothree.model.data.uom.common.pk.UnitOfMeasureTypePK; 008import com.echothree.model.data.warehouse.common.pk.LocationCapacityPK; 009import com.echothree.model.data.warehouse.common.pk.LocationPK; 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 LocationCapacities extends UpdatableRecordImpl<LocationCapacities> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>locationcapacities.loccap_locationcapacityid</code>. 025 */ 026 public void LocationCapacity(LocationCapacityPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>locationcapacities.loccap_locationcapacityid</code>. 032 */ 033 public LocationCapacityPK LocationCapacity() { 034 return (LocationCapacityPK) get(0); 035 } 036 037 /** 038 * Setter for <code>locationcapacities.loccap_loc_locationid</code>. 039 */ 040 public void Location(LocationPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>locationcapacities.loccap_loc_locationid</code>. 046 */ 047 public LocationPK Location() { 048 return (LocationPK) get(1); 049 } 050 051 /** 052 * Setter for 053 * <code>locationcapacities.loccap_uomt_unitofmeasuretypeid</code>. 054 */ 055 public void UnitOfMeasureType(UnitOfMeasureTypePK value) { 056 set(2, value); 057 } 058 059 /** 060 * Getter for 061 * <code>locationcapacities.loccap_uomt_unitofmeasuretypeid</code>. 062 */ 063 public UnitOfMeasureTypePK UnitOfMeasureType() { 064 return (UnitOfMeasureTypePK) get(2); 065 } 066 067 /** 068 * Setter for <code>locationcapacities.loccap_capacity</code>. 069 */ 070 public void Capacity(Long value) { 071 set(3, value); 072 } 073 074 /** 075 * Getter for <code>locationcapacities.loccap_capacity</code>. 076 */ 077 public Long Capacity() { 078 return (Long) get(3); 079 } 080 081 /** 082 * Setter for <code>locationcapacities.loccap_fromtime</code>. 083 */ 084 public void FromTime(Long value) { 085 set(4, value); 086 } 087 088 /** 089 * Getter for <code>locationcapacities.loccap_fromtime</code>. 090 */ 091 public Long FromTime() { 092 return (Long) get(4); 093 } 094 095 /** 096 * Setter for <code>locationcapacities.loccap_thrutime</code>. 097 */ 098 public void ThruTime(Long value) { 099 set(5, value); 100 } 101 102 /** 103 * Getter for <code>locationcapacities.loccap_thrutime</code>. 104 */ 105 public Long ThruTime() { 106 return (Long) get(5); 107 } 108 109 // ------------------------------------------------------------------------- 110 // Primary key information 111 // ------------------------------------------------------------------------- 112 113 @Override 114 public Record1<LocationCapacityPK> key() { 115 return (Record1) super.key(); 116 } 117 118 // ------------------------------------------------------------------------- 119 // Constructors 120 // ------------------------------------------------------------------------- 121 122 /** 123 * Create a detached LocationCapacities 124 */ 125 public LocationCapacities() { 126 super(com.echothree.model.jooq.server.tables.warehouse.LocationCapacities.LocationCapacities); 127 } 128 129 /** 130 * Create a detached, initialised LocationCapacities 131 */ 132 public LocationCapacities(LocationCapacityPK LocationCapacity, LocationPK Location, UnitOfMeasureTypePK UnitOfMeasureType, Long Capacity, Long FromTime, Long ThruTime) { 133 super(com.echothree.model.jooq.server.tables.warehouse.LocationCapacities.LocationCapacities); 134 135 LocationCapacity(LocationCapacity); 136 Location(Location); 137 UnitOfMeasureType(UnitOfMeasureType); 138 Capacity(Capacity); 139 FromTime(FromTime); 140 ThruTime(ThruTime); 141 resetTouchedOnNotNull(); 142 } 143}