Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WQSelect.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 | 73da40528cf2 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
27 | 27 |
28 import org.dive4elements.river.model.Gauge; | 28 import org.dive4elements.river.model.Gauge; |
29 import org.dive4elements.river.model.River; | 29 import org.dive4elements.river.model.River; |
30 import org.dive4elements.river.model.Wst; | 30 import org.dive4elements.river.model.Wst; |
31 | 31 |
32 import org.dive4elements.river.artifacts.FLYSArtifact; | 32 import org.dive4elements.river.artifacts.D4EArtifact; |
33 import org.dive4elements.river.artifacts.WINFOArtifact; | 33 import org.dive4elements.river.artifacts.WINFOArtifact; |
34 | 34 |
35 import org.dive4elements.river.artifacts.model.WstFactory; | 35 import org.dive4elements.river.artifacts.model.WstFactory; |
36 import org.dive4elements.river.artifacts.model.WstValueTable; | 36 import org.dive4elements.river.artifacts.model.WstValueTable; |
37 import org.dive4elements.river.artifacts.resources.Resources; | 37 import org.dive4elements.river.artifacts.resources.Resources; |
85 } | 85 } |
86 | 86 |
87 | 87 |
88 @Override | 88 @Override |
89 protected Element createStaticData( | 89 protected Element createStaticData( |
90 FLYSArtifact flys, | 90 D4EArtifact flys, |
91 ElementCreator creator, | 91 ElementCreator creator, |
92 CallContext cc, | 92 CallContext cc, |
93 String name, | 93 String name, |
94 String value, | 94 String value, |
95 String type | 95 String type |
391 /** | 391 /** |
392 * Determines the min and max W value for the current gauge. If no min and | 392 * Determines the min and max W value for the current gauge. If no min and |
393 * max values could be determined, this method will return | 393 * max values could be determined, this method will return |
394 * [Double.MIN_VALUE, Double.MAX_VALUE]. | 394 * [Double.MIN_VALUE, Double.MAX_VALUE]. |
395 * | 395 * |
396 * @param artifact The FLYSArtifact. | 396 * @param artifact The D4EArtifact. |
397 * | 397 * |
398 * @return the min and max W values for the current gauge. | 398 * @return the min and max W values for the current gauge. |
399 */ | 399 */ |
400 protected double[] determineMinMaxW(Artifact artifact) { | 400 protected double[] determineMinMaxW(Artifact artifact) { |
401 logger.debug("WQSelect.determineCurrentGauge"); | 401 logger.debug("WQSelect.determineCurrentGauge"); |
413 /** | 413 /** |
414 * Determines the min and max W value. If no min and | 414 * Determines the min and max W value. If no min and |
415 * max values could be determined, this method will return | 415 * max values could be determined, this method will return |
416 * [Double.MIN_VALUE, Double.MAX_VALUE]. | 416 * [Double.MIN_VALUE, Double.MAX_VALUE]. |
417 * | 417 * |
418 * @param artifact The FLYSArtifact. | 418 * @param artifact The D4EArtifact. |
419 * | 419 * |
420 * @return the min and max W values. | 420 * @return the min and max W values. |
421 */ | 421 */ |
422 protected double[] determineMinMaxWFree(Artifact artifact) { | 422 protected double[] determineMinMaxWFree(Artifact artifact) { |
423 logger.debug("WQSelect.determineMinMaxWFree"); | 423 logger.debug("WQSelect.determineMinMaxWFree"); |
447 /** | 447 /** |
448 * Determines the min and max Q value for the current gauge. If no min and | 448 * Determines the min and max Q value for the current gauge. If no min and |
449 * max values could be determined, this method will return | 449 * max values could be determined, this method will return |
450 * [Double.MIN_VALUE, Double.MAX_VALUE]. | 450 * [Double.MIN_VALUE, Double.MAX_VALUE]. |
451 * | 451 * |
452 * @param artifact The FLYSArtifact. | 452 * @param artifact The D4EArtifact. |
453 * | 453 * |
454 * @return the min and max Q values for the current gauge. | 454 * @return the min and max Q values for the current gauge. |
455 */ | 455 */ |
456 protected double[] determineMinMaxQAtGauge(Artifact artifact) { | 456 protected double[] determineMinMaxQAtGauge(Artifact artifact) { |
457 logger.debug("WQSelect.determineMinMaxQAtGauge"); | 457 logger.debug("WQSelect.determineMinMaxQAtGauge"); |
475 | 475 |
476 /** | 476 /** |
477 * Determines the min and max Q value for the current kilometer range. If no | 477 * Determines the min and max Q value for the current kilometer range. If no |
478 * min and max values could be determined, this method will return | 478 * min and max values could be determined, this method will return |
479 * | 479 * |
480 * @param artifact The FLYSArtifact. | 480 * @param artifact The D4EArtifact. |
481 * | 481 * |
482 * @return the min and max Q values for the current kilometer range. | 482 * @return the min and max Q values for the current kilometer range. |
483 */ | 483 */ |
484 protected double[] determineMinMaxQ(Artifact artifact) { | 484 protected double[] determineMinMaxQ(Artifact artifact) { |
485 logger.debug("WQSelect.determineMinMaxQ"); | 485 logger.debug("WQSelect.determineMinMaxQ"); |