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