comparison flys-backend/src/main/java/de/intevation/flys/model/Gauge.java @ 5374:0ff0ed6bd340

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 22 Mar 2013 09:13:41 +0100
parents eaf83d4ae6b1
children
comparison
equal deleted inserted replaced
5373:3f8e5dd2935c 5374:0ff0ed6bd340
20 import org.hibernate.Session; 20 import org.hibernate.Session;
21 import org.hibernate.Query; 21 import org.hibernate.Query;
22 22
23 import de.intevation.flys.backend.SessionHolder; 23 import de.intevation.flys.backend.SessionHolder;
24 24
25 /** Database-mapped Gauge with all info about it. */
25 @Entity 26 @Entity
26 @Table(name = "gauges") 27 @Table(name = "gauges")
27 public class Gauge 28 public class Gauge
28 implements Serializable, Comparable<Gauge> 29 implements Serializable, Comparable<Gauge>
29 { 30 {
30 public static final int DEFAULT_SCALE = 100; 31 public static final int DEFAULT_SCALE = 100;
31 32
32 public static final int MASTER_DISCHARGE_TABLE = 0; 33 public static final int MASTER_DISCHARGE_TABLE = 0;
33
34 34
35 private Integer id; 35 private Integer id;
36 private String name; 36 private String name;
37 private River river; 37 private River river;
38 private BigDecimal station; 38 private BigDecimal station;

http://dive4elements.wald.intevation.org