Mercurial > lada > lada-server
changeset 1270:6b3a551236ba
Updated stammdaten data types.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 27 Jan 2017 17:07:43 +0100 |
parents | 3cdf75a9bf92 |
children | ff12c3e3366a |
files | src/main/java/de/intevation/lada/model/stammdaten/OrtTyp.java src/main/java/de/intevation/lada/model/stammdaten/OrtszuordnungTyp.java src/main/java/de/intevation/lada/model/stammdaten/Ortszusatz.java |
diffstat | 3 files changed, 32 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/stammdaten/OrtTyp.java Fri Jan 27 16:12:52 2017 +0100 +++ b/src/main/java/de/intevation/lada/model/stammdaten/OrtTyp.java Fri Jan 27 17:07:43 2017 +0100 @@ -1,3 +1,10 @@ +/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU GPL (v>=3) + * and comes with ABSOLUTELY NO WARRANTY! Check out + * the documentation coming with IMIS-Labordaten-Application for details. + */ package de.intevation.lada.model.stammdaten; import java.io.Serializable; @@ -23,6 +30,9 @@ @Column(name="ort_typ") private String ortTyp; + @Column(name="code") + private String code; + public OrtTyp() { } @@ -42,4 +52,11 @@ this.ortTyp = ortTyp; } + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } }
--- a/src/main/java/de/intevation/lada/model/stammdaten/OrtszuordnungTyp.java Fri Jan 27 16:12:52 2017 +0100 +++ b/src/main/java/de/intevation/lada/model/stammdaten/OrtszuordnungTyp.java Fri Jan 27 17:07:43 2017 +0100 @@ -1,10 +1,14 @@ +/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU GPL (v>=3) + * and comes with ABSOLUTELY NO WARRANTY! Check out + * the documentation coming with IMIS-Labordaten-Application for details. + */ package de.intevation.lada.model.stammdaten; import java.io.Serializable; - -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.Table; +import javax.persistence.*; /**
--- a/src/main/java/de/intevation/lada/model/stammdaten/Ortszusatz.java Fri Jan 27 16:12:52 2017 +0100 +++ b/src/main/java/de/intevation/lada/model/stammdaten/Ortszusatz.java Fri Jan 27 17:07:43 2017 +0100 @@ -1,3 +1,10 @@ +/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU GPL (v>=3) + * and comes with ABSOLUTELY NO WARRANTY! Check out + * the documentation coming with IMIS-Labordaten-Application for details. + */ package de.intevation.lada.model.stammdaten; import java.io.Serializable; @@ -5,7 +12,6 @@ import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; -import javax.persistence.Table; /** @@ -13,7 +19,6 @@ * */ @Entity -@Table(name="ortszusatz") public class Ortszusatz implements Serializable { private static final long serialVersionUID = 1L;