-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.xml
60 lines (58 loc) · 2.72 KB
/
schema.xml
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
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<xsd:element name="Class" >
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="attribute"
minOccurs="0"
maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="visibility" type="xsd:string"/>
<xsd:attribute name="init-value" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element
name="method"
minOccurs="0"
maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="parameters" type="xsd:string"/>
<xsd:attribute name="visibility" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="relationships" >
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="association"
minOccurs="0"
maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="class-relation" type="xsd:string" />
<xsd:attribute name="card-min" type="xsd:string"/>
<xsd:attribute name="card-max" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element
name="inheritance"
minOccurs="0"
maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="class-relation" type="xsd:string" />
<xsd:attribute name="priority" type="xsd:integer" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="default" type="xsd:boolean"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>