changeset 5398:a916e1202f0f

MainValuesArtifact: Override getName to make FacetActivityRegistry working.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 25 Mar 2013 15:28:02 +0100
parents 7eb6e1f16e9d
children 0e6f39eccd61
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Mon Mar 25 12:41:00 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Mon Mar 25 15:28:02 2013 +0100
@@ -380,5 +380,15 @@
         }
         return filteredList;
     }
+
+
+    /**
+     * Returns the name of this artifact ('mainvalue').
+     *
+     * @return 'mainvalue'
+     */
+    public String getName() {
+        return ARTIFACT_NAME;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org