changeset 390:4f9cde6277b0

Fixed typos in model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 03 Dec 2013 17:07:31 +0100
parents 576ad6f7af61
children f0671f400c2d
files src/main/java/de/intevation/lada/data/exporter/LAFCreator.java src/main/java/de/intevation/lada/data/importer/AttributeMapper.java src/main/java/de/intevation/lada/model/SMessMethode.java src/main/java/de/intevation/lada/model/SMessgroesse.java
diffstat 4 files changed, 18 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/data/exporter/LAFCreator.java	Mon Nov 11 11:31:06 2013 +0100
+++ b/src/main/java/de/intevation/lada/data/exporter/LAFCreator.java	Tue Dec 03 17:07:31 2013 +0100
@@ -334,7 +334,7 @@
         einheitBuilder.and("mehId", mw.getMehId());
         Response re = readonlyRepo.filter(einheitBuilder.getQuery());
         List<SMessEinheit> me = (List<SMessEinheit>)re.getData();
-        String value = "\"" + sm.get(0).getMessgro0esse() + "\"";
+        String value = "\"" + sm.get(0).getMessgroesse() + "\"";
         if (mw.getGrenzwertueberschreitung() != null &&
             !mw.getGrenzwertueberschreitung()) {
             value += " <";
--- a/src/main/java/de/intevation/lada/data/importer/AttributeMapper.java	Mon Nov 11 11:31:06 2013 +0100
+++ b/src/main/java/de/intevation/lada/data/importer/AttributeMapper.java	Tue Dec 03 17:07:31 2013 +0100
@@ -386,7 +386,7 @@
                 (List<SMessgroesse>)responseGroesse.getData();
             boolean foundGroesse = false;
             for (SMessgroesse g: messgroessen) {
-                if(g.getMessgro0esse().equals(messgroesse)) {
+                if(g.getMessgroesse().equals(messgroesse)) {
                     foundGroesse = true;
                     messwert.setMessgroesseId(g.getMessgroesseId());
                     messwert.getId().setMessgroesseId(g.getMessgroesseId());
--- a/src/main/java/de/intevation/lada/model/SMessMethode.java	Mon Nov 11 11:31:06 2013 +0100
+++ b/src/main/java/de/intevation/lada/model/SMessMethode.java	Tue Dec 03 17:07:31 2013 +0100
@@ -20,7 +20,7 @@
 
     private String        mmtId;
     private String        beschreibung;
-    private String        messmethhode;
+    private String        messmethode;
 
     public SMessMethode() {
     }
@@ -32,10 +32,10 @@
     public SMessMethode(
         String mmtId,
         String beschreibung,
-        String messmethhode) {
+        String messmethode) {
         this.mmtId = mmtId;
         this.beschreibung = beschreibung;
-        this.messmethhode = messmethhode;
+        this.messmethode = messmethode;
     }
 
     @Id
@@ -57,12 +57,12 @@
         this.beschreibung = beschreibung;
     }
 
-    @Column(name = "messmethhode", length = 50)
-    public String getMessmethhode() {
-        return this.messmethhode;
+    @Column(name = "messmethode", length = 50)
+    public String getMessmethode() {
+        return this.messmethode;
     }
 
-    public void setMessmethhode(String messmethhode) {
-        this.messmethhode = messmethhode;
+    public void setMessmethode(String messmethode) {
+        this.messmethode = messmethode;
     }
 }
--- a/src/main/java/de/intevation/lada/model/SMessgroesse.java	Mon Nov 11 11:31:06 2013 +0100
+++ b/src/main/java/de/intevation/lada/model/SMessgroesse.java	Tue Dec 03 17:07:31 2013 +0100
@@ -16,7 +16,7 @@
 
 	private int messgroesseId;
 	private String beschreibung;
-	private String messgro0esse;
+	private String messgroesse;
 	private String defaultFarbe;
 	private String idfNuklidKey;
 	private Character istLeitnuklid;
@@ -28,7 +28,7 @@
 
 	public SMessgroesse(int messgroesseId, String messgro0esse) {
 		this.messgroesseId = messgroesseId;
-		this.messgro0esse = messgro0esse;
+		this.messgroesse = messgro0esse;
 	}
 
 	public SMessgroesse(int messgroesseId, String beschreibung,
@@ -36,7 +36,7 @@
 			Character istLeitnuklid, Long eudfNuklidId, String kennungBvl) {
 		this.messgroesseId = messgroesseId;
 		this.beschreibung = beschreibung;
-		this.messgro0esse = messgro0esse;
+		this.messgroesse = messgro0esse;
 		this.defaultFarbe = defaultFarbe;
 		this.idfNuklidKey = idfNuklidKey;
 		this.istLeitnuklid = istLeitnuklid;
@@ -63,13 +63,13 @@
 		this.beschreibung = beschreibung;
 	}
 
-	@Column(name = "messgro0esse", nullable = false, length = 50)
-	public String getMessgro0esse() {
-		return this.messgro0esse;
+	@Column(name = "messgroesse", nullable = false, length = 50)
+	public String getMessgroesse() {
+		return this.messgroesse;
 	}
 
-	public void setMessgro0esse(String messgro0esse) {
-		this.messgro0esse = messgro0esse;
+	public void setMessgroesse(String messgro0esse) {
+		this.messgroesse = messgro0esse;
 	}
 
 	@Column(name = "default_farbe", length = 9)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)