001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.accounting;
005
006
007import com.echothree.model.data.accounting.common.pk.CurrencyDescriptionPK;
008import com.echothree.model.data.accounting.common.pk.CurrencyPK;
009import com.echothree.model.data.party.common.pk.LanguagePK;
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 CurrencyDescriptions extends UpdatableRecordImpl<CurrencyDescriptions> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for <code>currencydescriptions.curd_currencydescriptionid</code>.
025     */
026    public void CurrencyDescription(CurrencyDescriptionPK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for <code>currencydescriptions.curd_currencydescriptionid</code>.
032     */
033    public CurrencyDescriptionPK CurrencyDescription() {
034        return (CurrencyDescriptionPK) get(0);
035    }
036
037    /**
038     * Setter for <code>currencydescriptions.curd_cur_currencyid</code>.
039     */
040    public void Currency(CurrencyPK value) {
041        set(1, value);
042    }
043
044    /**
045     * Getter for <code>currencydescriptions.curd_cur_currencyid</code>.
046     */
047    public CurrencyPK Currency() {
048        return (CurrencyPK) get(1);
049    }
050
051    /**
052     * Setter for <code>currencydescriptions.curd_lang_languageid</code>.
053     */
054    public void Language(LanguagePK value) {
055        set(2, value);
056    }
057
058    /**
059     * Getter for <code>currencydescriptions.curd_lang_languageid</code>.
060     */
061    public LanguagePK Language() {
062        return (LanguagePK) get(2);
063    }
064
065    /**
066     * Setter for <code>currencydescriptions.curd_description</code>.
067     */
068    public void Description(String value) {
069        set(3, value);
070    }
071
072    /**
073     * Getter for <code>currencydescriptions.curd_description</code>.
074     */
075    public String Description() {
076        return (String) get(3);
077    }
078
079    // -------------------------------------------------------------------------
080    // Primary key information
081    // -------------------------------------------------------------------------
082
083    @Override
084    public Record1<CurrencyDescriptionPK> key() {
085        return (Record1) super.key();
086    }
087
088    // -------------------------------------------------------------------------
089    // Constructors
090    // -------------------------------------------------------------------------
091
092    /**
093     * Create a detached CurrencyDescriptions
094     */
095    public CurrencyDescriptions() {
096        super(com.echothree.model.jooq.server.tables.accounting.CurrencyDescriptions.CurrencyDescriptions);
097    }
098
099    /**
100     * Create a detached, initialised CurrencyDescriptions
101     */
102    public CurrencyDescriptions(CurrencyDescriptionPK CurrencyDescription, CurrencyPK Currency, LanguagePK Language, String Description) {
103        super(com.echothree.model.jooq.server.tables.accounting.CurrencyDescriptions.CurrencyDescriptions);
104
105        CurrencyDescription(CurrencyDescription);
106        Currency(Currency);
107        Language(Language);
108        Description(Description);
109        resetTouchedOnNotNull();
110    }
111}