Mercurial > dive4elements > river
changeset 5059:2d68969bd2dc dami
Add srid column to dem model
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 20 Feb 2013 15:48:52 +0100 |
parents | 91630b503ca8 |
children | c629719b87e7 |
files | flys-backend/src/main/java/de/intevation/flys/model/DGM.java |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/DGM.java Wed Feb 20 15:43:11 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/model/DGM.java Wed Feb 20 15:48:52 2013 +0100 @@ -22,6 +22,7 @@ public class DGM implements Serializable { private Integer id; + private Integer srid; private River river; @@ -82,6 +83,14 @@ return path; } + public void setSrid(int srid) { + this.srid = srid; + } + + @Column(name = "srid") + public int getSrid() { + return srid; + } public static DGM getDGM(int id) { Session session = SessionHolder.HOLDER.get();