comparison backend/src/main/java/org/dive4elements/river/seddb/model/Messunglotcount.java @ 5873:1e68eca26b8a

river backend: Moved SedDB hibernate model to org/dive4elements/river/seddb.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 29 Apr 2013 11:33:01 +0200
parents backend/src/main/java/de/intevation/seddb/model/Messunglotcount.java@4dd33b86dc61
children 7ba4815a52a4
comparison
equal deleted inserted replaced
5872:bc4e1bf26227 5873:1e68eca26b8a
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details.
7 */
8
9 package org.dive4elements.seddb.model;
10 // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
11
12
13 import javax.persistence.AttributeOverride;
14 import javax.persistence.AttributeOverrides;
15 import javax.persistence.Column;
16 import javax.persistence.EmbeddedId;
17 import javax.persistence.Entity;
18 import javax.persistence.Table;
19
20 /**
21 * Messunglotcount generated by hbm2java
22 */
23 @Entity
24 @Table(name="MESSUNGLOTCOUNT"
25 ,schema="SEDDB"
26 )
27 public class Messunglotcount implements java.io.Serializable {
28
29
30 private MessunglotcountId id;
31
32 public Messunglotcount() {
33 }
34
35 public Messunglotcount(MessunglotcountId id) {
36 this.id = id;
37 }
38
39 @EmbeddedId
40
41
42 @AttributeOverrides( {
43 @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID", nullable=false, precision=11, scale=0) ),
44 @AttributeOverride(name="glotcount", column=@Column(name="GLOTCOUNT", precision=22, scale=0) ),
45 @AttributeOverride(name="slotcount", column=@Column(name="SLOTCOUNT", precision=22, scale=0) ) } )
46 public MessunglotcountId getId() {
47 return this.id;
48 }
49
50 public void setId(MessunglotcountId id) {
51 this.id = id;
52 }
53 }

http://dive4elements.wald.intevation.org