diff flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java @ 3422:118fe1cc8cc8

OutGenerators got a setCollection() method; analogous to setMasterArtifact(). Registered the SQOverviewGenerator as OutGenerator for 'sq_overview' Output. flys-artifacts/trunk@5076 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Jul 2012 06:50:25 +0000
parents 4ac581062c40
children
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java	Thu Jul 19 21:12:57 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java	Fri Jul 20 06:50:25 2012 +0000
@@ -9,6 +9,7 @@
 import de.intevation.artifactdatabase.state.Settings;
 import de.intevation.artifacts.Artifact;
 import de.intevation.artifacts.CallContext;
+import de.intevation.flys.collections.FLYSArtifactCollection;
 
 
 /**
@@ -38,6 +39,13 @@
     void setMasterArtifact(Artifact master);
 
     /**
+     * This method is used to set the Collection of the OutGenerator.
+     *
+     * @param collection A reference to the collection.
+     */
+    void setCollection(FLYSArtifactCollection collection);
+
+    /**
      * Creates the output of an Artifact and appends that single output to the
      * total output.
      *

http://dive4elements.wald.intevation.org