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