blob: d0d872b0be3b77318ccabd1e41f46cefe1ebf589 (
plain)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ba-horb.de/~ksm/xml/ksm-1"
xmlns:tns="http://www.ba-horb.de/~ksm/xml/ksm-1" elementFormDefault="qualified"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb" jxb:version="1.0">
<!-- Wurzelelement eines KSM Dokument -->
<element name="ksm">
<complexType>
<annotation>
<appinfo>
<jxb:class name="XKSM" />
</appinfo>
</annotation>
<sequence>
<element name="nodegroup" type="tns:NODEGROUP_TYPE"
minOccurs="1" maxOccurs="1">
</element>
<element name="properties" type="tns:PROPERTIES_TYPE"
minOccurs="0" maxOccurs="1"></element>
</sequence>
<attribute name="version" type="string" use="required" />
</complexType>
</element>
<complexType name="PROPERTY_BASE_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyBase" />
</appinfo>
</annotation>
<simpleContent>
<extension base="anySimpleType">
<attribute name="name" use="required" />
</extension>
</simpleContent>
</complexType>
<complexType name="PROPERTY_STRING_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyString" />
</appinfo>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="name" use="required" />
</extension>
</simpleContent>
</complexType>
<complexType name="PROPERTY_BOOLEAN_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyBoolean" />
</appinfo>
</annotation>
<simpleContent>
<extension base="boolean">
<attribute name="name" use="required" />
</extension>
</simpleContent>
</complexType>
<complexType name="PROPERTY_DECIMAL_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyDecimal" />
</appinfo>
</annotation>
<simpleContent>
<extension base="decimal">
<attribute name="name" use="required" />
</extension>
</simpleContent>
</complexType>
<complexType name="PROPERTY_INTEGER_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyInteger" />
</appinfo>
</annotation>
<simpleContent>
<extension base="integer">
<attribute name="name" use="required" />
</extension>
</simpleContent>
</complexType>
<complexType name="PROPERTY_LIST_BASE_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyBaseList" />
</appinfo>
</annotation>
<sequence>
</sequence>
<attribute name="name" use="required"></attribute>
</complexType>
<complexType name="PROPERTY_STRING_LIST_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyStringList" />
</appinfo>
</annotation>
<complexContent>
<extension base="tns:PROPERTY_LIST_BASE_TYPE">
<sequence>
<element name="value" type="string" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="PROPERTY_DECIMAL_LIST_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyDecimalList" />
</appinfo>
</annotation>
<complexContent>
<extension base="tns:PROPERTY_LIST_BASE_TYPE">
<sequence>
<element name="value" type="decimal" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="PROPERTY_INTEGER_LIST_TYPE">
<annotation>
<appinfo>
<jxb:class name="XPropertyIntegerList" />
</appinfo>
</annotation>
<complexContent>
<extension base="tns:PROPERTY_LIST_BASE_TYPE">
<sequence>
<element name="value" type="integer" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</extension>
</complexContent>
</complexType>
<!-- EinelListe von Eigenschaften -->
<complexType name="PROPERTIES_TYPE">
<annotation>
<appinfo>
<jxb:class name="XProperties" />
</appinfo>
</annotation>
<sequence>
<element name="string" type="tns:PROPERTY_STRING_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="decimal" type="tns:PROPERTY_DECIMAL_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="integer" type="tns:PROPERTY_INTEGER_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="boolean" type="tns:PROPERTY_BOOLEAN_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="stringList" type="tns:PROPERTY_STRING_LIST_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="decimalList" type="tns:PROPERTY_DECIMAL_LIST_TYPE"
minOccurs="0" maxOccurs="unbounded" />
<element name="integerList" type="tns:PROPERTY_INTEGER_LIST_TYPE"
minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
<!-- KSM Node (Knoten), hat Eigenschaften, hat Verbindungen zu anderen Knoten -->
<complexType name="NODE_TYPE">
<annotation>
<appinfo>
<jxb:class name="XNode" />
</appinfo>
</annotation>
<sequence>
<element name="properties" type="tns:PROPERTIES_TYPE"
minOccurs="1" maxOccurs="1" />
<element name="connections" type="tns:CONNECTIONS_TYPE"
minOccurs="0" maxOccurs="1" />
</sequence>
<attribute name="id" type="tns:NODE_ID_TYPE" use="required" />
</complexType>
<!-- Eine NodeGroup fasst mehrere Knoten zusammen, auch bekannt als Hirachien -->
<complexType name="NODEGROUP_TYPE">
<annotation>
<appinfo>
<jxb:class name="XNodeGroup" />
</appinfo>
</annotation>
<sequence>
<element name="node" type="tns:NODE_TYPE" minOccurs="0"
maxOccurs="unbounded" />
<element name="nodegroup" type="tns:NODEGROUP_TYPE"
minOccurs="0" maxOccurs="unbounded"></element>
<element name="properties" type="tns:PROPERTIES_TYPE"
minOccurs="1" maxOccurs="1" />
</sequence>
<attribute name="id" type="tns:NODE_ID_TYPE" use="required" />
</complexType>
<!-- Connections. Eine Node eine beliebige Anzahl gerichteter Verbindungen
zu einer anderen Node haben -->
<complexType name="CONNECTIONS_TYPE">
<annotation>
<appinfo>
<jxb:class name="XConnections" />
</appinfo>
</annotation>
<sequence>
<element name="connection" type="tns:CONNECTION_TYPE"
minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
<!-- Eine gerichtete Verbindung zu einer anderen Node. -->
<complexType name="CONNECTION_TYPE">
<annotation>
<appinfo>
<jxb:class name="XConnection" />
</appinfo>
</annotation>
<sequence>
<element name="properties" type="tns:PROPERTIES_TYPE"
minOccurs="1" maxOccurs="1" />
</sequence>
<attribute name="to" type="tns:NODE_ID_TYPE" />
</complexType>
<simpleType name="NODE_ID_TYPE">
<restriction base="string"></restriction>
</simpleType>
</schema>
|