Mercurial > dive4elements > river
changeset 8095:7b062d9b8e1b
Configure sedimentload static facet
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 15 Aug 2014 18:21:10 +0200 (2014-08-15) |
parents | bb0d35d32b01 |
children | 1d2a9c5ee97b |
files | artifacts/doc/conf/artifacts/sedimentload.xml artifacts/doc/conf/conf.xml |
diffstat | 2 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /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> +
--- 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;