001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.carrier; 005 006 007import com.echothree.model.data.carrier.common.pk.PartyCarrierAccountDetailPK; 008import com.echothree.model.data.carrier.common.pk.PartyCarrierAccountPK; 009 010import org.jooq.Record1; 011import org.jooq.impl.UpdatableRecordImpl; 012 013 014/** 015 * This class is generated by jOOQ. 016 */ 017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 018public class PartyCarrierAccounts extends UpdatableRecordImpl<PartyCarrierAccounts> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for 024 * <code>partycarrieraccounts.pcrract_partycarrieraccountid</code>. 025 */ 026 public void PartyCarrierAccount(PartyCarrierAccountPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for 032 * <code>partycarrieraccounts.pcrract_partycarrieraccountid</code>. 033 */ 034 public PartyCarrierAccountPK PartyCarrierAccount() { 035 return (PartyCarrierAccountPK) get(0); 036 } 037 038 /** 039 * Setter for <code>partycarrieraccounts.pcrract_activedetailid</code>. 040 */ 041 public void ActiveDetail(PartyCarrierAccountDetailPK value) { 042 set(1, value); 043 } 044 045 /** 046 * Getter for <code>partycarrieraccounts.pcrract_activedetailid</code>. 047 */ 048 public PartyCarrierAccountDetailPK ActiveDetail() { 049 return (PartyCarrierAccountDetailPK) get(1); 050 } 051 052 /** 053 * Setter for <code>partycarrieraccounts.pcrract_lastdetailid</code>. 054 */ 055 public void LastDetail(PartyCarrierAccountDetailPK value) { 056 set(2, value); 057 } 058 059 /** 060 * Getter for <code>partycarrieraccounts.pcrract_lastdetailid</code>. 061 */ 062 public PartyCarrierAccountDetailPK LastDetail() { 063 return (PartyCarrierAccountDetailPK) get(2); 064 } 065 066 // ------------------------------------------------------------------------- 067 // Primary key information 068 // ------------------------------------------------------------------------- 069 070 @Override 071 public Record1<PartyCarrierAccountPK> key() { 072 return (Record1) super.key(); 073 } 074 075 // ------------------------------------------------------------------------- 076 // Constructors 077 // ------------------------------------------------------------------------- 078 079 /** 080 * Create a detached PartyCarrierAccounts 081 */ 082 public PartyCarrierAccounts() { 083 super(com.echothree.model.jooq.server.tables.carrier.PartyCarrierAccounts.PartyCarrierAccounts); 084 } 085 086 /** 087 * Create a detached, initialised PartyCarrierAccounts 088 */ 089 public PartyCarrierAccounts(PartyCarrierAccountPK PartyCarrierAccount, PartyCarrierAccountDetailPK ActiveDetail, PartyCarrierAccountDetailPK LastDetail) { 090 super(com.echothree.model.jooq.server.tables.carrier.PartyCarrierAccounts.PartyCarrierAccounts); 091 092 PartyCarrierAccount(PartyCarrierAccount); 093 ActiveDetail(ActiveDetail); 094 LastDetail(LastDetail); 095 resetTouchedOnNotNull(); 096 } 097}