PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/sigmah/src/test/resources/dbunit/schema1.db.xml

http://sigma-h.googlecode.com/
XML | 116 lines | 80 code | 30 blank | 6 comment | 0 complexity | 8743d69f9955c77d4f5a9cd263469868 MD5 | raw file
  1<?xml version="1.0"?>
  2<!--
  3  ~ All Sigmah code is released under the GNU General Public License v3
  4  ~ See COPYRIGHT.txt and LICENSE.txt.
  5  -->
  6
  7<dataset>
  8
  9    <!--  This is test data used for the SchemaBuilderTest cases -->
 10
 11    <country countryId="1" name="Rdc" x1="0" y1="0" x2="0" y2="0"/>
 12
 13    <locationType locationTypeId="1" countryId="1" name="localite" reuse="1"/>
 14
 15    <!-- Indicators -->
 16
 17
 18    <attributeGroup attributeGroupId="1"
 19                    sortOrder="1"
 20                    multipleAllowed="1"
 21                    name="Cause"/>
 22
 23
 24    <attribute attributeId="1"
 25               attributeGroupId="1"
 26               name="Retour"
 27               sortOrder="2"/>
 28
 29
 30    <attribute attributeId="2"
 31               attributeGroupId="1"
 32               name="Deplacement"
 33               sortOrder="1"/>
 34
 35
 36    <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" />
 37
 38    <userDatabase databaseId="1" name="PEAR" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
 39
 40    <activity activityId="1"
 41              databaseId="1"
 42              name="NFI"
 43              reportingFrequency="0"
 44              allowEdit="1"
 45              isAssessment="0"
 46              sortOrder="1"
 47              locationTypeId="1"/>
 48
 49    <activity activityId="2"
 50              databaseId="1"
 51              name="empty activity"
 52              reportingFrequency="0"
 53              allowEdit="1"
 54              isAssessment="0"
 55              sortOrder="2"
 56              locationTypeId="1"/>
 57
 58    <indicator indicatorId="1"
 59               activityId="1"
 60               name="beneficiaries"
 61               units="menages^2"
 62               aggregation="0"
 63               category="inputs"
 64               description="falling in lve"
 65               listHeader="no header really"
 66               collectIntervention="1"
 67               collectMonitoring="1"
 68               sortOrder="2"/>
 69
 70    <indicator indicatorId="2"
 71               activityId="1"
 72               name="kits"
 73               units="menages"
 74               aggregation="0"
 75               collectIntervention="1"
 76               collectMonitoring="1"
 77               category="outputs"
 78               listHeader="header"
 79               description="desc"
 80               sourceOfVerification="Distribution records"
 81               sortOrder="1"/>
 82
 83    <attributeGroupInActivity attributeGroupId="1" activityId="1"/>
 84
 85
 86    <partner partnerId="1" name="NRC"/>
 87
 88    <partnerInDatabase databaseId="1" partnerId="1"/>
 89
 90    <userLogin userId="2" name="Bavon" email="bavon@nrcdrc.org" locale="fr" newUser="1" />
 91    <userPermission
 92            userPermissionId="1"
 93            databaseId="1"
 94            partnerId="1"
 95            userId="2"
 96            allowView="1" allowViewAll="0"
 97            allowEdit="1" allowEditAll="0"
 98            allowManageUsers="1" allowManageAllUsers="0"
 99            allowDesign="0"
100            lastSchemaUpdate="2009-01-02"/>
101
102
103    <userLogin userId="3" name="Stefan" email="stefan@irc.org" locale="fr" newUser="1" />
104
105    <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
106
107    <reportTemplate reportTemplateId="1" ownerUserId="1" visibility="1" title="Report 1" frequency="Monthly" day="28"
108                    XML="
109		&lt;report frequency=&quot;Monthly&quot; day=&quot;28&quot;&gt;
110			&lt;title&gt;Report 1&lt;/title&gt;
111		&lt;/report&gt;"/>
112
113    <reportSubscription userId="1" reportTemplateId="1" subscribed="1"/>
114
115
116</dataset>