Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/Annotation.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 |
---|---|
3 import java.io.Serializable; | 3 import java.io.Serializable; |
4 | 4 |
5 public class Annotation | 5 public class Annotation |
6 implements Serializable | 6 implements Serializable |
7 { | 7 { |
8 private Long id; | 8 private Integer id; |
9 private Range range; | 9 private Range range; |
10 private Attribute attribute; | 10 private Attribute attribute; |
11 private Position position; | 11 private Position position; |
12 | 12 |
13 public Annotation() { | 13 public Annotation() { |
14 } | 14 } |
15 | 15 |
16 public void setId(Long id) { | 16 public void setId(Integer id) { |
17 this.id = id; | 17 this.id = id; |
18 } | 18 } |
19 | 19 |
20 public Long getId() { | 20 public Integer getId() { |
21 return id; | 21 return id; |
22 } | 22 } |
23 | 23 |
24 public void setRange(Range range) { | 24 public void setRange(Range range) { |
25 this.range = range; | 25 this.range = range; |