dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32233
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16461: minor format change for enrollments, rename enrollmentList => enrollments, and disable wrapping f...
------------------------------------------------------------
revno: 16461
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-08-21 13:16:59 +0700
message:
minor format change for enrollments, rename enrollmentList => enrollments, and disable wrapping for XML
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/enrollment/Enrollments.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-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/enrollment/Enrollments.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/enrollment/Enrollments.java 2014-08-15 07:40:20 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/enrollment/Enrollments.java 2014-08-21 06:16:59 +0000
@@ -49,8 +49,8 @@
{
}
- @JsonProperty( "enrollmentList" )
- @JacksonXmlElementWrapper( localName = "enrollmentList", namespace = DxfNamespaces.DXF_2_0 )
+ @JsonProperty( "enrollments" )
+ @JacksonXmlElementWrapper( localName = "enrollments", useWrapping = false, namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "enrollment", namespace = DxfNamespaces.DXF_2_0 )
public List<Enrollment> getEnrollments()
{