annotate gnv-artifacts/src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshArtifact.java @ 309:333ea3d54423

Added new Timevalues because the Data in the DWH has changed. gnv-artifacts/trunk@367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 24 Nov 2009 15:59:51 +0000
parents 3e82b4f1c455
children 70df44021a9f
rev   line source
197
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 *
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
4 package de.intevation.gnv.profile.verticalcrosssection;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 import org.apache.log4j.Logger;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
7 import org.w3c.dom.Document;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9 import de.intevation.artifacts.ArtifactFactory;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10 import de.intevation.artifacts.CallContext;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
11 import de.intevation.gnv.artifacts.GNVArtifactBase;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
12
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
14 * @author Tim Englich <tim.englich@intevation.de>
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15 *
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 public class VerticalCrossSectionMeshArtifact extends GNVArtifactBase {
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19 *
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21 private static final long serialVersionUID = -2687278172203755640L;
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
23 * the logger, used to log exceptions and additonaly information
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 private static Logger log = Logger
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 .getLogger(VerticalCrossSectionMeshArtifact.class);
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
28
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
29 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
30 * Constructor
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 public VerticalCrossSectionMeshArtifact() {
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
33 super();
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
34 log.debug("VerticalCrossSectionMeshArtifact.Constructor");
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
35 this.name = "verticalCrossSectionMesh";
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
36 }
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
37
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
38 /**
222
3e82b4f1c455 Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Tim Englich <tim.englich@intevation.de>
parents: 208
diff changeset
39 * @see de.intevation.artifactdatabase.DefaultArtifact#describe(org.w3c.dom.Document, de.intevation.artifacts.CallContext)
197
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
40 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
41 @Override
222
3e82b4f1c455 Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Tim Englich <tim.englich@intevation.de>
parents: 208
diff changeset
42 public Document describe(Document data, CallContext context) {
197
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
43 log.debug("VerticalCrossSectionMeshArtifact.describe");
222
3e82b4f1c455 Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Tim Englich <tim.englich@intevation.de>
parents: 208
diff changeset
44 return super.createDescibeOutput(context.getMeta(),
3e82b4f1c455 Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Tim Englich <tim.englich@intevation.de>
parents: 208
diff changeset
45 super.identifier,
3e82b4f1c455 Removed some Compilation-Errors according to API-Changes in the ArtifactDatabase.
Tim Englich <tim.englich@intevation.de>
parents: 208
diff changeset
46 this.getIncludeUIFromDocument(data));
197
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
47 }
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
48
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
49 /**
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
50 * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String,
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
51 * de.intevation.artifacts.ArtifactFactory, java.lang.Object)
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
52 */
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
53 @Override
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
54 public void setup(String identifier, ArtifactFactory factory, Object context) {
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
55 log.debug("VerticalCrossSectionMeshArtifact.setup");
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
56 super.setup(identifier, factory, context);
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
57 }
bab92ad1165d Added the required Classes an Configuration for providing VerticalCrossSections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
58 }

http://dive4elements.wald.intevation.org