Added parsing of operations from the XMI. Do we have enough to do the Rational Profil...
[dbsrgits/SQL-Translator.git] / t / data / xmi / Foo.poseidon2.xmi
CommitLineData
5cb154e5 1<?xml version = '1.0' encoding = 'UTF-8' ?>
2<XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML' timestamp = 'Tue Sep 09 00:09:56 BST 2003'>
3 <XMI.header>
4 <XMI.documentation>
5 <XMI.exporter>Netbeans XMI Writer</XMI.exporter>
6 <XMI.exporterVersion>1.0</XMI.exporterVersion>
7 </XMI.documentation>
8 </XMI.header>
9 <XMI.content>
10 <UML:Multiplicity xmi.id = '3b4b1e:f762a35f6b:-7f41'>
11 <UML:Multiplicity.range>
12 <UML:MultiplicityRange xmi.id = '3b4b1e:f762a35f6b:-7f40' lower = '1' upper = '1'/>
13 </UML:Multiplicity.range>
14 </UML:Multiplicity>
15 <UML:Model xmi.id = '3b4b1e:f762a35f6b:-7ff9' name = 'model 2' isSpecification = 'false'
16 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
17 <UML:Namespace.ownedElement>
18 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7ff8' name = 'Foo' visibility = 'public'
19 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
20 isActive = 'false'>
21 <UML:ModelElement.stereotype>
22 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7fb6'/>
23 </UML:ModelElement.stereotype>
24 <UML:Classifier.feature>
25 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7ff6' name = 'fooid' visibility = 'public'
26 isSpecification = 'false' ownerScope = 'instance'>
27 <UML:ModelElement.stereotype>
28 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7ec8'/>
29 </UML:ModelElement.stereotype>
30 <UML:ModelElement.taggedValue>
31 <UML:TaggedValue xmi.id = '3b4b1e:f762a35f6b:-7e5e' isSpecification = 'false'>
1223c9b2 32 <UML:TaggedValue.dataValue>&lt;p&gt;
33
34&lt;/p&gt;
5cb154e5 35</UML:TaggedValue.dataValue>
36 <UML:TaggedValue.type>
37 <UML:TagDefinition xmi.idref = '3b4b1e:f762a35f6b:-7fa6'/>
38 </UML:TaggedValue.type>
39 </UML:TaggedValue>
40 </UML:ModelElement.taggedValue>
41 <UML:StructuralFeature.type>
42 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff5'/>
43 </UML:StructuralFeature.type>
44 </UML:Attribute>
45 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7ff4' name = 'name' visibility = 'public'
46 isSpecification = 'false' ownerScope = 'instance'>
47 <UML:Attribute.initialValue>
48 <UML:Expression xmi.id = '3b4b1e:f762a35f6b:-7e56' language = 'java' body = ''/>
49 </UML:Attribute.initialValue>
50 <UML:StructuralFeature.type>
51 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
52 </UML:StructuralFeature.type>
53 </UML:Attribute>
54 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7e31' name = 'protectedname'
55 visibility = 'protected' isSpecification = 'false' ownerScope = 'instance'>
56 <UML:StructuralFeature.type>
57 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
58 </UML:StructuralFeature.type>
59 </UML:Attribute>
60 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7e30' name = 'privatename' visibility = 'private'
61 isSpecification = 'false' ownerScope = 'instance'>
62 <UML:StructuralFeature.type>
63 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
64 </UML:StructuralFeature.type>
65 </UML:Attribute>
66 <UML:Operation xmi.id = '19e11a1:f7837163c4:-7ffb' name = 'magic' visibility = 'public'
67 isSpecification = 'false' ownerScope = 'instance' isQuery = 'false' concurrency = 'sequential'
68 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
69 <UML:BehavioralFeature.parameter>
70 <UML:Parameter xmi.id = '19e11a1:f7837163c4:-7ffa' name = 'arg1' isSpecification = 'false'
71 kind = 'inout'/>
72 <UML:Parameter xmi.id = '19e11a1:f7837163c4:-7ff9' name = 'arg2' isSpecification = 'false'
73 kind = 'inout'/>
74 <UML:Parameter xmi.id = '19e11a1:f7837163c4:-7ff8' name = 'return' isSpecification = 'false'
75 kind = 'return'>
76 <UML:Parameter.type>
77 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff1'/>
78 </UML:Parameter.type>
79 </UML:Parameter>
80 </UML:BehavioralFeature.parameter>
81 </UML:Operation>
82 <UML:Method xmi.id = '19e11a1:f7837163c4:-7ff7' isSpecification = 'false'
83 isQuery = 'false'>
84 <UML:Method.body>
85 <UML:ProcedureExpression xmi.id = '19e11a1:f7837163c4:-7ff6' language = 'java'
86 body = ''/>
87 </UML:Method.body>
88 <UML:Method.specification>
89 <UML:Operation xmi.idref = '19e11a1:f7837163c4:-7ffb'/>
90 </UML:Method.specification>
91 </UML:Method>
92 </UML:Classifier.feature>
93 </UML:Class>
94 <UML:Package xmi.id = '3b4b1e:f762a35f6b:-7ff3' name = 'java' isSpecification = 'false'
95 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
96 <UML:Namespace.ownedElement>
97 <UML:Package xmi.id = '3b4b1e:f762a35f6b:-7ff2' name = 'lang' isSpecification = 'false'
98 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
99 <UML:Namespace.ownedElement>
100 <UML:DataType xmi.id = '3b4b1e:f762a35f6b:-7ff5' name = 'int' isSpecification = 'false'
101 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'/>
102 <UML:DataType xmi.id = '3b4b1e:f762a35f6b:-7ff1' name = 'void' isSpecification = 'false'
103 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'/>
104 <UML:DataType xmi.id = '3b4b1e:f762a35f6b:-7fb8' name = 'char' isSpecification = 'false'
105 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'/>
106 </UML:Namespace.ownedElement>
107 </UML:Package>
108 </UML:Namespace.ownedElement>
109 </UML:Package>
110 <UML:Stereotype xmi.id = '3b4b1e:f762a35f6b:-7fb4' name = 'entity' isSpecification = 'false'
111 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
112 <UML:Stereotype.baseClass>Class</UML:Stereotype.baseClass>
113 </UML:Stereotype>
114 <UML:Stereotype xmi.id = '3b4b1e:f762a35f6b:-7fb6' name = 'Table' visibility = 'public'
115 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
116 <UML:Stereotype.baseClass>Class</UML:Stereotype.baseClass>
117 </UML:Stereotype>
118 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7fa8' name = 'NotMe' visibility = 'public'
119 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
120 isActive = 'false'>
121 <UML:ModelElement.taggedValue>
122 <UML:TaggedValue xmi.id = '3b4b1e:f762a35f6b:-7fa7' isSpecification = 'false'>
1223c9b2 123 <UML:TaggedValue.dataValue>&lt;p&gt;
124No &amp;lt;&amp;lt;Table&amp;gt;&amp;gt; so the parser should ignore it.
125&lt;/p&gt;
5cb154e5 126</UML:TaggedValue.dataValue>
127 <UML:TaggedValue.type>
128 <UML:TagDefinition xmi.idref = '3b4b1e:f762a35f6b:-7fa6'/>
129 </UML:TaggedValue.type>
130 </UML:TaggedValue>
131 </UML:ModelElement.taggedValue>
132 </UML:Class>
133 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7f90' name = 'PrivateFoo' visibility = 'private'
134 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
135 isActive = 'false'>
136 <UML:ModelElement.stereotype>
137 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7fb6'/>
138 </UML:ModelElement.stereotype>
139 </UML:Class>
140 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7f73' name = 'Recording' visibility = 'public'
141 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
142 isActive = 'false'>
143 <UML:ModelElement.stereotype>
144 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7fb6'/>
145 </UML:ModelElement.stereotype>
146 <UML:Classifier.feature>
147 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7f72' name = 'recordingid' visibility = 'public'
148 isSpecification = 'false' ownerScope = 'instance'>
149 <UML:ModelElement.stereotype>
150 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7ec8'/>
151 </UML:ModelElement.stereotype>
152 <UML:StructuralFeature.type>
153 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff5'/>
154 </UML:StructuralFeature.type>
155 </UML:Attribute>
156 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7f71' name = 'title' visibility = 'public'
157 isSpecification = 'false' ownerScope = 'instance'>
158 <UML:StructuralFeature.type>
159 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
160 </UML:StructuralFeature.type>
161 </UML:Attribute>
162 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7f3f' name = 'type' visibility = 'public'
163 isSpecification = 'false' ownerScope = 'instance'>
164 <UML:StructuralFeature.type>
165 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
166 </UML:StructuralFeature.type>
167 </UML:Attribute>
168 </UML:Classifier.feature>
169 </UML:Class>
170 <UML:DataType xmi.id = '3b4b1e:f762a35f6b:-7f70' name = 'varchar' visibility = 'public'
171 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'/>
172 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7f3e' name = 'CD' visibility = 'public'
173 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
174 isActive = 'false'>
175 <UML:GeneralizableElement.generalization>
176 <UML:Generalization xmi.idref = '3b4b1e:f762a35f6b:-7f3d'/>
177 </UML:GeneralizableElement.generalization>
178 </UML:Class>
179 <UML:Generalization xmi.id = '3b4b1e:f762a35f6b:-7f3d' isSpecification = 'false'>
180 <UML:Generalization.child>
181 <UML:Class xmi.idref = '3b4b1e:f762a35f6b:-7f3e'/>
182 </UML:Generalization.child>
183 <UML:Generalization.parent>
184 <UML:Class xmi.idref = '3b4b1e:f762a35f6b:-7f73'/>
185 </UML:Generalization.parent>
186 </UML:Generalization>
187 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7f3c' name = 'Track' visibility = 'public'
188 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
189 isActive = 'false'>
190 <UML:ModelElement.stereotype>
191 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7fb6'/>
192 </UML:ModelElement.stereotype>
193 <UML:Classifier.feature>
194 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7e94' name = 'trackid' visibility = 'public'
195 isSpecification = 'false' ownerScope = 'instance'>
196 <UML:ModelElement.stereotype>
197 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7ec8'/>
198 </UML:ModelElement.stereotype>
199 <UML:StructuralFeature.type>
200 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff5'/>
201 </UML:StructuralFeature.type>
202 </UML:Attribute>
203 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7e7b' name = 'recordingid' visibility = 'public'
204 isSpecification = 'false' ownerScope = 'instance'>
205 <UML:ModelElement.stereotype>
206 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7ec7'/>
207 </UML:ModelElement.stereotype>
208 <UML:StructuralFeature.type>
209 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff5'/>
210 </UML:StructuralFeature.type>
211 </UML:Attribute>
212 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7f3b' name = 'number' visibility = 'public'
213 isSpecification = 'false' ownerScope = 'instance'>
214 <UML:Attribute.initialValue>
215 <UML:Expression xmi.id = '3b4b1e:f762a35f6b:-7e5b' language = 'java' body = '1'/>
216 </UML:Attribute.initialValue>
217 <UML:StructuralFeature.type>
218 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7ff5'/>
219 </UML:StructuralFeature.type>
220 </UML:Attribute>
221 <UML:Attribute xmi.id = '3b4b1e:f762a35f6b:-7f3a' name = 'name' visibility = 'public'
222 isSpecification = 'false' ownerScope = 'instance'>
223 <UML:StructuralFeature.type>
224 <UML:DataType xmi.idref = '3b4b1e:f762a35f6b:-7f70'/>
225 </UML:StructuralFeature.type>
226 </UML:Attribute>
227 </UML:Classifier.feature>
228 </UML:Class>
229 <UML:Association xmi.id = '3b4b1e:f762a35f6b:-7f39' isSpecification = 'false'
230 isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
231 <UML:Association.connection>
232 <UML:AssociationEnd xmi.id = '3b4b1e:f762a35f6b:-7f38' visibility = 'public'
233 isSpecification = 'false' isNavigable = 'false' ordering = 'unordered' aggregation = 'composite'
234 targetScope = 'instance' changeability = 'changeable'>
235 <UML:AssociationEnd.multiplicity>
236 <UML:Multiplicity xmi.id = '3b4b1e:f762a35f6b:-7f37'>
237 <UML:Multiplicity.range>
238 <UML:MultiplicityRange xmi.id = '3b4b1e:f762a35f6b:-7f36' lower = '1' upper = '1'/>
239 </UML:Multiplicity.range>
240 </UML:Multiplicity>
241 </UML:AssociationEnd.multiplicity>
242 <UML:AssociationEnd.participant>
243 <UML:Class xmi.idref = '3b4b1e:f762a35f6b:-7f73'/>
244 </UML:AssociationEnd.participant>
245 </UML:AssociationEnd>
246 <UML:AssociationEnd xmi.id = '3b4b1e:f762a35f6b:-7f35' name = '' visibility = 'public'
247 isSpecification = 'false' isNavigable = 'true' ordering = 'unordered' aggregation = 'none'
248 targetScope = 'instance' changeability = 'changeable'>
249 <UML:AssociationEnd.multiplicity>
250 <UML:Multiplicity xmi.id = '3b4b1e:f762a35f6b:-7f34'>
251 <UML:Multiplicity.range>
252 <UML:MultiplicityRange xmi.id = '3b4b1e:f762a35f6b:-7f33' lower = '1' upper = '-1'/>
253 </UML:Multiplicity.range>
254 </UML:Multiplicity>
255 </UML:AssociationEnd.multiplicity>
256 <UML:AssociationEnd.participant>
257 <UML:Class xmi.idref = '3b4b1e:f762a35f6b:-7f3c'/>
258 </UML:AssociationEnd.participant>
259 </UML:AssociationEnd>
260 </UML:Association.connection>
261 </UML:Association>
262 <UML:Stereotype xmi.id = '3b4b1e:f762a35f6b:-7ec8' name = 'PK' visibility = 'public'
263 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
264 <UML:Stereotype.baseClass>Attribute</UML:Stereotype.baseClass>
265 </UML:Stereotype>
266 <UML:Stereotype xmi.id = '3b4b1e:f762a35f6b:-7ec7' name = 'FK' visibility = 'public'
267 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'>
268 <UML:Stereotype.baseClass>Attribute</UML:Stereotype.baseClass>
269 </UML:Stereotype>
270 <UML:Class xmi.id = '3b4b1e:f762a35f6b:-7e54' name = 'ProtectedFoo' visibility = 'protected'
271 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
272 isActive = 'false'>
273 <UML:ModelElement.stereotype>
274 <UML:Stereotype xmi.idref = '3b4b1e:f762a35f6b:-7fb6'/>
275 </UML:ModelElement.stereotype>
276 </UML:Class>
277 <UML:Class xmi.id = '19e11a1:f7837163c4:-7ff5' name = 'arg1' visibility = 'public'
278 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
279 isActive = 'false'/>
280 <UML:Class xmi.id = '19e11a1:f7837163c4:-7ff4' name = 'arg2' visibility = 'public'
281 isSpecification = 'false' isRoot = 'false' isLeaf = 'false' isAbstract = 'false'
282 isActive = 'false'/>
283 </UML:Namespace.ownedElement>
284 </UML:Model>
285 <UML:TagDefinition xmi.id = '3b4b1e:f762a35f6b:-7fa6' name = 'documentation'
286 isSpecification = 'false' tagType = 'String'>
287 <UML:TagDefinition.multiplicity>
288 <UML:Multiplicity xmi.id = '3b4b1e:f762a35f6b:-7fa5'>
289 <UML:Multiplicity.range>
290 <UML:MultiplicityRange xmi.id = '3b4b1e:f762a35f6b:-7fa4' lower = '1' upper = '1'/>
291 </UML:Multiplicity.range>
292 </UML:Multiplicity>
293 </UML:TagDefinition.multiplicity>
294 </UML:TagDefinition>
295 <UML:Uml1SemanticModelBridge xmi.id = '3b4b1e:f762a35f6b:-7fc0' presentation = ''>
296 <UML:Uml1SemanticModelBridge.element>
297 <UML:Model xmi.idref = '3b4b1e:f762a35f6b:-7ff9'/>
298 </UML:Uml1SemanticModelBridge.element>
299 </UML:Uml1SemanticModelBridge>
300 </XMI.content>
301</XMI>