dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18926
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8050: Allow appending options to metadata importer
------------------------------------------------------------
revno: 8050
committer: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-09-12 11:21:27 +0100
message:
Allow appending options to metadata importer
modified:
dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Options.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Options.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Options.java 2012-07-06 08:37:24 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Options.java 2012-09-12 10:21:27 +0000
@@ -212,4 +212,19 @@
{
return getDate( "lastUpdated" );
}
+
+ //--------------------------------------------------------------------------
+ // Adding options
+ //--------------------------------------------------------------------------
+
+ public void addOption(String option, String value)
+ {
+ options.put( option, value);
+ }
+
+ public void addOptions(Map<String,String> newOptions)
+ {
+ options.putAll( options );
+ }
+
}