Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/Range.java @ 168:86a1bd9cc50e
More Hibernate/JPA stuff
flys-backend/trunk@1458 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 11 Mar 2011 14:41:18 +0000 |
parents | 15d515fe15f5 |
children | 4a83e14f40f9 |
comparison
equal
deleted
inserted
replaced
167:15d515fe15f5 | 168:86a1bd9cc50e |
---|---|
5 import java.math.BigDecimal; | 5 import java.math.BigDecimal; |
6 | 6 |
7 public class Range | 7 public class Range |
8 implements Serializable | 8 implements Serializable |
9 { | 9 { |
10 private Long id; | 10 private Integer id; |
11 private BigDecimal a; | 11 private BigDecimal a; |
12 private BigDecimal b; | 12 private BigDecimal b; |
13 | 13 |
14 private River river; | 14 private River river; |
15 | 15 |
16 public Range() { | 16 public Range() { |
17 } | 17 } |
18 | 18 |
19 public void setId(Long id) { | 19 public void setId(Integer id) { |
20 this.id = id; | 20 this.id = id; |
21 } | 21 } |
22 | 22 |
23 public Long getId() { | 23 public Integer getId() { |
24 return id; | 24 return id; |
25 } | 25 } |
26 | 26 |
27 public void setA(BigDecimal a) { | 27 public void setA(BigDecimal a) { |
28 this.a = a; | 28 this.a = a; |