teichmann@5844: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5844: * Software engineering by Intevation GmbH teichmann@5844: * teichmann@5844: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5844: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5844: * documentation coming with Dive4Elements River for details. teichmann@5844: */ teichmann@5844: teichmann@5829: package org.dive4elements.seddb.model; sascha@3332: // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1 sascha@3332: sascha@3332: sascha@3332: import javax.persistence.AttributeOverride; sascha@3332: import javax.persistence.AttributeOverrides; sascha@3332: import javax.persistence.Column; sascha@3332: import javax.persistence.EmbeddedId; sascha@3332: import javax.persistence.Entity; sascha@3332: import javax.persistence.Table; sascha@3332: sascha@3332: /** sascha@3332: * Bezugspegelgew generated by hbm2java sascha@3332: */ sascha@3332: @Entity sascha@3332: @Table(name="BEZUGSPEGELGEW" sascha@3332: ,schema="SEDDB" sascha@3332: ) sascha@3332: public class Bezugspegelgew implements java.io.Serializable { sascha@3332: sascha@3332: sascha@3332: private BezugspegelgewId id; sascha@3332: sascha@3332: public Bezugspegelgew() { sascha@3332: } sascha@3332: sascha@3332: public Bezugspegelgew(BezugspegelgewId id) { sascha@3332: this.id = id; sascha@3332: } sascha@3334: sascha@3332: @EmbeddedId sascha@3332: sascha@3332: @AttributeOverrides( { sascha@3334: @AttributeOverride(name="bezugspegelid", column=@Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0) ), sascha@3334: @AttributeOverride(name="gewaesserid", column=@Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) ), sascha@3334: @AttributeOverride(name="km", column=@Column(name="KM", nullable=false, precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="name", column=@Column(name="NAME", nullable=false, length=50) ), sascha@3334: @AttributeOverride(name="nullpunkt", column=@Column(name="NULLPUNKT", nullable=false, precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="kennung", column=@Column(name="KENNUNG", length=16) ), sascha@3334: @AttributeOverride(name="einzugsgebiet", column=@Column(name="EINZUGSGEBIET", precision=10) ), sascha@3334: @AttributeOverride(name="inbetrieb", column=@Column(name="INBETRIEB", length=7) ), sascha@3334: @AttributeOverride(name="fliesscharakter", column=@Column(name="FLIESSCHARAKTER", length=3) ), sascha@3334: @AttributeOverride(name="laufentwicklung", column=@Column(name="LAUFENTWICKLUNG", precision=7, scale=3) ), sascha@3334: @AttributeOverride(name="mnq", column=@Column(name="MNQ", precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="mq", column=@Column(name="MQ", precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="mhq", column=@Column(name="MHQ", precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="nnq", column=@Column(name="NNQ", precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="hhq", column=@Column(name="HHQ", precision=8, scale=3) ), sascha@3334: @AttributeOverride(name="nnqdatum", column=@Column(name="NNQDATUM", length=7) ), sascha@3334: @AttributeOverride(name="hhqdatum", column=@Column(name="HHQDATUM", length=7) ), sascha@3334: @AttributeOverride(name="jahresreihe", column=@Column(name="JAHRESREIHE", length=12) ), sascha@3334: @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG", length=240) ), sascha@3332: @AttributeOverride(name="gewname", column=@Column(name="GEWNAME", nullable=false, length=20) ) } ) sascha@3332: public BezugspegelgewId getId() { sascha@3332: return this.id; sascha@3332: } sascha@3334: sascha@3332: public void setId(BezugspegelgewId id) { sascha@3332: this.id = id; sascha@3332: } sascha@3332: }