Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/Annotation.java @ 167:15d515fe15f5
Added POJOs to be mapped to schema.
flys-backend/trunk@1456 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 10 Mar 2011 13:44:51 +0000 |
parents | |
children | 86a1bd9cc50e |
comparison
equal
deleted
inserted
replaced
166:56eb8f1b42cf | 167:15d515fe15f5 |
---|---|
1 package de.intevation.flys.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 public class Annotation | |
6 implements Serializable | |
7 { | |
8 private Long id; | |
9 private Range range; | |
10 private Attribute attribute; | |
11 private Position position; | |
12 | |
13 public Annotation() { | |
14 } | |
15 | |
16 public void setId(Long id) { | |
17 this.id = id; | |
18 } | |
19 | |
20 public Long getId() { | |
21 return id; | |
22 } | |
23 | |
24 public void setRange(Range range) { | |
25 this.range = range; | |
26 } | |
27 | |
28 public Range getRange() { | |
29 return range; | |
30 } | |
31 | |
32 public void setAttribute(Attribute attribute) { | |
33 this.attribute = attribute; | |
34 } | |
35 | |
36 public Attribute getAttribute() { | |
37 return attribute; | |
38 } | |
39 | |
40 public void setPosition(Position position) { | |
41 this.position = position; | |
42 } | |
43 | |
44 public Position getPosition() { | |
45 return position; | |
46 } | |
47 } | |
48 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |