[PATCH 6 of 9] Configure sedimentload static facet
Wald Commits
scm-commit at wald.intevation.org
Fri Aug 15 18:27:29 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408119670 -7200
# Node ID 7b062d9b8e1b8e681a54b6fcf93fe8a8bc67ed80
# Parent bb0d35d32b016bd28401971540b0782c0be6a4eb
Configure sedimentload static facet
diff -r bb0d35d32b01 -r 7b062d9b8e1b artifacts/doc/conf/artifacts/sedimentload.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/artifacts/doc/conf/artifacts/sedimentload.xml Fri Aug 15 18:21:10 2014 +0200
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<artifact name="sedimentload">
+ <load-facets>
+ <facet name="sedimentload" class="org.dive4elements.river.artifacts.model.minfo.SedimentLoadFacet"/>
+ </load-facets>
+ <states>
+ <state id="state.sedimentload.datacage"
+ description="state.sedimentload.datacage"
+ state="org.dive4elements.river.artifacts.states.DefaultState">
+ </state>
+ </states>
+</artifact>
+
diff -r bb0d35d32b01 -r 7b062d9b8e1b artifacts/doc/conf/conf.xml
--- a/artifacts/doc/conf/conf.xml Fri Aug 15 18:10:16 2014 +0200
+++ b/artifacts/doc/conf/conf.xml Fri Aug 15 18:21:10 2014 +0200
@@ -13,6 +13,7 @@
<!ENTITY zoom-scales SYSTEM "zoom-scales.xml">
<!ENTITY modules SYSTEM "modules.xml">
<!ENTITY porosity-artifact SYSTEM "artifacts/porosity.xml">
+ <!ENTITY sedimentload-artifact SYSTEM "artifacts/sedimentload.xml">
]>
<artifact-database>
<export-secret>YOUR_SECRET</export-secret>
@@ -150,9 +151,9 @@
<artifact-factory name="sedimentdensity" description="Factory to create an artifact to show Sediment Density values."
ttl="3600000"
artifact="org.dive4elements.river.artifacts.SedimentDensityArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
- <artifact-factory name="sedimentyield" description="Factory to create an artifact to show Sediment Yield values."
+ <artifact-factory name="sedimentload" description="Factory to create an artifact to show Sedimentload values."
ttl="3600000"
- artifact="org.dive4elements.river.artifacts.SedimentYieldArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+ artifact="org.dive4elements.river.artifacts.D4EArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
<artifact-factory name="porosity" description="Factory to create an artifact to show porosity values."
ttl="3600000"
artifact="org.dive4elements.river.artifacts.D4EArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory</artifact-factory>
@@ -284,6 +285,7 @@
<artifact name="qsector" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/qsector.xml" />
<artifact name="staticsqrelation" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/sqrelation.xml" />
&porosity-artifact;
+ &sedimentload-artifact;
</artifacts>
&modules;
More information about the Dive4Elements-commits
mailing list