annotate gnv-artifacts/src/main/java/de/intevation/gnv/profile/horizontalcrosssection/HorizontalCrossSectionMeshArtifact.java @ 216:9db263ee2678

Added Workflow for determining the Query-Parameters for Horizontal cross-sections. gnv-artifacts/trunk@274 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 28 Oct 2009 16:26:03 +0000
parents
children 3e82b4f1c455
rev   line source
216
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 *
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
4 package de.intevation.gnv.profile.horizontalcrosssection;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 import org.apache.log4j.Logger;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
7 import org.w3c.dom.Document;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9 import de.intevation.artifacts.ArtifactFactory;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10 import de.intevation.artifacts.CallContext;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
11 import de.intevation.gnv.artifacts.GNVArtifactBase;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
12
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
14 * @author Tim Englich <tim.englich@intevation.de>
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15 *
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 public class HorizontalCrossSectionMeshArtifact extends GNVArtifactBase {
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19 *
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21 private static final long serialVersionUID = -2687278172203755640L;
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
23 * the logger, used to log exceptions and additonaly information
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 private static Logger log = Logger
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 .getLogger(HorizontalCrossSectionMeshArtifact.class);
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
28
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
29 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
30 * Constructor
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 public HorizontalCrossSectionMeshArtifact() {
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
33 super();
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
34 log.debug("HorizontalCrossSectionMeshArtifact.Constructor");
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
35 this.name = "horizontalCrossSectionMesh";
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
36 }
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
37
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
38 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
39 * @see de.intevation.artifactdatabase.DefaultArtifact#describe(java.lang.Object)
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
40 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
41 @Override
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
42 public Document describe(CallContext context) {
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
43 log.debug("HorizontalCrossSectionMeshArtifact.describe");
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
44 return super.createDescibeOutput(context.getMeta(),super.identifier);
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
45 }
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
46
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
47 /**
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
48 * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String,
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
49 * de.intevation.artifacts.ArtifactFactory, java.lang.Object)
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
50 */
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
51 @Override
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
52 public void setup(String identifier, ArtifactFactory factory, Object context) {
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
53 log.debug("HorizontalCrossSectionMeshArtifact.setup");
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
54 super.setup(identifier, factory, context);
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
55 }
9db263ee2678 Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
56 }

http://dive4elements.wald.intevation.org