dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11627
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3367: xml formatting cleanup in dhis-service-datamart-default
------------------------------------------------------------
revno: 3367
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 15:32:28 +0200
message:
xml formatting cleanup in dhis-service-datamart-default
modified:
dhis-2/dhis-services/dhis-service-datamart-default/src/main/resources/org/hisp/dhis/datamart/hibernate/DataMartExport.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-datamart-default/src/main/resources/org/hisp/dhis/datamart/hibernate/DataMartExport.hbm.xml'
--- dhis-2/dhis-services/dhis-service-datamart-default/src/main/resources/org/hisp/dhis/datamart/hibernate/DataMartExport.hbm.xml 2011-01-06 09:03:29 +0000
+++ dhis-2/dhis-services/dhis-service-datamart-default/src/main/resources/org/hisp/dhis/datamart/hibernate/DataMartExport.hbm.xml 2011-04-12 13:32:28 +0000
@@ -5,41 +5,42 @@
<hibernate-mapping>
<class name="org.hisp.dhis.datamart.DataMartExport" table="datamartexport">
+
<id name="id" column="datamartexportid">
- <generator class="native"/>
+ <generator class="native" />
</id>
-
- <property name="name" column="name" unique="true" not-null="true"/>
-
+
+ <property name="name" column="name" unique="true" not-null="true" />
+
<set name="dataElements" table="datamartexportdataelements">
- <key column="datamartexportid"/>
- <many-to-many class="org.hisp.dhis.dataelement.DataElement" column="dataelementid"/>
+ <key column="datamartexportid" />
+ <many-to-many class="org.hisp.dhis.dataelement.DataElement" column="dataelementid" />
</set>
-
+
<set name="indicators" table="datamartexportindicators">
- <key column="datamartexportid"/>
- <many-to-many class="org.hisp.dhis.indicator.Indicator" column="indicatorid"/>
+ <key column="datamartexportid" />
+ <many-to-many class="org.hisp.dhis.indicator.Indicator" column="indicatorid" />
</set>
-
+
<set name="organisationUnits" table="datamartexportorgunits">
- <key column="datamartexportid"/>
- <many-to-many class="org.hisp.dhis.organisationunit.OrganisationUnit" column="orgunitid"/>
+ <key column="datamartexportid" />
+ <many-to-many class="org.hisp.dhis.organisationunit.OrganisationUnit" column="orgunitid" />
</set>
-
+
<set name="periods" table="datamartexportperiods">
- <key column="datamartexportid"/>
- <many-to-many class="org.hisp.dhis.period.Period" column="periodid"/>
+ <key column="datamartexportid" />
+ <many-to-many class="org.hisp.dhis.period.Period" column="periodid" />
</set>
-
+
<component name="relatives">
- <property name="reportingMonth"/>
- <property name="monthsThisYear"/>
- <property name="quartersThisYear"/>
- <property name="thisYear"/>
- <property name="monthsLastYear"/>
- <property name="quartersLastYear"/>
- <property name="lastYear"/>
+ <property name="reportingMonth" />
+ <property name="monthsThisYear" />
+ <property name="quartersThisYear" />
+ <property name="thisYear" />
+ <property name="monthsLastYear" />
+ <property name="quartersLastYear" />
+ <property name="lastYear" />
</component>
-
+
</class>
</hibernate-mapping>