# HG changeset patch # User gernotbelger # Date 1539948851 -7200 # Node ID abf4d0b10270811e224b6f45145432f9a7540d9e # Parent f303d693a70f7e2071941e4a842edb4be241f756 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung" diff -r f303d693a70f -r abf4d0b10270 artifacts/doc/conf/meta-data.xml --- a/artifacts/doc/conf/meta-data.xml Thu Oct 18 14:10:20 2018 +0200 +++ b/artifacts/doc/conf/meta-data.xml Fri Oct 19 13:34:11 2018 +0200 @@ -676,7 +676,7 @@ - + @@ -700,16 +700,14 @@ - + - + @@ -723,7 +721,11 @@ + + @@ -938,7 +940,7 @@ - + @@ -956,6 +958,7 @@ + @@ -967,7 +970,7 @@ - diff -r f303d693a70f -r abf4d0b10270 artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FixAnalysisYearXPathFunction.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FixAnalysisYearXPathFunction.java Thu Oct 18 14:10:20 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FixAnalysisYearXPathFunction.java Fri Oct 19 13:34:11 2018 +0200 @@ -16,8 +16,8 @@ import javax.xml.xpath.XPathFunctionException; import org.dive4elements.artifacts.CallContext; +import org.dive4elements.river.artifacts.AbstractFixBunduArtifact; import org.dive4elements.river.artifacts.D4EArtifact; -import org.dive4elements.river.artifacts.FixationArtifact; import org.dive4elements.river.artifacts.access.FixRealizingAccess; import org.dive4elements.river.artifacts.model.fixings.FixRealizingCalculationExtended; import org.dive4elements.river.utils.RiverUtils; @@ -48,10 +48,10 @@ return null; final D4EArtifact artifact = RiverUtils.getArtifact(uuid.toString(), this.context); - if (!(artifact instanceof FixationArtifact)) + if (!(artifact instanceof AbstractFixBunduArtifact)) return null; - final FixationArtifact fixation = (FixationArtifact) artifact; + final AbstractFixBunduArtifact fixation = (AbstractFixBunduArtifact) artifact; // Get W/Q input per gauge for this case. final FixRealizingAccess fixAccess = new FixRealizingAccess(fixation);