← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3368: xml formatting cleanup in dhis-service-importexport

 

------------------------------------------------------------
revno: 3368
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 15:34:10 +0200
message:
  xml formatting cleanup in dhis-service-importexport
modified:
  dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportDataValue.hbm.xml
  dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportObject.hbm.xml


--
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/resources/org/hisp/dhis/importexport/hibernate/ImportDataValue.hbm.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportDataValue.hbm.xml	2010-12-19 00:24:59 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportDataValue.hbm.xml	2011-04-12 13:34:10 +0000
@@ -1,17 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
+
 <hibernate-mapping>
   <class name="org.hisp.dhis.importexport.ImportDataValue" table="importdatavalue">
+
     <composite-id>
-      <key-property column="dataelementid" name="dataElementId"/>
-      <key-property column="categoryoptioncomboid" name="categoryOptionComboId"/>
-      <key-property column="periodid" name="periodId"/>
-      <key-property column="sourceid" name="sourceId"/>
+      <key-property column="dataelementid" name="dataElementId" />
+      <key-property column="categoryoptioncomboid" name="categoryOptionComboId" />
+      <key-property column="periodid" name="periodId" />
+      <key-property column="sourceid" name="sourceId" />
     </composite-id>
-    <property column="value" name="value"/>
-    <property column="storedby" name="storedBy"/>
-    <property column="lastupdated" name="timestamp" type="date"/>
-    <property column="comment" name="comment" type="text"/>
-    <property column="status" name="status"/>
+
+    <property column="value" name="value" />
+
+    <property column="storedby" name="storedBy" />
+
+    <property column="lastupdated" name="timestamp" type="date" />
+
+    <property column="comment" name="comment" type="text" />
+
+    <property column="status" name="status" />
+
   </class>
 </hibernate-mapping>

=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportObject.hbm.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportObject.hbm.xml	2010-12-19 00:24:59 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/resources/org/hisp/dhis/importexport/hibernate/ImportObject.hbm.xml	2011-04-12 13:34:10 +0000
@@ -1,14 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
+
 <hibernate-mapping>
   <class name="org.hisp.dhis.importexport.ImportObject" table="importobject">
+
     <id column="importobjectid" name="id">
-      <generator class="native"/>
+      <generator class="native" />
     </id>
-    <property column="status" name="status"/>
-    <property column="classname" name="className"/>
-    <property column="groupmembertype" name="groupMemberType"/>
-    <property column="object" length="65535" name="object" type="serializable"/>
-    <property column="compareobject" length="65535" name="compareObject" type="serializable"/>
+
+    <property column="status" name="status" />
+
+    <property column="classname" name="className" />
+
+    <property column="groupmembertype" name="groupMemberType" />
+
+    <property column="object" length="65535" name="object" type="serializable" />
+
+    <property column="compareobject" length="65535" name="compareObject" type="serializable" />
+
   </class>
 </hibernate-mapping>