=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/MetaData.java' --- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/MetaData.java 2012-10-23 13:24:16 +0000 +++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/MetaData.java 2012-10-25 17:39:39 +0000 @@ -46,6 +46,7 @@ import org.hisp.dhis.indicator.IndicatorGroupSet; import org.hisp.dhis.indicator.IndicatorType; import org.hisp.dhis.interpretation.Interpretation; +import org.hisp.dhis.mapping.Map; import org.hisp.dhis.mapping.MapLayer; import org.hisp.dhis.mapping.MapLegend; import org.hisp.dhis.mapping.MapLegendSet; @@ -136,7 +137,9 @@ private List reportTables = new ArrayList(); - private List maps = new ArrayList(); + private List maps = new ArrayList(); + + private List mapViews = new ArrayList(); private List mapLegends = new ArrayList(); @@ -586,17 +589,30 @@ @JsonProperty @JacksonXmlElementWrapper( localName = "maps", namespace = Dxf2Namespace.NAMESPACE ) @JacksonXmlProperty( localName = "map", namespace = Dxf2Namespace.NAMESPACE ) - public List getMaps() + public List getMaps() { return maps; } - public void setMaps( List maps ) + public void setMaps( List maps ) { this.maps = maps; } @JsonProperty + @JacksonXmlElementWrapper( localName = "mapViews", namespace = Dxf2Namespace.NAMESPACE ) + @JacksonXmlProperty( localName = "mapView", namespace = Dxf2Namespace.NAMESPACE ) + public List getMapViews() + { + return mapViews; + } + + public void setMapViews( List mapViews ) + { + this.mapViews = mapViews; + } + + @JsonProperty @JacksonXmlElementWrapper( localName = "mapLegends", namespace = Dxf2Namespace.NAMESPACE ) @JacksonXmlProperty( localName = "mapLegend", namespace = Dxf2Namespace.NAMESPACE ) public List getMapLegends()