[Dive4elements-commits] [PATCH 1 of 3] MainValuesArtifact: Override getName to make FacetActivityRegistry working

Wald Commits scm-commit at wald.intevation.org
Mon Mar 25 15:34:45 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1364221682 -3600
# Node ID a916e1202f0f42cad1a923befc000b67c2db0d29
# Parent  7eb6e1f16e9df7b146d6a6ad67f625caa609037d
MainValuesArtifact: Override getName to make FacetActivityRegistry working.

diff -r 7eb6e1f16e9d -r a916e1202f0f flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
--- 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 :


More information about the Dive4elements-commits mailing list