Mercurial > dive4elements > gnv-client
changeset 786:c907636c0288
Added a method to ExtendedInputData to retrieve the parameter ids as array (analog to splitValue() in DefaultInputData).
gnv-artifacts/trunk@868 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 30 Mar 2010 14:16:07 +0000 |
parents | e764cab8c885 |
children | 6cd8492019d8 |
files | gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/ExtendedInputData.java |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Tue Mar 30 14:05:22 2010 +0000 +++ b/gnv-artifacts/ChangeLog Tue Mar 30 14:16:07 2010 +0000 @@ -1,3 +1,9 @@ +2010-03-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + * src/main/java/de/intevation/gnv/state/ExtendedInputData.java: Added a + method splitParameter() to retrieve the parameter ids as array (analog to + splitValue() in DefaultInputData). + 2010-03-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue210 (First work for saving relation between selected measurement and
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/ExtendedInputData.java Tue Mar 30 14:05:22 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/ExtendedInputData.java Tue Mar 30 14:16:07 2010 +0000 @@ -26,5 +26,12 @@ public void setParameter(String parameterid) { this.parameterid = parameterid; } + + public String[] splitParameter() { + if (parameterid != null) + return parameterid.split(SEPARATOR); + + return null; + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :