diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1129:da3c3e286c88

Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem. flys-artifacts/trunk@2644 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 05 Sep 2011 14:04:03 +0000
parents
children bcf70a452646
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java	Mon Sep 05 14:04:03 2011 +0000
@@ -0,0 +1,42 @@
+package de.intevation.flys.artifacts.model;
+
+import java.io.File;
+
+
+public class LayerInfo {
+
+    protected String data;
+
+    protected String type;
+    protected String identifier;
+    protected String title;
+
+
+    public LayerInfo(File data, String type, String identifier, String title) {
+        this.data       = data.getName();
+        this.type       = type;
+        this.identifier = identifier;
+        this.title      = title;
+    }
+
+
+    public String getData() {
+        return data;
+    }
+
+
+    public String getType() {
+        return type;
+    }
+
+
+    public String getIdentifier() {
+        return identifier;
+    }
+
+
+    public String getTitle() {
+        return title;
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org