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