comparison 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
comparison
equal deleted inserted replaced
3421:c44ff50f4970 3422:118fe1cc8cc8
7 7
8 import de.intevation.artifactdatabase.state.ArtifactAndFacet; 8 import de.intevation.artifactdatabase.state.ArtifactAndFacet;
9 import de.intevation.artifactdatabase.state.Settings; 9 import de.intevation.artifactdatabase.state.Settings;
10 import de.intevation.artifacts.Artifact; 10 import de.intevation.artifacts.Artifact;
11 import de.intevation.artifacts.CallContext; 11 import de.intevation.artifacts.CallContext;
12 import de.intevation.flys.collections.FLYSArtifactCollection;
12 13
13 14
14 /** 15 /**
15 * An OutGenerator is used to create a collected outputs of a list of Artifacts. 16 * An OutGenerator is used to create a collected outputs of a list of Artifacts.
16 * 17 *
34 * artifact which is used for special operations. 35 * artifact which is used for special operations.
35 * 36 *
36 * @param master The master artifact. 37 * @param master The master artifact.
37 */ 38 */
38 void setMasterArtifact(Artifact master); 39 void setMasterArtifact(Artifact master);
40
41 /**
42 * This method is used to set the Collection of the OutGenerator.
43 *
44 * @param collection A reference to the collection.
45 */
46 void setCollection(FLYSArtifactCollection collection);
39 47
40 /** 48 /**
41 * Creates the output of an Artifact and appends that single output to the 49 * Creates the output of an Artifact and appends that single output to the
42 * total output. 50 * total output.
43 * 51 *

http://dive4elements.wald.intevation.org