001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.item; 005 006 007import com.echothree.model.data.geo.common.pk.GeoCodePK; 008import com.echothree.model.data.item.common.pk.ItemCountryOfOriginPK; 009import com.echothree.model.data.item.common.pk.ItemPK; 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 ItemCountryOfOrigins extends UpdatableRecordImpl<ItemCountryOfOrigins> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for 025 * <code>itemcountryoforigins.icoorgn_itemcountryoforiginid</code>. 026 */ 027 public void ItemCountryOfOrigin(ItemCountryOfOriginPK value) { 028 set(0, value); 029 } 030 031 /** 032 * Getter for 033 * <code>itemcountryoforigins.icoorgn_itemcountryoforiginid</code>. 034 */ 035 public ItemCountryOfOriginPK ItemCountryOfOrigin() { 036 return (ItemCountryOfOriginPK) get(0); 037 } 038 039 /** 040 * Setter for <code>itemcountryoforigins.icoorgn_itm_itemid</code>. 041 */ 042 public void Item(ItemPK value) { 043 set(1, value); 044 } 045 046 /** 047 * Getter for <code>itemcountryoforigins.icoorgn_itm_itemid</code>. 048 */ 049 public ItemPK Item() { 050 return (ItemPK) get(1); 051 } 052 053 /** 054 * Setter for <code>itemcountryoforigins.icoorgn_countrygeocodeid</code>. 055 */ 056 public void CountryGeoCode(GeoCodePK value) { 057 set(2, value); 058 } 059 060 /** 061 * Getter for <code>itemcountryoforigins.icoorgn_countrygeocodeid</code>. 062 */ 063 public GeoCodePK CountryGeoCode() { 064 return (GeoCodePK) get(2); 065 } 066 067 /** 068 * Setter for <code>itemcountryoforigins.icoorgn_percent</code>. 069 */ 070 public void Percent(Integer value) { 071 set(3, value); 072 } 073 074 /** 075 * Getter for <code>itemcountryoforigins.icoorgn_percent</code>. 076 */ 077 public Integer Percent() { 078 return (Integer) get(3); 079 } 080 081 /** 082 * Setter for <code>itemcountryoforigins.icoorgn_fromtime</code>. 083 */ 084 public void FromTime(Long value) { 085 set(4, value); 086 } 087 088 /** 089 * Getter for <code>itemcountryoforigins.icoorgn_fromtime</code>. 090 */ 091 public Long FromTime() { 092 return (Long) get(4); 093 } 094 095 /** 096 * Setter for <code>itemcountryoforigins.icoorgn_thrutime</code>. 097 */ 098 public void ThruTime(Long value) { 099 set(5, value); 100 } 101 102 /** 103 * Getter for <code>itemcountryoforigins.icoorgn_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<ItemCountryOfOriginPK> key() { 115 return (Record1) super.key(); 116 } 117 118 // ------------------------------------------------------------------------- 119 // Constructors 120 // ------------------------------------------------------------------------- 121 122 /** 123 * Create a detached ItemCountryOfOrigins 124 */ 125 public ItemCountryOfOrigins() { 126 super(com.echothree.model.jooq.server.tables.item.ItemCountryOfOrigins.ItemCountryOfOrigins); 127 } 128 129 /** 130 * Create a detached, initialised ItemCountryOfOrigins 131 */ 132 public ItemCountryOfOrigins(ItemCountryOfOriginPK ItemCountryOfOrigin, ItemPK Item, GeoCodePK CountryGeoCode, Integer Percent, Long FromTime, Long ThruTime) { 133 super(com.echothree.model.jooq.server.tables.item.ItemCountryOfOrigins.ItemCountryOfOrigins); 134 135 ItemCountryOfOrigin(ItemCountryOfOrigin); 136 Item(Item); 137 CountryGeoCode(CountryGeoCode); 138 Percent(Percent); 139 FromTime(FromTime); 140 ThruTime(ThruTime); 141 resetTouchedOnNotNull(); 142 } 143}