dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24119
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11775: renamed xml element reportTable to reportTableItem (only in reportTables list) in dashboardItem
------------------------------------------------------------
revno: 11775
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-08-23 15:06:53 +0200
message:
renamed xml element reportTable to reportTableItem (only in reportTables list) in dashboardItem
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dashboard/DashboardItem.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/dashboard/DashboardItem.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dashboard/DashboardItem.java 2013-08-20 07:25:50 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dashboard/DashboardItem.java 2013-08-23 13:06:53 +0000
@@ -222,18 +222,6 @@
this.map = map;
}
- @JsonProperty
- @JsonSerialize( as = BaseIdentifiableObject.class )
- public ReportTable getReportTable()
- {
- return reportTable;
- }
-
- public void setReportTable( ReportTable reportTable )
- {
- this.reportTable = reportTable;
- }
-
@JsonProperty( value = "users" )
@JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "users", namespace = DxfNamespaces.DXF_2_0)
@@ -248,10 +236,22 @@
this.users = users;
}
+ @JsonProperty
+ @JsonSerialize( as = BaseIdentifiableObject.class )
+ public ReportTable getReportTable()
+ {
+ return reportTable;
+ }
+
+ public void setReportTable( ReportTable reportTable )
+ {
+ this.reportTable = reportTable;
+ }
+
@JsonProperty( value = "reportTables" )
@JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "reportTables", namespace = DxfNamespaces.DXF_2_0)
- @JacksonXmlProperty( localName = "reportTable", namespace = DxfNamespaces.DXF_2_0)
+ @JacksonXmlProperty( localName = "reportTableItem", namespace = DxfNamespaces.DXF_2_0)
public List<ReportTable> getReportTables()
{
return reportTables;