Fix reset of properties with default value
[qt:qtmodeling.git] / src / uml / qobjects / qumlcommunicationpathobject.cpp
1 /****************************************************************************
2 **
3 ** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org>
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtUml module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.  For licensing terms and
14 ** conditions see http://qt.digia.com/licensing.  For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file.  Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights.  These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file.  Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
38 ** $QT_END_LICENSE$
39 **
40 ****************************************************************************/
41 #include "qumlcommunicationpathobject_p.h"
42 #include "private/qmodelingobject_p.h"
43
44 #include <QtUml/QUmlCommunicationPath>
45 #include <QtUml/QUmlClassifier>
46 #include <QtUml/QUmlClassifierTemplateParameter>
47 #include <QtUml/QUmlCollaborationUse>
48 #include <QtUml/QUmlComment>
49 #include <QtUml/QUmlConstraint>
50 #include <QtUml/QUmlDependency>
51 #include <QtUml/QUmlElement>
52 #include <QtUml/QUmlElementImport>
53 #include <QtUml/QUmlFeature>
54 #include <QtUml/QUmlGeneralization>
55 #include <QtUml/QUmlGeneralizationSet>
56 #include <QtUml/QUmlNamedElement>
57 #include <QtUml/QUmlNamespace>
58 #include <QtUml/QUmlPackage>
59 #include <QtUml/QUmlPackageableElement>
60 #include <QtUml/QUmlPackageImport>
61 #include <QtUml/QUmlParameterableElement>
62 #include <QtUml/QUmlProperty>
63 #include <QtUml/QUmlRedefinableElement>
64 #include <QtUml/QUmlRedefinableTemplateSignature>
65 #include <QtUml/QUmlStringExpression>
66 #include <QtUml/QUmlSubstitution>
67 #include <QtUml/QUmlTemplateBinding>
68 #include <QtUml/QUmlTemplateParameter>
69 #include <QtUml/QUmlTemplateSignature>
70 #include <QtUml/QUmlType>
71 #include <QtUml/QUmlUseCase>
72
73 QT_BEGIN_NAMESPACE
74
75 QUmlCommunicationPathObject::QUmlCommunicationPathObject(QUmlCommunicationPath *modelingElement)
76 {
77     setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(modelingElement)));
78     setGroupProperties();
79     setPropertyData();
80 }
81
82 // OWNED ATTRIBUTES [Element]
83
84 const QSet<QObject *> QUmlCommunicationPathObject::ownedComments() const
85 {
86     QSet<QObject *> set;
87     foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedComments())
88         set.insert(element->asQModelingObject());
89     return set;
90 }
91
92 const QSet<QObject *> QUmlCommunicationPathObject::ownedElements() const
93 {
94     QSet<QObject *> set;
95     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedElements())
96         set.insert(element->asQModelingObject());
97     return set;
98 }
99
100 QObject *QUmlCommunicationPathObject::owner() const
101 {
102     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->owner())
103         return 0;
104     else
105         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->owner()->asQModelingObject();
106 }
107
108 // OWNED ATTRIBUTES [NamedElement]
109
110 const QSet<QObject *> QUmlCommunicationPathObject::clientDependencies() const
111 {
112     QSet<QObject *> set;
113     foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->clientDependencies())
114         set.insert(element->asQModelingObject());
115     return set;
116 }
117
118 QString QUmlCommunicationPathObject::name() const
119 {
120     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->name();
121 }
122
123 QObject *QUmlCommunicationPathObject::nameExpression() const
124 {
125     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->nameExpression())
126         return 0;
127     else
128         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->nameExpression()->asQModelingObject();
129 }
130
131 QObject *QUmlCommunicationPathObject::namespace_() const
132 {
133     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->namespace_())
134         return 0;
135     else
136         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->namespace_()->asQModelingObject();
137 }
138
139 QString QUmlCommunicationPathObject::qualifiedName() const
140 {
141     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->qualifiedName();
142 }
143
144 // OWNED ATTRIBUTES [Namespace]
145
146 const QSet<QObject *> QUmlCommunicationPathObject::elementImports() const
147 {
148     QSet<QObject *> set;
149     foreach (QUmlElementImport *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->elementImports())
150         set.insert(element->asQModelingObject());
151     return set;
152 }
153
154 const QSet<QObject *> QUmlCommunicationPathObject::importedMembers() const
155 {
156     QSet<QObject *> set;
157     foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->importedMembers())
158         set.insert(element->asQModelingObject());
159     return set;
160 }
161
162 const QSet<QObject *> QUmlCommunicationPathObject::members() const
163 {
164     QSet<QObject *> set;
165     foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->members())
166         set.insert(element->asQModelingObject());
167     return set;
168 }
169
170 const QSet<QObject *> QUmlCommunicationPathObject::ownedMembers() const
171 {
172     QSet<QObject *> set;
173     foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedMembers())
174         set.insert(element->asQModelingObject());
175     return set;
176 }
177
178 const QSet<QObject *> QUmlCommunicationPathObject::ownedRules() const
179 {
180     QSet<QObject *> set;
181     foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedRules())
182         set.insert(element->asQModelingObject());
183     return set;
184 }
185
186 const QSet<QObject *> QUmlCommunicationPathObject::packageImports() const
187 {
188     QSet<QObject *> set;
189     foreach (QUmlPackageImport *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->packageImports())
190         set.insert(element->asQModelingObject());
191     return set;
192 }
193
194 // OWNED ATTRIBUTES [ParameterableElement]
195
196 QObject *QUmlCommunicationPathObject::owningTemplateParameter() const
197 {
198     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->owningTemplateParameter())
199         return 0;
200     else
201         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->owningTemplateParameter()->asQModelingObject();
202 }
203
204 // OWNED ATTRIBUTES [PackageableElement]
205
206 QtUml::VisibilityKind QUmlCommunicationPathObject::visibility() const
207 {
208     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->visibility();
209 }
210
211 // OWNED ATTRIBUTES [Type]
212
213 QObject *QUmlCommunicationPathObject::package() const
214 {
215     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->package())
216         return 0;
217     else
218         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->package()->asQModelingObject();
219 }
220
221 // OWNED ATTRIBUTES [RedefinableElement]
222
223 bool QUmlCommunicationPathObject::isLeaf() const
224 {
225     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isLeaf();
226 }
227
228 const QSet<QObject *> QUmlCommunicationPathObject::redefinedElements() const
229 {
230     QSet<QObject *> set;
231     foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->redefinedElements())
232         set.insert(element->asQModelingObject());
233     return set;
234 }
235
236 const QSet<QObject *> QUmlCommunicationPathObject::redefinitionContexts() const
237 {
238     QSet<QObject *> set;
239     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->redefinitionContexts())
240         set.insert(element->asQModelingObject());
241     return set;
242 }
243
244 // OWNED ATTRIBUTES [TemplateableElement]
245
246 const QSet<QObject *> QUmlCommunicationPathObject::templateBindings() const
247 {
248     QSet<QObject *> set;
249     foreach (QUmlTemplateBinding *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->templateBindings())
250         set.insert(element->asQModelingObject());
251     return set;
252 }
253
254 // OWNED ATTRIBUTES [Classifier]
255
256 const QSet<QObject *> QUmlCommunicationPathObject::attributes() const
257 {
258     QSet<QObject *> set;
259     foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->attributes())
260         set.insert(element->asQModelingObject());
261     return set;
262 }
263
264 const QSet<QObject *> QUmlCommunicationPathObject::collaborationUses() const
265 {
266     QSet<QObject *> set;
267     foreach (QUmlCollaborationUse *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->collaborationUses())
268         set.insert(element->asQModelingObject());
269     return set;
270 }
271
272 const QSet<QObject *> QUmlCommunicationPathObject::features() const
273 {
274     QSet<QObject *> set;
275     foreach (QUmlFeature *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->features())
276         set.insert(element->asQModelingObject());
277     return set;
278 }
279
280 const QSet<QObject *> QUmlCommunicationPathObject::generals() const
281 {
282     QSet<QObject *> set;
283     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->generals())
284         set.insert(element->asQModelingObject());
285     return set;
286 }
287
288 const QSet<QObject *> QUmlCommunicationPathObject::generalizations() const
289 {
290     QSet<QObject *> set;
291     foreach (QUmlGeneralization *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->generalizations())
292         set.insert(element->asQModelingObject());
293     return set;
294 }
295
296 const QSet<QObject *> QUmlCommunicationPathObject::inheritedMembers() const
297 {
298     QSet<QObject *> set;
299     foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->inheritedMembers())
300         set.insert(element->asQModelingObject());
301     return set;
302 }
303
304 bool QUmlCommunicationPathObject::isAbstract() const
305 {
306     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isAbstract();
307 }
308
309 bool QUmlCommunicationPathObject::isFinalSpecialization() const
310 {
311     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isFinalSpecialization();
312 }
313
314 QObject *QUmlCommunicationPathObject::ownedTemplateSignature() const
315 {
316     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedTemplateSignature())
317         return 0;
318     else
319         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedTemplateSignature()->asQModelingObject();
320 }
321
322 const QSet<QObject *> QUmlCommunicationPathObject::ownedUseCases() const
323 {
324     QSet<QObject *> set;
325     foreach (QUmlUseCase *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedUseCases())
326         set.insert(element->asQModelingObject());
327     return set;
328 }
329
330 const QSet<QObject *> QUmlCommunicationPathObject::powertypeExtents() const
331 {
332     QSet<QObject *> set;
333     foreach (QUmlGeneralizationSet *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->powertypeExtents())
334         set.insert(element->asQModelingObject());
335     return set;
336 }
337
338 const QSet<QObject *> QUmlCommunicationPathObject::redefinedClassifiers() const
339 {
340     QSet<QObject *> set;
341     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->redefinedClassifiers())
342         set.insert(element->asQModelingObject());
343     return set;
344 }
345
346 QObject *QUmlCommunicationPathObject::representation() const
347 {
348     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->representation())
349         return 0;
350     else
351         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->representation()->asQModelingObject();
352 }
353
354 const QSet<QObject *> QUmlCommunicationPathObject::substitutions() const
355 {
356     QSet<QObject *> set;
357     foreach (QUmlSubstitution *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->substitutions())
358         set.insert(element->asQModelingObject());
359     return set;
360 }
361
362 QObject *QUmlCommunicationPathObject::templateParameter() const
363 {
364     if (!qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->templateParameter())
365         return 0;
366     else
367         return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->templateParameter()->asQModelingObject();
368 }
369
370 const QSet<QObject *> QUmlCommunicationPathObject::useCases() const
371 {
372     QSet<QObject *> set;
373     foreach (QUmlUseCase *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->useCases())
374         set.insert(element->asQModelingObject());
375     return set;
376 }
377
378 // OWNED ATTRIBUTES [Relationship]
379
380 const QSet<QObject *> QUmlCommunicationPathObject::relatedElements() const
381 {
382     QSet<QObject *> set;
383     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->relatedElements())
384         set.insert(element->asQModelingObject());
385     return set;
386 }
387
388 // OWNED ATTRIBUTES [Association]
389
390 const QList<QObject *> QUmlCommunicationPathObject::endTypes() const
391 {
392     QList<QObject *> list;
393     foreach (QUmlType *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->endTypes())
394         list.append(element->asQModelingObject());
395     return list;
396 }
397
398 bool QUmlCommunicationPathObject::isDerived() const
399 {
400     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isDerived();
401 }
402
403 const QList<QObject *> QUmlCommunicationPathObject::memberEnds() const
404 {
405     QList<QObject *> list;
406     foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->memberEnds())
407         list.append(element->asQModelingObject());
408     return list;
409 }
410
411 const QSet<QObject *> QUmlCommunicationPathObject::navigableOwnedEnds() const
412 {
413     QSet<QObject *> set;
414     foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->navigableOwnedEnds())
415         set.insert(element->asQModelingObject());
416     return set;
417 }
418
419 const QList<QObject *> QUmlCommunicationPathObject::ownedEnds() const
420 {
421     QList<QObject *> list;
422     foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->ownedEnds())
423         list.append(element->asQModelingObject());
424     return list;
425 }
426
427 // OPERATIONS [Element]
428
429 QSet<QObject *> QUmlCommunicationPathObject::allOwnedElements() const
430 {
431     QSet<QObject *> set;
432     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->allOwnedElements())
433         set.insert(element->asQModelingObject());
434     return set;
435 }
436
437 bool QUmlCommunicationPathObject::mustBeOwned() const
438 {
439     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->mustBeOwned();
440 }
441
442 // OPERATIONS [NamedElement]
443
444 QList<QObject *> QUmlCommunicationPathObject::allNamespaces() const
445 {
446     QList<QObject *> set;
447     foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->allNamespaces())
448         set.append(element->asQModelingObject());
449     return set;
450 }
451
452 QSet<QObject *> QUmlCommunicationPathObject::allOwningPackages() const
453 {
454     QSet<QObject *> set;
455     foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->allOwningPackages())
456         set.insert(element->asQModelingObject());
457     return set;
458 }
459
460 bool QUmlCommunicationPathObject::isDistinguishableFrom(QObject *n, QObject *ns) const
461 {
462     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
463 }
464
465 QString QUmlCommunicationPathObject::separator() const
466 {
467     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->separator();
468 }
469
470 // OPERATIONS [Namespace]
471
472 QSet<QObject *> QUmlCommunicationPathObject::excludeCollisions(QSet<QObject *> imps) const
473 {
474     QSet<QUmlPackageableElement *> impsConverted;
475     foreach (QObject *object, imps)
476         impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
477     QSet<QObject *> set;
478     foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->excludeCollisions(impsConverted))
479         set.insert(element->asQModelingObject());
480     return set;
481 }
482
483 QSet<QString> QUmlCommunicationPathObject::getNamesOfMember(QObject *element) const
484 {
485     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->getNamesOfMember(qmodelingelementproperty_cast<QUmlNamedElement *>(element));
486 }
487
488 QSet<QObject *> QUmlCommunicationPathObject::importMembers(QSet<QObject *> imps) const
489 {
490     QSet<QUmlPackageableElement *> impsConverted;
491     foreach (QObject *object, imps)
492         impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
493     QSet<QObject *> set;
494     foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->importMembers(impsConverted))
495         set.insert(element->asQModelingObject());
496     return set;
497 }
498
499 bool QUmlCommunicationPathObject::membersAreDistinguishable() const
500 {
501     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->membersAreDistinguishable();
502 }
503
504 // OPERATIONS [ParameterableElement]
505
506 bool QUmlCommunicationPathObject::isCompatibleWith(QObject *p) const
507 {
508     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isCompatibleWith(qmodelingelementproperty_cast<QUmlParameterableElement *>(p));
509 }
510
511 bool QUmlCommunicationPathObject::isTemplateParameter() const
512 {
513     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isTemplateParameter();
514 }
515
516 // OPERATIONS [Type]
517
518 // OPERATIONS [RedefinableElement]
519
520 bool QUmlCommunicationPathObject::isConsistentWith(QObject *redefinee) const
521 {
522     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
523 }
524
525 bool QUmlCommunicationPathObject::isRedefinitionContextValid(QObject *redefined) const
526 {
527     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
528 }
529
530 // OPERATIONS [TemplateableElement]
531
532 QSet<QObject *> QUmlCommunicationPathObject::parameterableElements() const
533 {
534     QSet<QObject *> set;
535     foreach (QUmlParameterableElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->parameterableElements())
536         set.insert(element->asQModelingObject());
537     return set;
538 }
539
540 // OPERATIONS [Classifier]
541
542 QSet<QObject *> QUmlCommunicationPathObject::allFeatures() const
543 {
544     QSet<QObject *> set;
545     foreach (QUmlFeature *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->allFeatures())
546         set.insert(element->asQModelingObject());
547     return set;
548 }
549
550 QSet<QObject *> QUmlCommunicationPathObject::allParents() const
551 {
552     QSet<QObject *> set;
553     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->allParents())
554         set.insert(element->asQModelingObject());
555     return set;
556 }
557
558 bool QUmlCommunicationPathObject::conformsTo(QObject *other) const
559 {
560     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->conformsTo(qmodelingelementproperty_cast<QUmlClassifier *>(other));
561 }
562
563 bool QUmlCommunicationPathObject::hasVisibilityOf(QObject *n) const
564 {
565     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->hasVisibilityOf(qmodelingelementproperty_cast<QUmlNamedElement *>(n));
566 }
567
568 QSet<QObject *> QUmlCommunicationPathObject::inherit(QSet<QObject *> inhs) const
569 {
570     QSet<QUmlNamedElement *> inhsConverted;
571     foreach (QObject *object, inhs)
572         inhsConverted.insert(qmodelingelementproperty_cast<QUmlNamedElement *>(object));
573     QSet<QObject *> set;
574     foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->inherit(inhsConverted))
575         set.insert(element->asQModelingObject());
576     return set;
577 }
578
579 QSet<QObject *> QUmlCommunicationPathObject::inheritableMembers(QObject *c) const
580 {
581     QSet<QObject *> set;
582     foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->inheritableMembers(qmodelingelementproperty_cast<QUmlClassifier *>(c)))
583         set.insert(element->asQModelingObject());
584     return set;
585 }
586
587 bool QUmlCommunicationPathObject::isTemplate() const
588 {
589     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->isTemplate();
590 }
591
592 bool QUmlCommunicationPathObject::maySpecializeType(QObject *c) const
593 {
594     return qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->maySpecializeType(qmodelingelementproperty_cast<QUmlClassifier *>(c));
595 }
596
597 QSet<QObject *> QUmlCommunicationPathObject::parents() const
598 {
599     QSet<QObject *> set;
600     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->parents())
601         set.insert(element->asQModelingObject());
602     return set;
603 }
604
605 // SLOTS FOR OWNED ATTRIBUTES [Element]
606
607 void QUmlCommunicationPathObject::addOwnedComment(QObject *ownedComment)
608 {
609     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
610 }
611
612 void QUmlCommunicationPathObject::removeOwnedComment(QObject *ownedComment)
613 {
614     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
615 }
616
617 void QUmlCommunicationPathObject::addOwnedElement(QObject *ownedElement)
618 {
619     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
620 }
621
622 void QUmlCommunicationPathObject::removeOwnedElement(QObject *ownedElement)
623 {
624     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
625 }
626
627 void QUmlCommunicationPathObject::setOwner(QObject *owner)
628 {
629     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
630 }
631
632 // SLOTS FOR OWNED ATTRIBUTES [NamedElement]
633
634 void QUmlCommunicationPathObject::addClientDependency(QObject *clientDependency)
635 {
636     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
637 }
638
639 void QUmlCommunicationPathObject::removeClientDependency(QObject *clientDependency)
640 {
641     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
642 }
643
644 void QUmlCommunicationPathObject::setName(QString name)
645 {
646     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setName(name);
647 }
648
649 void QUmlCommunicationPathObject::setNameExpression(QObject *nameExpression)
650 {
651     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
652 }
653
654 void QUmlCommunicationPathObject::setNamespace(QObject *namespace_)
655 {
656     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
657 }
658
659 void QUmlCommunicationPathObject::setQualifiedName(QString qualifiedName)
660 {
661     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setQualifiedName(qualifiedName);
662 }
663 // SLOTS FOR OWNED ATTRIBUTES [Namespace]
664
665 void QUmlCommunicationPathObject::addElementImport(QObject *elementImport)
666 {
667     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
668 }
669
670 void QUmlCommunicationPathObject::removeElementImport(QObject *elementImport)
671 {
672     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
673 }
674
675 void QUmlCommunicationPathObject::addImportedMember(QObject *importedMember)
676 {
677     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
678 }
679
680 void QUmlCommunicationPathObject::removeImportedMember(QObject *importedMember)
681 {
682     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
683 }
684
685 void QUmlCommunicationPathObject::addMember(QObject *member)
686 {
687     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
688 }
689
690 void QUmlCommunicationPathObject::removeMember(QObject *member)
691 {
692     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
693 }
694
695 void QUmlCommunicationPathObject::addOwnedMember(QObject *ownedMember)
696 {
697     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
698 }
699
700 void QUmlCommunicationPathObject::removeOwnedMember(QObject *ownedMember)
701 {
702     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
703 }
704
705 void QUmlCommunicationPathObject::addOwnedRule(QObject *ownedRule)
706 {
707     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
708 }
709
710 void QUmlCommunicationPathObject::removeOwnedRule(QObject *ownedRule)
711 {
712     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
713 }
714
715 void QUmlCommunicationPathObject::addPackageImport(QObject *packageImport)
716 {
717     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addPackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
718 }
719
720 void QUmlCommunicationPathObject::removePackageImport(QObject *packageImport)
721 {
722     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removePackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
723 }
724
725 // SLOTS FOR OWNED ATTRIBUTES [ParameterableElement]
726
727 void QUmlCommunicationPathObject::setOwningTemplateParameter(QObject *owningTemplateParameter)
728 {
729     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setOwningTemplateParameter(qmodelingelementproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter));
730 }
731 // SLOTS FOR OWNED ATTRIBUTES [PackageableElement]
732
733 void QUmlCommunicationPathObject::setVisibility(QtUml::VisibilityKind visibility)
734 {
735     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setVisibility(visibility);
736 }
737
738 void QUmlCommunicationPathObject::unsetVisibility()
739 {
740     Q_D(QModelingObject);
741     setVisibility(QtUml::VisibilityKindPublic);
742     d->modifiedResettableProperties.removeAll(QStringLiteral("visibility"));
743 }
744
745 // SLOTS FOR OWNED ATTRIBUTES [Type]
746
747 void QUmlCommunicationPathObject::setPackage(QObject *package)
748 {
749     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setPackage(qmodelingelementproperty_cast<QUmlPackage *>(package));
750 }
751
752 // SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
753
754 void QUmlCommunicationPathObject::setLeaf(bool isLeaf)
755 {
756     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setLeaf(isLeaf);
757 }
758
759 void QUmlCommunicationPathObject::unsetLeaf()
760 {
761     Q_D(QModelingObject);
762     setLeaf(false);
763     d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
764 }
765
766 void QUmlCommunicationPathObject::addRedefinedElement(QObject *redefinedElement)
767 {
768     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
769 }
770
771 void QUmlCommunicationPathObject::removeRedefinedElement(QObject *redefinedElement)
772 {
773     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
774 }
775
776 void QUmlCommunicationPathObject::addRedefinitionContext(QObject *redefinitionContext)
777 {
778     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
779 }
780
781 void QUmlCommunicationPathObject::removeRedefinitionContext(QObject *redefinitionContext)
782 {
783     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
784 }
785
786 // SLOTS FOR OWNED ATTRIBUTES [TemplateableElement]
787
788 void QUmlCommunicationPathObject::addTemplateBinding(QObject *templateBinding)
789 {
790     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addTemplateBinding(qmodelingelementproperty_cast<QUmlTemplateBinding *>(templateBinding));
791 }
792
793 void QUmlCommunicationPathObject::removeTemplateBinding(QObject *templateBinding)
794 {
795     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeTemplateBinding(qmodelingelementproperty_cast<QUmlTemplateBinding *>(templateBinding));
796 }
797
798 // SLOTS FOR OWNED ATTRIBUTES [Classifier]
799
800 void QUmlCommunicationPathObject::addAttribute(QObject *attribute)
801 {
802     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addAttribute(qmodelingelementproperty_cast<QUmlProperty *>(attribute));
803 }
804
805 void QUmlCommunicationPathObject::removeAttribute(QObject *attribute)
806 {
807     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeAttribute(qmodelingelementproperty_cast<QUmlProperty *>(attribute));
808 }
809
810 void QUmlCommunicationPathObject::addCollaborationUse(QObject *collaborationUse)
811 {
812     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addCollaborationUse(qmodelingelementproperty_cast<QUmlCollaborationUse *>(collaborationUse));
813 }
814
815 void QUmlCommunicationPathObject::removeCollaborationUse(QObject *collaborationUse)
816 {
817     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeCollaborationUse(qmodelingelementproperty_cast<QUmlCollaborationUse *>(collaborationUse));
818 }
819
820 void QUmlCommunicationPathObject::addFeature(QObject *feature)
821 {
822     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addFeature(qmodelingelementproperty_cast<QUmlFeature *>(feature));
823 }
824
825 void QUmlCommunicationPathObject::removeFeature(QObject *feature)
826 {
827     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeFeature(qmodelingelementproperty_cast<QUmlFeature *>(feature));
828 }
829
830 void QUmlCommunicationPathObject::addGeneral(QObject *general)
831 {
832     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addGeneral(qmodelingelementproperty_cast<QUmlClassifier *>(general));
833 }
834
835 void QUmlCommunicationPathObject::removeGeneral(QObject *general)
836 {
837     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeGeneral(qmodelingelementproperty_cast<QUmlClassifier *>(general));
838 }
839
840 void QUmlCommunicationPathObject::addGeneralization(QObject *generalization)
841 {
842     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addGeneralization(qmodelingelementproperty_cast<QUmlGeneralization *>(generalization));
843 }
844
845 void QUmlCommunicationPathObject::removeGeneralization(QObject *generalization)
846 {
847     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeGeneralization(qmodelingelementproperty_cast<QUmlGeneralization *>(generalization));
848 }
849
850 void QUmlCommunicationPathObject::addInheritedMember(QObject *inheritedMember)
851 {
852     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addInheritedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(inheritedMember));
853 }
854
855 void QUmlCommunicationPathObject::removeInheritedMember(QObject *inheritedMember)
856 {
857     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeInheritedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(inheritedMember));
858 }
859
860 void QUmlCommunicationPathObject::setAbstract(bool isAbstract)
861 {
862     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setAbstract(isAbstract);
863 }
864
865 void QUmlCommunicationPathObject::unsetAbstract()
866 {
867     Q_D(QModelingObject);
868     setAbstract(false);
869     d->modifiedResettableProperties.removeAll(QStringLiteral("abstract"));
870 }
871
872 void QUmlCommunicationPathObject::setFinalSpecialization(bool isFinalSpecialization)
873 {
874     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setFinalSpecialization(isFinalSpecialization);
875 }
876
877 void QUmlCommunicationPathObject::unsetFinalSpecialization()
878 {
879     Q_D(QModelingObject);
880     setFinalSpecialization(false);
881     d->modifiedResettableProperties.removeAll(QStringLiteral("finalSpecialization"));
882 }
883
884 void QUmlCommunicationPathObject::setOwnedTemplateSignature(QObject *ownedTemplateSignature)
885 {
886     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setOwnedTemplateSignature(qmodelingelementproperty_cast<QUmlRedefinableTemplateSignature *>(ownedTemplateSignature));
887 }
888
889 void QUmlCommunicationPathObject::addOwnedUseCase(QObject *ownedUseCase)
890 {
891     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(ownedUseCase));
892 }
893
894 void QUmlCommunicationPathObject::removeOwnedUseCase(QObject *ownedUseCase)
895 {
896     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(ownedUseCase));
897 }
898
899 void QUmlCommunicationPathObject::addPowertypeExtent(QObject *powertypeExtent)
900 {
901     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addPowertypeExtent(qmodelingelementproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
902 }
903
904 void QUmlCommunicationPathObject::removePowertypeExtent(QObject *powertypeExtent)
905 {
906     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removePowertypeExtent(qmodelingelementproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
907 }
908
909 void QUmlCommunicationPathObject::addRedefinedClassifier(QObject *redefinedClassifier)
910 {
911     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addRedefinedClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(redefinedClassifier));
912 }
913
914 void QUmlCommunicationPathObject::removeRedefinedClassifier(QObject *redefinedClassifier)
915 {
916     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeRedefinedClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(redefinedClassifier));
917 }
918
919 void QUmlCommunicationPathObject::setRepresentation(QObject *representation)
920 {
921     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setRepresentation(qmodelingelementproperty_cast<QUmlCollaborationUse *>(representation));
922 }
923
924 void QUmlCommunicationPathObject::addSubstitution(QObject *substitution)
925 {
926     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addSubstitution(qmodelingelementproperty_cast<QUmlSubstitution *>(substitution));
927 }
928
929 void QUmlCommunicationPathObject::removeSubstitution(QObject *substitution)
930 {
931     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeSubstitution(qmodelingelementproperty_cast<QUmlSubstitution *>(substitution));
932 }
933
934 void QUmlCommunicationPathObject::setTemplateParameter(QObject *templateParameter)
935 {
936     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setTemplateParameter(qmodelingelementproperty_cast<QUmlClassifierTemplateParameter *>(templateParameter));
937 }
938
939 void QUmlCommunicationPathObject::addUseCase(QObject *useCase)
940 {
941     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(useCase));
942 }
943
944 void QUmlCommunicationPathObject::removeUseCase(QObject *useCase)
945 {
946     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(useCase));
947 }
948
949 // SLOTS FOR OWNED ATTRIBUTES [Relationship]
950
951 void QUmlCommunicationPathObject::addRelatedElement(QObject *relatedElement)
952 {
953     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement));
954 }
955
956 void QUmlCommunicationPathObject::removeRelatedElement(QObject *relatedElement)
957 {
958     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement));
959 }
960
961 // SLOTS FOR OWNED ATTRIBUTES [Association]
962
963 void QUmlCommunicationPathObject::addEndType(QObject *endType)
964 {
965     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addEndType(qmodelingelementproperty_cast<QUmlType *>(endType));
966 }
967
968 void QUmlCommunicationPathObject::removeEndType(QObject *endType)
969 {
970     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeEndType(qmodelingelementproperty_cast<QUmlType *>(endType));
971 }
972
973 void QUmlCommunicationPathObject::setDerived(bool isDerived)
974 {
975     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->setDerived(isDerived);
976 }
977
978 void QUmlCommunicationPathObject::unsetDerived()
979 {
980     Q_D(QModelingObject);
981     setDerived(false);
982     d->modifiedResettableProperties.removeAll(QStringLiteral("derived"));
983 }
984
985 void QUmlCommunicationPathObject::addMemberEnd(QObject *memberEnd)
986 {
987     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addMemberEnd(qmodelingelementproperty_cast<QUmlProperty *>(memberEnd));
988 }
989
990 void QUmlCommunicationPathObject::removeMemberEnd(QObject *memberEnd)
991 {
992     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeMemberEnd(qmodelingelementproperty_cast<QUmlProperty *>(memberEnd));
993 }
994
995 void QUmlCommunicationPathObject::addNavigableOwnedEnd(QObject *navigableOwnedEnd)
996 {
997     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addNavigableOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(navigableOwnedEnd));
998 }
999
1000 void QUmlCommunicationPathObject::removeNavigableOwnedEnd(QObject *navigableOwnedEnd)
1001 {
1002     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeNavigableOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(navigableOwnedEnd));
1003 }
1004
1005 void QUmlCommunicationPathObject::addOwnedEnd(QObject *ownedEnd)
1006 {
1007     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->addOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(ownedEnd));
1008 }
1009
1010 void QUmlCommunicationPathObject::removeOwnedEnd(QObject *ownedEnd)
1011 {
1012     qmodelingelementproperty_cast<QUmlCommunicationPath *>(this)->removeOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(ownedEnd));
1013 }
1014
1015
1016 void QUmlCommunicationPathObject::setGroupProperties()
1017 {
1018     Q_D(QModelingObject);
1019     const QMetaObject *metaObject = this->metaObject();
1020
1021     d->propertyGroups << QStringLiteral("QObject");
1022     d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName"))));
1023
1024     d->propertyGroups << QStringLiteral("QUmlElement");
1025     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments"))));
1026     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements"))));
1027     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner"))));
1028
1029     d->propertyGroups << QStringLiteral("QUmlNamedElement");
1030     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies"))));
1031     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name"))));
1032     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression"))));
1033     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_"))));
1034     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName"))));
1035
1036     d->propertyGroups << QStringLiteral("QUmlNamespace");
1037     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("elementImports"))));
1038     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("importedMembers"))));
1039     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("members"))));
1040     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedMembers"))));
1041     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedRules"))));
1042     d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("packageImports"))));
1043
1044     d->propertyGroups << QStringLiteral("QUmlParameterableElement");
1045     d->groupProperties.insert(QStringLiteral("QUmlParameterableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningTemplateParameter"))));
1046
1047     d->propertyGroups << QStringLiteral("QUmlPackageableElement");
1048     d->groupProperties.insert(QStringLiteral("QUmlPackageableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
1049
1050     d->propertyGroups << QStringLiteral("QUmlType");
1051     d->groupProperties.insert(QStringLiteral("QUmlType"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("package"))));
1052
1053     d->propertyGroups << QStringLiteral("QUmlRedefinableElement");
1054     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
1055     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
1056     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts"))));
1057
1058     d->propertyGroups << QStringLiteral("QUmlTemplateableElement");
1059     d->groupProperties.insert(QStringLiteral("QUmlTemplateableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateBindings"))));
1060
1061     d->propertyGroups << QStringLiteral("QUmlClassifier");
1062     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("attributes"))));
1063     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("collaborationUses"))));
1064     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("features"))));
1065     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("generals"))));
1066     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("generalizations"))));
1067     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inheritedMembers"))));
1068     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isAbstract"))));
1069     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isFinalSpecialization"))));
1070     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedTemplateSignature"))));
1071     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedUseCases"))));
1072     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("powertypeExtents"))));
1073     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedClassifiers"))));
1074     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("representation"))));
1075     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("substitutions"))));
1076     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateParameter"))));
1077     d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("useCases"))));
1078
1079     d->propertyGroups << QStringLiteral("QUmlRelationship");
1080     d->groupProperties.insert(QStringLiteral("QUmlRelationship"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("relatedElements"))));
1081
1082     d->propertyGroups << QStringLiteral("QUmlAssociation");
1083     d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("endTypes"))));
1084     d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerived"))));
1085     d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("memberEnds"))));
1086     d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("navigableOwnedEnds"))));
1087     d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedEnds"))));
1088
1089     d->propertyGroups << QStringLiteral("QUmlCommunicationPath");
1090 }
1091
1092 void QUmlCommunicationPathObject::setPropertyData()
1093 {
1094     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, AggregationRole, QStringLiteral("composite"));
1095     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, PropertyClassRole, QStringLiteral("QUmlElement"));
1096     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedRole, false);
1097     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedUnionRole, false);
1098     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, DocumentationRole, QStringLiteral("The Comments owned by this element."));
1099     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, RedefinedPropertiesRole, QStringLiteral(""));
1100     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
1101     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, OppositeEndRole, QStringLiteral(""));
1102
1103     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, AggregationRole, QStringLiteral("composite"));
1104     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, PropertyClassRole, QStringLiteral("QUmlElement"));
1105     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedRole, true);
1106     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedUnionRole, true);
1107     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, DocumentationRole, QStringLiteral("The Elements owned by this element."));
1108     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, RedefinedPropertiesRole, QStringLiteral(""));
1109     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, SubsettedPropertiesRole, QStringLiteral(""));
1110     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, OppositeEndRole, QStringLiteral("Element-owner"));
1111
1112     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, AggregationRole, QStringLiteral("none"));
1113     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, PropertyClassRole, QStringLiteral("QUmlElement"));
1114     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedRole, true);
1115     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedUnionRole, true);
1116     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, DocumentationRole, QStringLiteral("The Element that owns this element."));
1117     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, RedefinedPropertiesRole, QStringLiteral(""));
1118     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, SubsettedPropertiesRole, QStringLiteral(""));
1119     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, OppositeEndRole, QStringLiteral("Element-ownedElement"));
1120
1121     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, AggregationRole, QStringLiteral("none"));
1122     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1123     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedRole, false);
1124     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedUnionRole, false);
1125     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, DocumentationRole, QStringLiteral("Indicates the dependencies that reference the client."));
1126     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, RedefinedPropertiesRole, QStringLiteral(""));
1127     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship"));
1128     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, OppositeEndRole, QStringLiteral("Dependency-client"));
1129
1130     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, AggregationRole, QStringLiteral("none"));
1131     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1132     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedRole, false);
1133     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedUnionRole, false);
1134     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, DocumentationRole, QStringLiteral("The name of the NamedElement."));
1135     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, RedefinedPropertiesRole, QStringLiteral(""));
1136     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, SubsettedPropertiesRole, QStringLiteral(""));
1137     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, OppositeEndRole, QStringLiteral(""));
1138
1139     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, AggregationRole, QStringLiteral("composite"));
1140     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1141     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedRole, false);
1142     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedUnionRole, false);
1143     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, DocumentationRole, QStringLiteral("The string expression used to define the name of this named element."));
1144     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, RedefinedPropertiesRole, QStringLiteral(""));
1145     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
1146     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, OppositeEndRole, QStringLiteral(""));
1147
1148     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, AggregationRole, QStringLiteral("none"));
1149     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1150     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedRole, true);
1151     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedUnionRole, true);
1152     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, DocumentationRole, QStringLiteral("Specifies the namespace that owns the NamedElement."));
1153     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, RedefinedPropertiesRole, QStringLiteral(""));
1154     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace Element-owner"));
1155     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, OppositeEndRole, QStringLiteral("Namespace-ownedMember"));
1156
1157     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, AggregationRole, QStringLiteral("none"));
1158     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1159     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedRole, true);
1160     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedUnionRole, false);
1161     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, DocumentationRole, QStringLiteral("A name which allows the NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from the names of the containing namespaces starting at the root of the hierarchy and ending with the name of the NamedElement itself."));
1162     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, RedefinedPropertiesRole, QStringLiteral(""));
1163     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, SubsettedPropertiesRole, QStringLiteral(""));
1164     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, OppositeEndRole, QStringLiteral(""));
1165
1166     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, AggregationRole, QStringLiteral("none"));
1167     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
1168     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedRole, false);
1169     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedUnionRole, false);
1170     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, DocumentationRole, QStringLiteral("Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility."));
1171     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, RedefinedPropertiesRole, QStringLiteral(""));
1172     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
1173     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, OppositeEndRole, QStringLiteral(""));
1174
1175     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, AggregationRole, QStringLiteral("composite"));
1176     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1177     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, IsDerivedRole, false);
1178     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, IsDerivedUnionRole, false);
1179     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, DocumentationRole, QStringLiteral("References the ElementImports owned by the Namespace."));
1180     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, RedefinedPropertiesRole, QStringLiteral(""));
1181     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
1182     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, OppositeEndRole, QStringLiteral("ElementImport-importingNamespace"));
1183
1184     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, AggregationRole, QStringLiteral("none"));
1185     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1186     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, IsDerivedRole, true);
1187     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, IsDerivedUnionRole, false);
1188     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, DocumentationRole, QStringLiteral("References the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports."));
1189     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, RedefinedPropertiesRole, QStringLiteral(""));
1190     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
1191     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, OppositeEndRole, QStringLiteral(""));
1192
1193     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, AggregationRole, QStringLiteral("none"));
1194     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1195     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, IsDerivedRole, true);
1196     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, IsDerivedUnionRole, true);
1197     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, DocumentationRole, QStringLiteral("A collection of NamedElements identifiable within the Namespace, either by being owned or by being introduced by importing or inheritance."));
1198     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, RedefinedPropertiesRole, QStringLiteral(""));
1199     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, SubsettedPropertiesRole, QStringLiteral(""));
1200     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, OppositeEndRole, QStringLiteral(""));
1201
1202     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, AggregationRole, QStringLiteral("composite"));
1203     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1204     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, IsDerivedRole, true);
1205     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, IsDerivedUnionRole, true);
1206     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, DocumentationRole, QStringLiteral("A collection of NamedElements owned by the Namespace."));
1207     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, RedefinedPropertiesRole, QStringLiteral(""));
1208     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, SubsettedPropertiesRole, QStringLiteral("Namespace-member Element-ownedElement"));
1209     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, OppositeEndRole, QStringLiteral("NamedElement-namespace"));
1210
1211     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, AggregationRole, QStringLiteral("composite"));
1212     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1213     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, IsDerivedRole, false);
1214     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, IsDerivedUnionRole, false);
1215     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, DocumentationRole, QStringLiteral("Specifies a set of Constraints owned by this Namespace."));
1216     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, RedefinedPropertiesRole, QStringLiteral(""));
1217     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedMember"));
1218     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, OppositeEndRole, QStringLiteral("Constraint-context"));
1219
1220     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, AggregationRole, QStringLiteral("composite"));
1221     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, PropertyClassRole, QStringLiteral("QUmlNamespace"));
1222     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, IsDerivedRole, false);
1223     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, IsDerivedUnionRole, false);
1224     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, DocumentationRole, QStringLiteral("References the PackageImports owned by the Namespace."));
1225     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, RedefinedPropertiesRole, QStringLiteral(""));
1226     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
1227     Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, OppositeEndRole, QStringLiteral("PackageImport-importingNamespace"));
1228
1229     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, AggregationRole, QStringLiteral("none"));
1230     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, PropertyClassRole, QStringLiteral("QUmlParameterableElement"));
1231     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, IsDerivedRole, false);
1232     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, IsDerivedUnionRole, false);
1233     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, DocumentationRole, QStringLiteral("The formal template parameter that owns this element."));
1234     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, RedefinedPropertiesRole, QStringLiteral(""));
1235     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, SubsettedPropertiesRole, QStringLiteral("ParameterableElement-templateParameter Element-owner"));
1236     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, owningTemplateParameter, OppositeEndRole, QStringLiteral("TemplateParameter-ownedParameteredElement"));
1237
1238     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, AggregationRole, QStringLiteral("none"));
1239     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, PropertyClassRole, QStringLiteral("QUmlParameterableElement"));
1240     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, IsDerivedRole, false);
1241     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, IsDerivedUnionRole, false);
1242     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, DocumentationRole, QStringLiteral("The template parameter that exposes this element as a formal parameter."));
1243     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, RedefinedPropertiesRole, QStringLiteral(""));
1244     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, SubsettedPropertiesRole, QStringLiteral(""));
1245     Q_DECLARE_METAPROPERTY_INFO(QUmlParameterableElement, templateParameter, OppositeEndRole, QStringLiteral("TemplateParameter-parameteredElement"));
1246
1247     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, AggregationRole, QStringLiteral("none"));
1248     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, PropertyClassRole, QStringLiteral("QUmlPackageableElement"));
1249     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, IsDerivedRole, false);
1250     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, IsDerivedUnionRole, false);
1251     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, DocumentationRole, QStringLiteral("Indicates that packageable elements must always have a visibility, i.e., visibility is not optional."));
1252     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, RedefinedPropertiesRole, QStringLiteral("NamedElement-visibility"));
1253     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
1254     Q_DECLARE_METAPROPERTY_INFO(QUmlPackageableElement, visibility, OppositeEndRole, QStringLiteral(""));
1255
1256     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, AggregationRole, QStringLiteral("none"));
1257     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, PropertyClassRole, QStringLiteral("QUmlType"));
1258     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, IsDerivedRole, false);
1259     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, IsDerivedUnionRole, false);
1260     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, DocumentationRole, QStringLiteral("Specifies the owning package of this classifier, if any."));
1261     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, RedefinedPropertiesRole, QStringLiteral(""));
1262     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, SubsettedPropertiesRole, QStringLiteral("A_packagedElement_owningPackage-owningPackage"));
1263     Q_DECLARE_METAPROPERTY_INFO(QUmlType, package, OppositeEndRole, QStringLiteral("Package-ownedType"));
1264
1265     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, AggregationRole, QStringLiteral("none"));
1266     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
1267     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedRole, false);
1268     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedUnionRole, false);
1269     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, DocumentationRole, QStringLiteral("Indicates whether it is possible to further redefine a RedefinableElement. If the value is true, then it is not possible to further redefine the RedefinableElement. Note that this property is preserved through package merge operations; that is, the capability to redefine a RedefinableElement (i.e., isLeaf=false) must be preserved in the resulting RedefinableElement of a package merge operation where a RedefinableElement with isLeaf=false is merged with a matching RedefinableElement with isLeaf=true: the resulting RedefinableElement will have isLeaf=false. Default value is false."));
1270     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, RedefinedPropertiesRole, QStringLiteral(""));
1271     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, SubsettedPropertiesRole, QStringLiteral(""));
1272     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, OppositeEndRole, QStringLiteral(""));
1273
1274     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, AggregationRole, QStringLiteral("none"));
1275     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
1276     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedRole, true);
1277     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedUnionRole, true);
1278     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, DocumentationRole, QStringLiteral("The redefinable element that is being redefined by this element."));
1279     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, RedefinedPropertiesRole, QStringLiteral(""));
1280     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, SubsettedPropertiesRole, QStringLiteral(""));
1281     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, OppositeEndRole, QStringLiteral(""));
1282
1283     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, AggregationRole, QStringLiteral("none"));
1284     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
1285     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedRole, true);
1286     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedUnionRole, true);
1287     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, DocumentationRole, QStringLiteral("References the contexts that this element may be redefined from."));
1288     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, RedefinedPropertiesRole, QStringLiteral(""));
1289     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, SubsettedPropertiesRole, QStringLiteral(""));
1290     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, OppositeEndRole, QStringLiteral(""));
1291
1292     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, AggregationRole, QStringLiteral("composite"));
1293     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, PropertyClassRole, QStringLiteral("QUmlTemplateableElement"));
1294     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, IsDerivedRole, false);
1295     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, IsDerivedUnionRole, false);
1296     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, DocumentationRole, QStringLiteral("The optional template signature specifying the formal template parameters."));
1297     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, RedefinedPropertiesRole, QStringLiteral(""));
1298     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
1299     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, ownedTemplateSignature, OppositeEndRole, QStringLiteral("TemplateSignature-template"));
1300
1301     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, AggregationRole, QStringLiteral("composite"));
1302     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, PropertyClassRole, QStringLiteral("QUmlTemplateableElement"));
1303     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, IsDerivedRole, false);
1304     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, IsDerivedUnionRole, false);
1305     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, DocumentationRole, QStringLiteral("The optional bindings from this element to templates."));
1306     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, RedefinedPropertiesRole, QStringLiteral(""));
1307     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
1308     Q_DECLARE_METAPROPERTY_INFO(QUmlTemplateableElement, templateBindings, OppositeEndRole, QStringLiteral("TemplateBinding-boundElement"));
1309
1310     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, AggregationRole, QStringLiteral("none"));
1311     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1312     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, IsDerivedRole, true);
1313     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, IsDerivedUnionRole, true);
1314     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, DocumentationRole, QStringLiteral("Refers to all of the Properties that are direct (i.e. not inherited or imported) attributes of the classifier."));
1315     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, RedefinedPropertiesRole, QStringLiteral(""));
1316     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, SubsettedPropertiesRole, QStringLiteral("Classifier-feature A_redefinitionContext_redefinableElement-redefinableElement"));
1317     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, attributes, OppositeEndRole, QStringLiteral(""));
1318
1319     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, AggregationRole, QStringLiteral("composite"));
1320     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1321     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, IsDerivedRole, false);
1322     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, IsDerivedUnionRole, false);
1323     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, DocumentationRole, QStringLiteral("References the collaboration uses owned by the classifier."));
1324     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, RedefinedPropertiesRole, QStringLiteral(""));
1325     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
1326     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, collaborationUses, OppositeEndRole, QStringLiteral(""));
1327
1328     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, AggregationRole, QStringLiteral("none"));
1329     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1330     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, IsDerivedRole, true);
1331     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, IsDerivedUnionRole, true);
1332     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, DocumentationRole, QStringLiteral("Specifies each feature defined in the classifier.Note that there may be members of the Classifier that are of the type Feature but are not included in this association, e.g. inherited features."));
1333     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, RedefinedPropertiesRole, QStringLiteral(""));
1334     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
1335     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, features, OppositeEndRole, QStringLiteral("Feature-featuringClassifier"));
1336
1337     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, AggregationRole, QStringLiteral("none"));
1338     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1339     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, IsDerivedRole, true);
1340     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, IsDerivedUnionRole, false);
1341     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, DocumentationRole, QStringLiteral("Specifies the general Classifiers for this Classifier.References the general classifier in the Generalization relationship."));
1342     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, RedefinedPropertiesRole, QStringLiteral(""));
1343     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, SubsettedPropertiesRole, QStringLiteral(""));
1344     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generals, OppositeEndRole, QStringLiteral(""));
1345
1346     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, AggregationRole, QStringLiteral("composite"));
1347     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1348     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, IsDerivedRole, false);
1349     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, IsDerivedUnionRole, false);
1350     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, DocumentationRole, QStringLiteral("Specifies the Generalization relationships for this Classifier. These Generalizations navigaten to more general classifiers in the generalization hierarchy."));
1351     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, RedefinedPropertiesRole, QStringLiteral(""));
1352     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
1353     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, generalizations, OppositeEndRole, QStringLiteral("Generalization-specific"));
1354
1355     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, AggregationRole, QStringLiteral("none"));
1356     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1357     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, IsDerivedRole, true);
1358     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, IsDerivedUnionRole, false);
1359     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, DocumentationRole, QStringLiteral("Specifies all elements inherited by this classifier from the general classifiers."));
1360     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, RedefinedPropertiesRole, QStringLiteral(""));
1361     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
1362     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, inheritedMembers, OppositeEndRole, QStringLiteral(""));
1363
1364     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, AggregationRole, QStringLiteral("none"));
1365     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1366     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, IsDerivedRole, false);
1367     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, IsDerivedUnionRole, false);
1368     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, DocumentationRole, QStringLiteral("If true, the Classifier does not provide a complete declaration and can typically not be instantiated. An abstract classifier is intended to be used by other classifiers e.g. as the target of general metarelationships or generalization relationships."));
1369     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, RedefinedPropertiesRole, QStringLiteral(""));
1370     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, SubsettedPropertiesRole, QStringLiteral(""));
1371     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isAbstract, OppositeEndRole, QStringLiteral(""));
1372
1373     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, AggregationRole, QStringLiteral("none"));
1374     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1375     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, IsDerivedRole, false);
1376     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, IsDerivedUnionRole, false);
1377     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, DocumentationRole, QStringLiteral("If true, the Classifier cannot be specialized by generalization. Note that this property is preserved through package merge operations; that is, the capability to specialize a Classifier (i.e., isFinalSpecialization =false) must be preserved in the resulting Classifier of a package merge operation where a Classifier with isFinalSpecialization =false is merged with a matching Classifier with isFinalSpecialization =true: the resulting Classifier will have isFinalSpecialization =false."));
1378     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, RedefinedPropertiesRole, QStringLiteral(""));
1379     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, SubsettedPropertiesRole, QStringLiteral(""));
1380     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, isFinalSpecialization, OppositeEndRole, QStringLiteral(""));
1381
1382     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, AggregationRole, QStringLiteral("composite"));
1383     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1384     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, IsDerivedRole, false);
1385     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, IsDerivedUnionRole, false);
1386     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, DocumentationRole, QStringLiteral("The optional template signature specifying the formal template parameters."));
1387     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, RedefinedPropertiesRole, QStringLiteral("TemplateableElement-ownedTemplateSignature"));
1388     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, SubsettedPropertiesRole, QStringLiteral("A_redefinitionContext_redefinableElement-redefinableElement"));
1389     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedTemplateSignature, OppositeEndRole, QStringLiteral("RedefinableTemplateSignature-classifier"));
1390
1391     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, AggregationRole, QStringLiteral("composite"));
1392     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1393     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, IsDerivedRole, false);
1394     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, IsDerivedUnionRole, false);
1395     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, DocumentationRole, QStringLiteral("References the use cases owned by this classifier."));
1396     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, RedefinedPropertiesRole, QStringLiteral(""));
1397     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedMember"));
1398     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, ownedUseCases, OppositeEndRole, QStringLiteral(""));
1399
1400     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, AggregationRole, QStringLiteral("none"));
1401     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1402     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, IsDerivedRole, false);
1403     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, IsDerivedUnionRole, false);
1404     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, DocumentationRole, QStringLiteral("Designates the GeneralizationSet of which the associated Classifier is a power type."));
1405     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, RedefinedPropertiesRole, QStringLiteral(""));
1406     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, SubsettedPropertiesRole, QStringLiteral(""));
1407     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, powertypeExtents, OppositeEndRole, QStringLiteral("GeneralizationSet-powertype"));
1408
1409     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, AggregationRole, QStringLiteral("none"));
1410     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1411     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, IsDerivedRole, false);
1412     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, IsDerivedUnionRole, false);
1413     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, DocumentationRole, QStringLiteral("References the Classifiers that are redefined by this Classifier."));
1414     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, RedefinedPropertiesRole, QStringLiteral(""));
1415     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
1416     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, redefinedClassifiers, OppositeEndRole, QStringLiteral(""));
1417
1418     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, AggregationRole, QStringLiteral("none"));
1419     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1420     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, IsDerivedRole, false);
1421     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, IsDerivedUnionRole, false);
1422     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, DocumentationRole, QStringLiteral("References a collaboration use which indicates the collaboration that represents this classifier."));
1423     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, RedefinedPropertiesRole, QStringLiteral(""));
1424     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, SubsettedPropertiesRole, QStringLiteral("Classifier-collaborationUse"));
1425     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, representation, OppositeEndRole, QStringLiteral(""));
1426
1427     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, AggregationRole, QStringLiteral("composite"));
1428     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1429     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, IsDerivedRole, false);
1430     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, IsDerivedUnionRole, false);
1431     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, DocumentationRole, QStringLiteral("References the substitutions that are owned by this Classifier."));
1432     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, RedefinedPropertiesRole, QStringLiteral(""));
1433     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement NamedElement-clientDependency"));
1434     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, substitutions, OppositeEndRole, QStringLiteral("Substitution-substitutingClassifier"));
1435
1436     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, AggregationRole, QStringLiteral("none"));
1437     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1438     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, IsDerivedRole, false);
1439     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, IsDerivedUnionRole, false);
1440     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, DocumentationRole, QStringLiteral("The template parameter that exposes this element as a formal parameter."));
1441     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, RedefinedPropertiesRole, QStringLiteral("ParameterableElement-templateParameter"));
1442     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, SubsettedPropertiesRole, QStringLiteral(""));
1443     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, templateParameter, OppositeEndRole, QStringLiteral("ClassifierTemplateParameter-parameteredElement"));
1444
1445     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, AggregationRole, QStringLiteral("none"));
1446     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, PropertyClassRole, QStringLiteral("QUmlClassifier"));
1447     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, IsDerivedRole, false);
1448     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, IsDerivedUnionRole, false);
1449     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, DocumentationRole, QStringLiteral("The set of use cases for which this Classifier is the subject."));
1450     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, RedefinedPropertiesRole, QStringLiteral(""));
1451     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, SubsettedPropertiesRole, QStringLiteral(""));
1452     Q_DECLARE_METAPROPERTY_INFO(QUmlClassifier, useCases, OppositeEndRole, QStringLiteral("UseCase-subject"));
1453
1454     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, AggregationRole, QStringLiteral("none"));
1455     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, PropertyClassRole, QStringLiteral("QUmlRelationship"));
1456     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, IsDerivedRole, true);
1457     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, IsDerivedUnionRole, true);
1458     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, DocumentationRole, QStringLiteral("Specifies the elements related by the Relationship."));
1459     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, RedefinedPropertiesRole, QStringLiteral(""));
1460     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, SubsettedPropertiesRole, QStringLiteral(""));
1461     Q_DECLARE_METAPROPERTY_INFO(QUmlRelationship, relatedElements, OppositeEndRole, QStringLiteral(""));
1462
1463     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, AggregationRole, QStringLiteral("none"));
1464     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, PropertyClassRole, QStringLiteral("QUmlAssociation"));
1465     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, IsDerivedRole, true);
1466     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, IsDerivedUnionRole, false);
1467     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, DocumentationRole, QStringLiteral("References the classifiers that are used as types of the ends of the association."));
1468     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, RedefinedPropertiesRole, QStringLiteral(""));
1469     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, SubsettedPropertiesRole, QStringLiteral("Relationship-relatedElement"));
1470     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, OppositeEndRole, QStringLiteral(""));
1471
1472     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, AggregationRole, QStringLiteral("none"));
1473     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, PropertyClassRole, QStringLiteral("QUmlAssociation"));
1474     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, IsDerivedRole, false);
1475     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, IsDerivedUnionRole, false);
1476     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, DocumentationRole, QStringLiteral("Specifies whether the association is derived from other model elements such as other associations or constraints."));
1477     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, RedefinedPropertiesRole, QStringLiteral(""));
1478     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, SubsettedPropertiesRole, QStringLiteral(""));
1479     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, OppositeEndRole, QStringLiteral(""));
1480
1481     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, AggregationRole, QStringLiteral("none"));
1482     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
1483     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, IsDerivedRole, false);
1484     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, IsDerivedUnionRole, false);
1485     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, DocumentationRole, QStringLiteral("Each end represents participation of instances of the classifier connected to the end in links of the association."));
1486     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, RedefinedPropertiesRole, QStringLiteral(""));
1487     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
1488     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, OppositeEndRole, QStringLiteral("Property-association"));
1489
1490     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, AggregationRole, QStringLiteral("none"));
1491     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
1492     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, IsDerivedRole, false);
1493     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, IsDerivedUnionRole, false);
1494     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, DocumentationRole, QStringLiteral("The navigable ends that are owned by the association itself."));
1495     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, RedefinedPropertiesRole, QStringLiteral(""));
1496     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, SubsettedPropertiesRole, QStringLiteral("Association-ownedEnd"));
1497     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, OppositeEndRole, QStringLiteral(""));
1498
1499     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, AggregationRole, QStringLiteral("composite"));
1500     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
1501     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, IsDerivedRole, false);
1502     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, IsDerivedUnionRole, false);
1503     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, DocumentationRole, QStringLiteral("The ends that are owned by the association itself."));
1504     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, RedefinedPropertiesRole, QStringLiteral(""));
1505     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, SubsettedPropertiesRole, QStringLiteral("Association-memberEnd Classifier-feature A_redefinitionContext_redefinableElement-redefinableElement Namespace-ownedMember"));
1506     Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, OppositeEndRole, QStringLiteral("Property-owningAssociation"));
1507
1508 }
1509
1510 QT_END_NAMESPACE
1511