# HG changeset patch # User Raimund Renkert # Date 1485533263 -3600 # Node ID 6b3a551236baf47f415ed9f7de83471042310c76 # Parent 3cdf75a9bf9245ac30febce87f0b0cc5c031dd0c Updated stammdaten data types. diff -r 3cdf75a9bf92 -r 6b3a551236ba src/main/java/de/intevation/lada/model/stammdaten/OrtTyp.java --- 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; + } } diff -r 3cdf75a9bf92 -r 6b3a551236ba src/main/java/de/intevation/lada/model/stammdaten/OrtszuordnungTyp.java --- 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.*; /** diff -r 3cdf75a9bf92 -r 6b3a551236ba src/main/java/de/intevation/lada/model/stammdaten/Ortszusatz.java --- 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;