Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/seddb/model/Messungsta.java @ 4254:33b15ac17fd1
Only create and add GaugePanel when necessary
The GaugePanel isn't created always and only show if WINFO and a river is
selected now. It is only created on demand. Therefore all access to the
GaugePanel is abstraced via methods that check if the GaugePanel is null before
accessing it's methods.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 25 Oct 2012 13:58:53 +0200 |
parents | 2ae732e2c65c |
children | 18619c1e7c2a |
line wrap: on
line source
package de.intevation.seddb.model; // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1 import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Table; /** * Messungsta generated by hbm2java */ @Entity @Table(name="MESSUNGSTA" ,schema="SEDDB" ) public class Messungsta implements java.io.Serializable { private MessungstaId id; public Messungsta() { } public Messungsta(MessungstaId id) { this.id = id; } @EmbeddedId @AttributeOverrides( { @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID") ), @AttributeOverride(name="stationid", column=@Column(name="STATIONID") ), @AttributeOverride(name="datum", column=@Column(name="DATUM") ), @AttributeOverride(name="hpeilungid", column=@Column(name="HPEILUNGID") ), @AttributeOverride(name="mpeilungid", column=@Column(name="MPEILUNGID") ), @AttributeOverride(name="gfaengerid", column=@Column(name="GFAENGERID") ), @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID") ), @AttributeOverride(name="messnr", column=@Column(name="MESSNR") ), @AttributeOverride(name="fgue", column=@Column(name="FGUE") ), @AttributeOverride(name="uhrvon", column=@Column(name="UHRVON") ), @AttributeOverride(name="uhrbis", column=@Column(name="UHRBIS") ), @AttributeOverride(name="wspcm", column=@Column(name="WSPCM") ), @AttributeOverride(name="QBpegel", column=@Column(name="Q_BPEGEL") ), @AttributeOverride(name="wspnn", column=@Column(name="WSPNN") ), @AttributeOverride(name="ie", column=@Column(name="IE") ), @AttributeOverride(name="wtemp", column=@Column(name="WTEMP") ), @AttributeOverride(name="gbreite", column=@Column(name="GBREITE") ), @AttributeOverride(name="gbreitevon", column=@Column(name="GBREITEVON") ), @AttributeOverride(name="gbreitebis", column=@Column(name="GBREITEBIS") ), @AttributeOverride(name="tgeschiebe", column=@Column(name="TGESCHIEBE") ), @AttributeOverride(name="tsand", column=@Column(name="TSAND") ), @AttributeOverride(name="tschweb", column=@Column(name="TSCHWEB") ), @AttributeOverride(name="cschweb", column=@Column(name="CSCHWEB") ), @AttributeOverride(name="uferliabst", column=@Column(name="UFERLIABST") ), @AttributeOverride(name="uferreabst", column=@Column(name="UFERREABST") ), @AttributeOverride(name="q", column=@Column(name="Q") ), @AttributeOverride(name="AHpeil", column=@Column(name="A_HPEIL") ), @AttributeOverride(name="AMpeil", column=@Column(name="A_MPEIL") ), @AttributeOverride(name="b", column=@Column(name="B") ), @AttributeOverride(name="hm", column=@Column(name="HM") ), @AttributeOverride(name="vm", column=@Column(name="VM") ), @AttributeOverride(name="vsohle", column=@Column(name="VSOHLE") ), @AttributeOverride(name="tau", column=@Column(name="TAU") ), @AttributeOverride(name="tauv", column=@Column(name="TAUV") ), @AttributeOverride(name="teilQ", column=@Column(name="TEIL_Q") ), @AttributeOverride(name="teilAHpeil", column=@Column(name="TEIL_A_HPEIL") ), @AttributeOverride(name="teilAMpeil", column=@Column(name="TEIL_A_MPEIL") ), @AttributeOverride(name="teilB", column=@Column(name="TEIL_B") ), @AttributeOverride(name="teilHm", column=@Column(name="TEIL_HM") ), @AttributeOverride(name="teilVm", column=@Column(name="TEIL_VM") ), @AttributeOverride(name="teilVsohle", column=@Column(name="TEIL_VSOHLE") ), @AttributeOverride(name="teilTau", column=@Column(name="TEIL_TAU") ), @AttributeOverride(name="teilTauv", column=@Column(name="TEIL_TAUV") ), @AttributeOverride(name="mitteltyp", column=@Column(name="MITTELTYP") ), @AttributeOverride(name="dm", column=@Column(name="DM") ), @AttributeOverride(name="sk", column=@Column(name="SK") ), @AttributeOverride(name="so", column=@Column(name="SO") ), @AttributeOverride(name="u", column=@Column(name="U") ), @AttributeOverride(name="d90", column=@Column(name="D90") ), @AttributeOverride(name="d84", column=@Column(name="D84") ), @AttributeOverride(name="d80", column=@Column(name="D80") ), @AttributeOverride(name="d75", column=@Column(name="D75") ), @AttributeOverride(name="d70", column=@Column(name="D70") ), @AttributeOverride(name="d60", column=@Column(name="D60") ), @AttributeOverride(name="d50", column=@Column(name="D50") ), @AttributeOverride(name="d40", column=@Column(name="D40") ), @AttributeOverride(name="d30", column=@Column(name="D30") ), @AttributeOverride(name="d25", column=@Column(name="D25") ), @AttributeOverride(name="d20", column=@Column(name="D20") ), @AttributeOverride(name="d16", column=@Column(name="D16") ), @AttributeOverride(name="d10", column=@Column(name="D10") ), @AttributeOverride(name="dmin", column=@Column(name="DMIN") ), @AttributeOverride(name="durchdmin", column=@Column(name="DURCHDMIN") ), @AttributeOverride(name="dmax", column=@Column(name="DMAX") ), @AttributeOverride(name="durchdmax", column=@Column(name="DURCHDMAX") ), @AttributeOverride(name="NGeschieb", column=@Column(name="N_GESCHIEB") ), @AttributeOverride(name="NVielpkt", column=@Column(name="N_VIELPKT") ), @AttributeOverride(name="sysDate", column=@Column(name="SYS_DATE") ), @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG") ), @AttributeOverride(name="lastupdated", column=@Column(name="LASTUPDATED") ), @AttributeOverride(name="km", column=@Column(name="KM") ), @AttributeOverride(name="glotabstoffset", column=@Column(name="GLOTABSTOFFSET") ), @AttributeOverride(name="slotabstoffset", column=@Column(name="SLOTABSTOFFSET") ), @AttributeOverride(name="gbreitevonlinks", column=@Column(name="GBREITEVONLINKS") ), @AttributeOverride(name="gbreitebislinks", column=@Column(name="GBREITEBISLINKS") ), @AttributeOverride(name="staname", column=@Column(name="STANAME") ), @AttributeOverride(name="stakm", column=@Column(name="STAKM") ), @AttributeOverride(name="gewaesserid", column=@Column(name="GEWAESSERID") ), @AttributeOverride(name="gewname", column=@Column(name="GEWNAME") ), @AttributeOverride(name="bezugspegelid", column=@Column(name="BEZUGSPEGELID") ) } ) public MessungstaId getId() { return this.id; } public void setId(MessungstaId id) { this.id = id; } }