-
Notifications
You must be signed in to change notification settings - Fork 48
/
hibernate-generic.dtd
92 lines (67 loc) · 3.11 KB
/
hibernate-generic.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!-- Hibernate generic XML databinding format.
<!DOCTYPE hibernate-generic PUBLIC
"-//Hibernate/Hibernate generic XML databinding format//EN"
"http://hibernate.sourceforge.net/hibernate-generic.dtd">
An instance of this XML document contains an XML representation of an
arbitrary number of related persistent or transient entity instances.
-->
<!-- The document root. -->
<!ELEMENT hibernate-generic (object*)>
<!ATTLIST hibernate-generic datetime CDATA #IMPLIED>
<!-- An instance of an entity class. -->
<!ELEMENT object ( id?, (property|component|collection|array)* )>
<!ATTLIST object class CDATA #REQUIRED>
<!ATTLIST object package CDATA #REQUIRED>
<!ATTLIST object proxy (initialized|uninitialized|now-initialized) #IMPLIED>
<!-- The id property of the entity. -->
<!ELEMENT id ANY>
<!ATTLIST id type CDATA #IMPLIED>
<!ATTLIST id name CDATA #IMPLIED>
<!-- The composite id property of the entity. -->
<!ELEMENT composite-id (property*)>
<!ATTLIST id type CDATA #IMPLIED>
<!ATTLIST id name CDATA #IMPLIED>
<!-- A property of an entity or component. -->
<!ELEMENT property ANY>
<!ATTLIST property name CDATA #REQUIRED>
<!ATTLIST property type CDATA #IMPLIED>
<!ATTLIST property class CDATA #IMPLIED>
<!ATTLIST property package CDATA #IMPLIED>
<!ATTLIST property proxy (initialized|uninitialized|now-initialized) #IMPLIED>
<!-- A component. -->
<!ELEMENT component ( (property|component|collection|array)* )>
<!ATTLIST component class CDATA #IMPLIED>
<!ATTLIST component name CDATA #REQUIRED>
<!-- An array. -->
<!ELEMENT array ( (element|subcollection|composite-element|array)* )>
<!ATTLIST array element-type CDATA #IMPLIED>
<!ATTLIST array index-type CDATA #IMPLIED>
<!ATTLIST array role CDATA #IMPLIED>
<!ATTLIST array name CDATA #REQUIRED>
<!-- A collection. -->
<!ELEMENT collection ( (element|subcollection|composite-element|array)* )>
<!ATTLIST collection class CDATA #IMPLIED>
<!ATTLIST collection element-type CDATA #IMPLIED>
<!ATTLIST collection index-type CDATA #IMPLIED>
<!ATTLIST collection role CDATA #IMPLIED>
<!ATTLIST collection name CDATA #REQUIRED>
<!ATTLIST collection lazy (initialized|uninitialized|now-initialized) #IMPLIED>
<!-- A collection element. -->
<!ELEMENT element (#PCDATA)>
<!ATTLIST element index CDATA #IMPLIED>
<!ATTLIST element class CDATA #IMPLIED>
<!ATTLIST element package CDATA #IMPLIED>
<!ATTLIST element proxy (initialized|uninitialized|now-initialized) #IMPLIED>
<!ATTLIST element uid CDATA #IMPLIED>
<!-- A collection inside another collection. -->
<!ELEMENT subcollection ( (element|subcollection|composite-element|array)* )>
<!ATTLIST subcollection class CDATA #IMPLIED>
<!ATTLIST subcollection element-type CDATA #IMPLIED>
<!ATTLIST subcollection index-type CDATA #IMPLIED>
<!ATTLIST subcollection role CDATA #IMPLIED>
<!ATTLIST subcollection index CDATA #IMPLIED>
<!ATTLIST subcollection lazy (initialized|uninitialized|now-initialized) #IMPLIED>
<!-- A component inside a collection. -->
<!ELEMENT composite-element ( (property|component|collection|array)* )>
<!ATTLIST composite-element class CDATA #IMPLIED>
<!ATTLIST composite-element index CDATA #IMPLIED>