dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16000
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5941: Minor fix to xml attributes in dxf2 DataValue
------------------------------------------------------------
revno: 5941
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-02-13 16:21:51 +0100
message:
Minor fix to xml attributes in dxf2 DataValue
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/DataValue.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-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/DataValue.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/DataValue.java 2011-09-12 09:13:33 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/DataValue.java 2012-02-13 15:21:51 +0000
@@ -43,12 +43,9 @@
// ---------------------------------------------------------------------------
public static final String ATTR_DATAELEMENT = "dataElement";
-
public static final String ATTR_VALUE = "value";
-
public static final String ATTR_CATEGORY_OPTION_COMBO = "categoryOptionCombo";
-
- public static final String ATTR_ORGUNIT = "orgunit";
+ public static final String ATTR_ORGUNIT = "orgUnit";
@XmlAttribute( name = ATTR_DATAELEMENT, required = true )
private String dataElementIdentifier;
@@ -66,13 +63,13 @@
* optional - defaults to orgUnit id from datavalueset
*/
@XmlAttribute( name = ATTR_ORGUNIT )
- private String orgUnitIdentifier;
+ private String organisationUnitIdentifier;
/**
* Arbitrary attributes identifying dimensions by concept name
*/
@XmlAnyAttribute
- Map<QName,Object> dimensions;
+ private Map<QName,Object> dimensions;
public String getDataElementIdentifier()
{
@@ -94,6 +91,16 @@
this.categoryOptionComboIdentifier = categoryOptionComboId;
}
+ public String getOrganisationUnitIdentifier()
+ {
+ return organisationUnitIdentifier;
+ }
+
+ public void setOrganisationUnitIdentifier( String organisationUnitIdentifier )
+ {
+ this.organisationUnitIdentifier = organisationUnitIdentifier;
+ }
+
public Map<QName, Object> getDimensions()
{
if ( dimensions == null )