001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.geo;
005
006
007import com.echothree.model.data.geo.common.pk.GeoCodePK;
008import com.echothree.model.data.geo.common.pk.GeoCodeRelationshipPK;
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 GeoCodeRelationships extends UpdatableRecordImpl<GeoCodeRelationships> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>geocoderelationships.geor_geocoderelationshipid</code>.
024     */
025    public void GeoCodeRelationship(GeoCodeRelationshipPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>geocoderelationships.geor_geocoderelationshipid</code>.
031     */
032    public GeoCodeRelationshipPK GeoCodeRelationship() {
033        return (GeoCodeRelationshipPK) get(0);
034    }
035
036    /**
037     * Setter for <code>geocoderelationships.geor_fromgeocodeid</code>.
038     */
039    public void FromGeoCode(GeoCodePK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>geocoderelationships.geor_fromgeocodeid</code>.
045     */
046    public GeoCodePK FromGeoCode() {
047        return (GeoCodePK) get(1);
048    }
049
050    /**
051     * Setter for <code>geocoderelationships.geor_togeocodeid</code>.
052     */
053    public void ToGeoCode(GeoCodePK value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>geocoderelationships.geor_togeocodeid</code>.
059     */
060    public GeoCodePK ToGeoCode() {
061        return (GeoCodePK) get(2);
062    }
063
064    /**
065     * Setter for <code>geocoderelationships.geor_fromtime</code>.
066     */
067    public void FromTime(Long value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>geocoderelationships.geor_fromtime</code>.
073     */
074    public Long FromTime() {
075        return (Long) get(3);
076    }
077
078    /**
079     * Setter for <code>geocoderelationships.geor_thrutime</code>.
080     */
081    public void ThruTime(Long value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>geocoderelationships.geor_thrutime</code>.
087     */
088    public Long ThruTime() {
089        return (Long) get(4);
090    }
091
092    // -------------------------------------------------------------------------
093    // Primary key information
094    // -------------------------------------------------------------------------
095
096    @Override
097    public Record1<GeoCodeRelationshipPK> key() {
098        return (Record1) super.key();
099    }
100
101    // -------------------------------------------------------------------------
102    // Constructors
103    // -------------------------------------------------------------------------
104
105    /**
106     * Create a detached GeoCodeRelationships
107     */
108    public GeoCodeRelationships() {
109        super(com.echothree.model.jooq.server.tables.geo.GeoCodeRelationships.GeoCodeRelationships);
110    }
111
112    /**
113     * Create a detached, initialised GeoCodeRelationships
114     */
115    public GeoCodeRelationships(GeoCodeRelationshipPK GeoCodeRelationship, GeoCodePK FromGeoCode, GeoCodePK ToGeoCode, Long FromTime, Long ThruTime) {
116        super(com.echothree.model.jooq.server.tables.geo.GeoCodeRelationships.GeoCodeRelationships);
117
118        GeoCodeRelationship(GeoCodeRelationship);
119        FromGeoCode(FromGeoCode);
120        ToGeoCode(ToGeoCode);
121        FromTime(FromTime);
122        ThruTime(ThruTime);
123        resetTouchedOnNotNull();
124    }
125}