Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java @ 322:448d0dc64357
The inserted ranges (distance and WQ ranges) are validated in the feed() operation.
flys-artifacts/trunk@1716 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 18 Apr 2011 12:36:08 +0000 |
parents | 89bd0417418f |
children | c21fb8de54f8 |
comparison
equal
deleted
inserted
replaced
321:9581b88f2920 | 322:448d0dc64357 |
---|---|
182 Artifact artifact, | 182 Artifact artifact, |
183 String name, | 183 String name, |
184 CallContext context); | 184 CallContext context); |
185 | 185 |
186 | 186 |
187 /** | |
188 * This method validates the inserted data and returns true, if everything | |
189 * was correct, otherwise an exception is thrown. | |
190 * | |
191 * @param artifact A reference to the owner artifact. | |
192 * @param context The CallContext object. | |
193 * | |
194 * @return true, if everything was fine. | |
195 */ | |
196 public boolean validate(Artifact artifact, CallContext context) | |
197 throws IllegalArgumentException | |
198 { | |
199 return true; | |
200 } | |
201 | |
202 | |
187 protected String getUIProvider() { | 203 protected String getUIProvider() { |
188 return null; | 204 return null; |
189 } | 205 } |
190 } | 206 } |
191 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 207 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |