dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40514
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20557: minor rename in Program serialization, Program.instanceReminder is now exported as Program.tracke...
------------------------------------------------------------
revno: 20557
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-10-07 14:06:47 +0700
message:
minor rename in Program serialization, Program.instanceReminder is now exported as Program.trackedEntityInstanceReminders
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.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-api/src/main/java/org/hisp/dhis/program/Program.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-10-07 07:04:18 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-10-07 07:06:47 +0000
@@ -494,9 +494,10 @@
this.onlyEnrollOnce = onlyEnrollOnce;
}
- @JsonProperty
+ @JsonProperty( "trackedEntityInstanceReminders" )
@JsonView( { DetailedView.class, ExportView.class } )
- @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
+ @JacksonXmlElementWrapper( localName = "trackedEntityInstanceReminders", namespace = DxfNamespaces.DXF_2_0 )
+ @JacksonXmlProperty( localName = "trackedEntityInstanceReminder", namespace = DxfNamespaces.DXF_2_0 )
public Set<TrackedEntityInstanceReminder> getInstanceReminders()
{
return instanceReminders;