Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java @ 660:627be3ca1ab6
code clean up in states
flys-artifacts/trunk@2068 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 07 Jun 2011 14:28:44 +0000 |
parents | 2dbbb5be30a1 |
children | dda282dcc44f |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java Tue Jun 07 13:15:02 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java Tue Jun 07 14:28:44 2011 +0000 @@ -55,6 +55,9 @@ public static final GaugeOrder GAUGE_UP = new GaugeOrder(true); public static final GaugeOrder GAUGE_DOWN = new GaugeOrder(false); + public WQAdapted() { + } + /** * This method creates one element for each gauge of the selected river that * is intersected by the given kilometer range. Each element is a tuple of @@ -70,6 +73,7 @@ * @return a list of elements that consist of tuples of the intersected * gauges of the selected river. */ + @Override protected Element[] createItems( XMLUtils.ElementCreator cr, Artifact artifact, @@ -191,6 +195,7 @@ } + @Override public boolean validate(Artifact artifact, CallContext context) throws IllegalArgumentException {