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