Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelGroundDifferences.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 4897a58c8746 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
10 | 10 |
11 import org.w3c.dom.Element; | 11 import org.w3c.dom.Element; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.log4j.Logger; |
14 | 14 |
15 import org.dive4elements.river.artifacts.FLYSArtifact; | 15 import org.dive4elements.river.artifacts.D4EArtifact; |
16 | 16 |
17 import org.dive4elements.artifacts.Artifact; | 17 import org.dive4elements.artifacts.Artifact; |
18 import org.dive4elements.artifacts.CallContext; | 18 import org.dive4elements.artifacts.CallContext; |
19 | 19 |
20 import org.dive4elements.artifacts.common.utils.XMLUtils; | 20 import org.dive4elements.artifacts.common.utils.XMLUtils; |
132 | 132 |
133 @Override | 133 @Override |
134 public boolean validate(Artifact artifact) | 134 public boolean validate(Artifact artifact) |
135 throws IllegalArgumentException | 135 throws IllegalArgumentException |
136 { | 136 { |
137 FLYSArtifact flys = (FLYSArtifact) artifact; | 137 D4EArtifact flys = (D4EArtifact) artifact; |
138 | 138 |
139 StateData dFrom = getData(flys, getLowerField()); | 139 StateData dFrom = getData(flys, getLowerField()); |
140 StateData dTo = getData(flys, getUpperField()); | 140 StateData dTo = getData(flys, getUpperField()); |
141 StateData dStep = getData(flys, getStepField()); | 141 StateData dStep = getData(flys, getStepField()); |
142 | 142 |