/sigmah/src/test/resources/dbunit/project-indicator.db.xml
http://sigma-h.googlecode.com/ · XML · 298 lines · 216 code · 70 blank · 12 comment · 0 complexity · e80e490ad3e064fa502f20def49864eb MD5 · raw file
- <?xml version="1.0"?>
- <!--
- ~ All Sigmah code is released under the GNU General Public License v3
- ~ See COPYRIGHT.txt and LICENSE.txt.
- -->
-
- <dataset>
-
- <!-- This is test data used for the SchemaBuilderTest cases -->
-
- <country countryId="1" name="Rdc" x1="0" y1="0" x2="0" y2="0"/>
- <country countryId="2" name="France" x1="0" y1="0" x2="0" y2="0"/>
-
-
- <organization id_organization="1" name="Ideia"/>
- <partner partnerId="1" name="Head Office" organization_id_organization="1" office_country_id="1" />
- <partner partnerId="2" name="Sub Office I" organization_id_organization="1" office_country_id="1" parent_partnerid="1" />
- <partner partnerId="3" name="Sub sub Office 1" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
- <partner partnerId="4" name="Sub sub Office 2" organization_id_organization="1" office_country_id="1" parent_partnerid="2" />
-
- <userLogin userId="1" name="Alex" email="user1@user.com" locale="fr" newUser="1" id_organization="1" />
- <userLogin userId="2" name="Raphael" email="user2@user.com" locale="fr" newUser="1" id_organization="1" />
- <userLogin userId="3" name="Tom" email="tom@user.com" locale="fr" newUser="1" id_organization="1" />
-
- <profile id_profile="1" name="prof1" />
-
- <user_unit id_user_unit="1" id_org_unit="1" id_user="1" />
- <user_unit id_user_unit="2" id_org_unit="1" id_user="2" />
- <user_unit id_user_unit="3" id_org_unit="2" id_user="3" />
-
- <user_unit_profiles id_user_unit="1" id_profile="1" />
- <user_unit_profiles id_user_unit="2" id_profile="1" />
- <user_unit_profiles id_user_unit="3" id_profile="1" />
-
- <orgUnitPermission id="1" unit_Id="4" user_UserId="3" viewAll="1" editAll="0"/>
-
- <project_model id_project_model="1" name="Mock model 1" status="READY" />
-
- <layout id_layout="1" rows_count="2" columns_count="1" />
- <layout_group id_layout_group="1" id_layout="1" row_index="0" column_index="0" title="Header" />
- <flexible_element id_flexible_element="1" label="Success" validates="false" amendable="false" />
- <message_element id_flexible_element="1" />
- <layout_constraint id_layout_constraint="1" id_layout_group="1" id_flexible_element="1" sort_order="1" />
- <flexible_element id_flexible_element="2" label="Check this" validates="true" amendable="false" />
- <checkbox_element id_flexible_element="2" />
- <layout_constraint id_layout_constraint="2" id_layout_group="1" id_flexible_element="2" sort_order="2" />
- <layout_group id_layout_group="2" id_layout="1" row_index="1" column_index="0" title="Questions" />
- <flexible_element id_flexible_element="3" label="Question 1" validates="false" amendable="false" />
- <question_element id_flexible_element="3" />
- <question_choice_element id_choice="1" id_question="3" label="Answer 1" sort_order="1" />
- <question_choice_element id_choice="2" id_question="3" label="Answer 2" sort_order="2" />
- <layout_constraint id_layout_constraint="3" id_layout_group="2" id_flexible_element="3" sort_order="1" />
- <flexible_element id_flexible_element="4" label="Comments" validates="false" amendable="false" />
- <textarea_element id_flexible_element="4" />
- <layout_constraint id_layout_constraint="4" id_layout_group="2" id_flexible_element="4" sort_order="3" />
- <flexible_element id_flexible_element="5" label="Question 2" validates="true" amendable="false" />
- <question_element id_flexible_element="5" />
- <question_choice_element id_choice="3" id_question="5" label="Answer 1" sort_order="1" />
- <question_choice_element id_choice="4" id_question="5" label="Answer 3" sort_order="3" />
- <question_choice_element id_choice="5" id_question="5" label="Answer 2" sort_order="2" />
- <layout_constraint id_layout_constraint="5" id_layout_group="2" id_flexible_element="5" sort_order="2" />
- <layout id_layout="2" rows_count="0" columns_count="0" />
- <layout id_layout="3" rows_count="0" columns_count="0" />
- <layout id_layout="4" rows_count="0" columns_count="0" />
- <layout id_layout="5" rows_count="0" columns_count="0" />
-
- <phase_model_definition id_phase_model_definition="1" />
- <phase_model_definition id_phase_model_definition="2" />
- <phase_model_definition id_phase_model_definition="3" />
- <phase_model_definition id_phase_model_definition="4" />
-
- <phase_model id_phase_model="1" name="Step 1" id_project_model="1" id_layout="1" display_order="1" definition_id="1" />
- <phase_model id_phase_model="2" name="Step 2 bis" id_project_model="1" id_layout="2" display_order="3" definition_id="2" />
- <phase_model id_phase_model="3" name="Step 2" id_project_model="1" id_layout="3" display_order="2" definition_id="3" />
- <phase_model id_phase_model="4" name="Step 3" id_project_model="1" id_layout="4" display_order="4" definition_id="4" />
- <phase_model_sucessors id_phase_model="1" id_phase_model_successor="2" />
- <phase_model_sucessors id_phase_model="1" id_phase_model_successor="3" />
- <phase_model_sucessors id_phase_model="2" id_phase_model_successor="4" />
-
- <userDatabase databaseId="1" name="PEAR" startDate="2010-01-15" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="1" id_project_model="1"/>
-
- <userDatabase databaseId="2" name="RRM" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="2" id_project_model="1"/>
-
- <userDatabase databaseId="3" name="RRM" countryId="1" ownerUserId="2" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="3" id_project_model="1"/>
-
- <userDatabase databaseId="4" name="PEAR France" startDate="2010-01-15" countryId="1" ownerUserId="1" lastSchemaUpdate="2009-01-01"/>
- <project databaseId="4" id_project_model="1"/>
-
- <partnerInDatabase databaseId="1" partnerId="2"/>
- <partnerInDatabase databaseId="2" partnerId="3"/>
- <partnerInDatabase databaseId="3" partnerId="4"/>
- <partnerInDatabase databaseId="4" partnerId="4"/>
-
- <project_details id="1" id_layout="5" id_project_model="1" />
- <project_banner id="1" id_layout="5" id_project_model="1" />
-
- <value id_value="1" id_flexible_element="2" id_project="1" value="true" action_last_modif="C" date_last_modif="2010-09-01" id_user_last_modif="1" />
- <value id_value="2" id_flexible_element="4" id_project="1" value="Something" action_last_modif="C" date_last_modif="2010-09-01" id_user_last_modif="1" />
-
- <phase id_phase="1" id_project="1" id_phase_model="1" />
- <phase id_phase="2" id_project="2" id_phase_model="1" />
- <phase id_phase="3" id_project="3" id_phase_model="1" />
-
- <phase id_phase="4" id_project="1" id_phase_model="2" />
- <phase id_phase="5" id_project="2" id_phase_model="2" />
- <phase id_phase="6" id_project="3" id_phase_model="2" />
-
- <phase id_phase="7" id_project="1" id_phase_model="3" />
- <phase id_phase="8" id_project="2" id_phase_model="3" />
- <phase id_phase="9" id_project="3" id_phase_model="3" />
-
- <phase id_phase="10" id_project="1" id_phase_model="4" />
- <phase id_phase="11" id_project="2" id_phase_model="4" />
- <phase id_phase="12" id_project="3" id_phase_model="4" />
-
-
- <!-- Base geography -->
-
-
- <adminLevel countryId="1" adminLevelId="1" name="Province" AllowAdd="0" />
- <adminLevel countryId="1" adminLevelId="2" name="Territoire" AllowAdd="0" ParentId="1"/>
-
- <locationType locationTypeId="1" countryId="1" name="localite" reuse="1"/>
- <locationType locationTypeId="2" countryId="1" name="Health Center" reuse="1"/>
- <locationType locationTypeId="3" countryId="1" name="Territorie" reuse="1" BoundAdminLevelId="2"/>
-
- <adminEntity adminLevelId="1" adminEntityId="1" name="Kinshasa" code="10" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="1" adminEntityId="2" name="Sud Kivu" code="20" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="1" adminEntityId="3" name="Nord Kivu" code="30" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="1" adminEntityId="4" name="Ituri" code="40" x1="0" y1="0" x2="0" y2="0"/>
-
- <adminEntity adminLevelId="2" adminEntityId="10" adminEntityParentId="4" name="Bukavu" code="203" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="2" adminEntityId="11" adminEntityParentId="2" name="Walungu" code="201" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="2" adminEntityId="12" adminEntityParentId="2" name="Shabunda" code="202" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="2" adminEntityId="13" adminEntityParentId="2" name="Kalehe" code="203" x1="0" y1="0" x2="0" y2="0"/>
- <adminEntity adminLevelId="2" adminEntityId="21" adminEntityParentId="4" name="Irumu" code="203" x1="0" y1="0" x2="0" y2="0"/>
-
- <activity activityId="81"
- databaseId="1"
- name="Distributions NFI"
- reportingFrequency="0"
- allowEdit="1"
- isAssessment="0"
- sortOrder="1"
- locationTypeId="1"/>
-
- <activity activityId="82"
- databaseId="1"
- name="Distributions Scolaires"
- reportingFrequency="0"
- allowEdit="1"
- isAssessment="0"
- sortOrder="1"
- locationTypeId="1"/>
-
- <!-- NFI Indicator 1: Beneficiaries -->
-
- <indicator indicatorId="1"
- databaseId="1"
- name="Nombre de menages ayant recu une kit nfi"
- units="menages"
- aggregation="0"
- activityId="81"
- listHeader="Kits"
- collectIntervention="1"
- collectMonitoring="1"
- sortOrder="2"/>
-
- <!-- NFI Indicator 2: Bache -->
-
- <indicator indicatorId="2"
- databaseId="1"
- name="Nombre de menages ayant recu une bache"
- units="menages"
- aggregation="0"
- collectIntervention="1"
- collectMonitoring="1"
- activityId="81"
- listHeader="Baches"
- description="desc"
- sortOrder="1"/>
-
- <indicator indicatorId="3"
- databaseId="1"
- name="Nombre des kits scolaires distribuees"
- units="kits"
- aggregation="0"
- collectIntervention="1"
- collectMonitoring="1"
- activityId="82"
- listHeader="Kits Total"
- description="desc"
- sortOrder="1"/>
-
- <indicator indicatorId="4"
- databaseId="1"
- name="Nombre des kits recreatifs distribuees"
- units="kits"
- aggregation="0"
- collectIntervention="1"
- collectMonitoring="1"
- activityId="82"
- listHeader="Kits Total"
- description="desc"
- sortOrder="1"/>
-
- <!-- Database 2 -->
-
- <indicator indicatorId="5"
- databaseId="2"
- collectIntervention="1"
- collectMonitoring="1"
- name="Quality of Construction"
- aggregation="3"
- sortOrder="1"/>
-
- <indicator_labels indicator_IndicatorId="5" code="1" element="Good"/>
- <indicator_labels indicator_IndicatorId="5" code="2" element="Bad"/>
- <indicator_labels indicator_IndicatorId="5" code="3" element="Ugly"/>
-
- <indicator indicatorId="6"
- databaseId="2"
- collectIntervention="1"
- collectMonitoring="1"
- name="Quality of Service"
- aggregation="3"
- sortOrder="2"/>
-
- <indicator_labels indicator_IndicatorId="6" code="1" element="Mediocre"/>
- <indicator_labels indicator_IndicatorId="6" code="2" element="Pretty bad"/>
- <indicator_labels indicator_IndicatorId="6" code="3" element="Terrible"/>
-
- <!-- id=1 NFI Distribution at Penekusu, Sud Kivu 2 jan 2009-->
-
- <location locationId="1" name="Penekusu" locationTypeId="1" X="1.532" Y="27.323" DateCreated="2009-02-01" DateEdited="2009-02-01" />
- <locationAdminLink locationId="1" adminEntityId="2"/>
- <locationAdminLink locationId="1" adminEntityId="12"/>
-
- <site siteId="1" databaseId="1" locationId="1" partnerId="1" Status="1" target="0" Date1="2010-01-01" Date2="2010-01-31" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
-
- <reportingPeriod reportingPeriodId="1" siteId="1" monitoring="0" date1="2010-01-01" date2="2010-01-31" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <indicatorValue reportingPeriodId="1" indicatorId="1" value="1500"/>
- <indicatorValue reportingPeriodId="1" indicatorId="2" value="500"/>
-
-
- <!-- id=2 NFI Distribution at Ngwshe, Sud Kivu 16 jan 2009 -->
-
- <location locationId="2" name="Ngshwe" locationTypeId="1" X="1.323" Y="28.232" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <locationAdminLink locationId="2" adminEntityId="2"/>
- <locationAdminLink locationId="2" adminEntityId="11"/>
-
- <site siteId="2" databaseId="1" locationId="2" partnerId="1" Status="1" target="1" Date1="2009-01-15" Date2="2009-01-16" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
-
- <reportingPeriod reportingPeriodId="2" siteId="2" monitoring="0" date1="2010-01-15" date2="2010-01-16" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <indicatorValue reportingPeriodId="2" indicatorId="1" value="3600"/>
- <indicatorValue reportingPeriodId="2" indicatorId="2" value="1200"/>
-
- <!-- id=3 NFI Distribution at Boga, Ituri 2008 -->
-
- <location locationId="3" name="Boga" locationTypeId="1" X="3.323" Y="27.232" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <locationAdminLink locationId="3" adminEntityId="4"/>
- <locationAdminLink locationId="3" adminEntityId="21"/>
-
- <site siteId="3" databaseId="1" locationId="3" partnerId="2" Status="1" target="0" Date1="2008-10-05" Date2="2008-10-06" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
-
- <reportingPeriod reportingPeriodId="3" siteId="3" monitoring="0" date1="2008-10-05" date2="2008-10-06" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <indicatorValue reportingPeriodId="3" indicatorId="1" value="10000"/>
- <indicatorValue reportingPeriodId="3" indicatorId="2" value="500"/>
-
- <location locationId="4" name="Goma" locationTypeId="1" X="3.323" Y="27.232" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <locationAdminLink locationId="4" adminEntityId="3"/>
-
- <site siteId="4" databaseId="1" locationId="4" partnerId="2" Status="1" target="0" Date1="2008-10-05" Date2="2008-10-06" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
- <reportingPeriod siteId="4" reportingPeriodId="4" date1="2010-01-01" date2="2010-01-31" DateCreated="2009-02-01" DateEdited="2009-02-01" monitoring="0"/>
-
- <indicatorValue reportingPeriodId="4" indicatorId="1" value="940"/>
-
- <site siteId="5" databaseId="2" locationId="4" partnerId="2" Status="1" target="0" Date1="2008-10-05" Date2="2008-10-06" DateCreated="2009-02-01" DateEdited="2009-02-01"/>
-
- <reportingPeriod siteId="5" reportingPeriodId="5" date1="2010-01-01" date2="2010-01-31" DateCreated="2009-02-01" DateEdited="2009-02-01" monitoring="0"/>
- <indicatorValue reportingPeriodId="5" indicatorId="5" value="1"/>
-
- <reportingPeriod siteId="5" reportingPeriodId="6" date1="2010-02-01" date2="2010-02-28" DateCreated="2009-02-01" DateEdited="2009-02-01" monitoring="0"/>
- <indicatorValue reportingPeriodId="6" indicatorId="5" value="2"/>
-
- <reportingPeriod siteId="5" reportingPeriodId="7" date1="2010-02-01" date2="2010-02-28" DateCreated="2009-02-01" DateEdited="2009-02-01" monitoring="0"/>
- <indicatorValue reportingPeriodId="7" indicatorId="5" value="2"/>
-
-
- <reportingPeriod siteId="5" reportingPeriodId="8" date1="2010-03-01" date2="2010-03-30" DateCreated="2009-02-01" DateEdited="2009-02-01" monitoring="0"/>
- <indicatorValue reportingPeriodId="8" indicatorId="5" value="3"/>
-
-
-
- </dataset>