[Lada-commits] [PATCH] Fixed typos in model

Wald Commits scm-commit at wald.intevation.org
Tue Dec 3 17:07:46 CET 2013


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1386086851 -3600
# Node ID 4f9cde6277b0a1954c112ce2e3b6cf8b31311436
# Parent  576ad6f7af61a9951457a3d456922e4852a9efdf
Fixed typos in model.

diff -r 576ad6f7af61 -r 4f9cde6277b0 src/main/java/de/intevation/lada/data/exporter/LAFCreator.java
--- 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 += " <";
diff -r 576ad6f7af61 -r 4f9cde6277b0 src/main/java/de/intevation/lada/data/importer/AttributeMapper.java
--- 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());
diff -r 576ad6f7af61 -r 4f9cde6277b0 src/main/java/de/intevation/lada/model/SMessMethode.java
--- 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;
     }
 }
diff -r 576ad6f7af61 -r 4f9cde6277b0 src/main/java/de/intevation/lada/model/SMessgroesse.java
--- 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)


More information about the Lada-commits mailing list