Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/Annotation.java @ 188:003ac16812dd
Store annotations in backend.
flys-backend/trunk@1518 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 18 Mar 2011 12:10:33 +0000 |
parents | 249390dd24e7 |
children | bf16268629d9 |
comparison
equal
deleted
inserted
replaced
187:ecf90018563b | 188:003ac16812dd |
---|---|
21 private Range range; | 21 private Range range; |
22 private Attribute attribute; | 22 private Attribute attribute; |
23 private Position position; | 23 private Position position; |
24 | 24 |
25 public Annotation() { | 25 public Annotation() { |
26 } | |
27 | |
28 public Annotation(Range range, Attribute attribute, Position position) { | |
29 this.range = range; | |
30 this.attribute = attribute; | |
31 this.position = position; | |
26 } | 32 } |
27 | 33 |
28 @Id | 34 @Id |
29 @SequenceGenerator( | 35 @SequenceGenerator( |
30 name = "SEQUENCE_ANNOTATIONS_ID_SEQ", | 36 name = "SEQUENCE_ANNOTATIONS_ID_SEQ", |