~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datadictionary/hibernate/ExtendedDataElement.hbm.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE hibernate-mapping PUBLIC
 
3
  "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 
4
  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
 
5
 
 
6
<hibernate-mapping>  
 
7
  <class name="org.hisp.dhis.datadictionary.ExtendedDataElement" table="extendeddataelement">    
 
8
    <id name="id" column="extendeddataelementid">
 
9
      <generator class="native"/>
 
10
    </id>
 
11
    
 
12
                <!-- Identifying and Definitional attributes -->
 
13
                
 
14
    <property name="mnemonic" not-null="true"/>
 
15
                
 
16
                <property name="version" not-null="true"/>
 
17
 
 
18
    <property name="context" type="text"/>
 
19
                
 
20
    <property name="synonyms"/>
 
21
 
 
22
    <property name="hononyms"/>
 
23
 
 
24
    <property name="keywords" not-null="true"/>
 
25
 
 
26
    <property name="status"/>
 
27
                
 
28
                <property name="statusDate" type="date"/>
 
29
                
 
30
    <property name="dataElementType"/>
 
31
                
 
32
                <!-- Relational and Representational attributes -->
 
33
                
 
34
    <property name="dataType"/>
 
35
                
 
36
    <property name="representationalForm"/>
 
37
                
 
38
    <property name="representationalLayout"/>
 
39
                
 
40
    <property name="minimumSize"/>
 
41
                
 
42
    <property name="maximumSize"/>
 
43
                
 
44
    <property name="dataDomain" type="text"/>
 
45
                
 
46
    <property name="validationRules" type="text"/>
 
47
                
 
48
    <property name="relatedDataReferences" type="text"/>
 
49
                
 
50
    <property name="guideForUse" type="text"/>
 
51
                
 
52
    <property name="collectionMethods" type="text"/>
 
53
    
 
54
                <!-- Administrative attributes -->
 
55
                
 
56
    <property name="responsibleAuthority" not-null="true"/>
 
57
                
 
58
    <property name="updateRules" type="text"/>
 
59
                
 
60
    <property name="accessAuthority"/>
 
61
                
 
62
    <property name="updateFrequency"/>
 
63
                
 
64
    <property name="location" not-null="true"/>
 
65
                
 
66
    <property name="reportingMethods" type="text" not-null="true"/>
 
67
                
 
68
    <property name="versionStatus" not-null="true"/>
 
69
                
 
70
    <property name="previousVersionReferences" type="text"/>
 
71
                
 
72
    <property name="sourceDocument"/>
 
73
                
 
74
    <property name="sourceOrganisation"/>
 
75
                
 
76
    <property name="comment" type="text"/>
 
77
                
 
78
                <property name="saved" type="date"/>
 
79
                
 
80
                <property name="lastUpdated" type="date"/>
 
81
 
 
82
  </class>
 
83
</hibernate-mapping>