1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
|
/****************************************************************************
**
** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtUml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qumlregionobject_p.h"
#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlRegion>
#include <QtUml/QUmlClassifier>
#include <QtUml/QUmlComment>
#include <QtUml/QUmlConstraint>
#include <QtUml/QUmlDependency>
#include <QtUml/QUmlElement>
#include <QtUml/QUmlElementImport>
#include <QtUml/QUmlNamedElement>
#include <QtUml/QUmlNamespace>
#include <QtUml/QUmlPackage>
#include <QtUml/QUmlPackageableElement>
#include <QtUml/QUmlPackageImport>
#include <QtUml/QUmlRedefinableElement>
#include <QtUml/QUmlState>
#include <QtUml/QUmlStateMachine>
#include <QtUml/QUmlStringExpression>
#include <QtUml/QUmlTransition>
#include <QtUml/QUmlVertex>
QT_BEGIN_NAMESPACE
QUmlRegionObject::QUmlRegionObject(QUmlRegion *modelingElement)
{
setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(modelingElement)));
setGroupProperties();
setPropertyData();
}
// OWNED ATTRIBUTES [Element]
const QSet<QObject *> QUmlRegionObject::ownedComments() const
{
QSet<QObject *> set;
foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->ownedComments())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::ownedElements() const
{
QSet<QObject *> set;
foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->ownedElements())
set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlRegionObject::owner() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->owner())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
const QSet<QObject *> QUmlRegionObject::clientDependencies() const
{
QSet<QObject *> set;
foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->clientDependencies())
set.insert(element->asQModelingObject());
return set;
}
QString QUmlRegionObject::name() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->name();
}
QObject *QUmlRegionObject::nameExpression() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->nameExpression())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlRegionObject::namespace_() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->namespace_())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->namespace_()->asQModelingObject();
}
QString QUmlRegionObject::qualifiedName() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->qualifiedName();
}
QtUml::VisibilityKind QUmlRegionObject::visibility() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->visibility();
}
// OWNED ATTRIBUTES [RedefinableElement]
bool QUmlRegionObject::isLeaf() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->isLeaf();
}
const QSet<QObject *> QUmlRegionObject::redefinedElements() const
{
QSet<QObject *> set;
foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->redefinedElements())
set.insert(element->asQModelingObject());
return set;
}
// OWNED ATTRIBUTES [Namespace]
const QSet<QObject *> QUmlRegionObject::elementImports() const
{
QSet<QObject *> set;
foreach (QUmlElementImport *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->elementImports())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::importedMembers() const
{
QSet<QObject *> set;
foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->importedMembers())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::members() const
{
QSet<QObject *> set;
foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->members())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::ownedMembers() const
{
QSet<QObject *> set;
foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->ownedMembers())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::ownedRules() const
{
QSet<QObject *> set;
foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->ownedRules())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::packageImports() const
{
QSet<QObject *> set;
foreach (QUmlPackageImport *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->packageImports())
set.insert(element->asQModelingObject());
return set;
}
// OWNED ATTRIBUTES [Region]
QObject *QUmlRegionObject::extendedRegion() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->extendedRegion())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->extendedRegion()->asQModelingObject();
}
QObject *QUmlRegionObject::redefinitionContext() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->redefinitionContext())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->redefinitionContext()->asQModelingObject();
}
QObject *QUmlRegionObject::state() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->state())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->state()->asQModelingObject();
}
QObject *QUmlRegionObject::stateMachine() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->stateMachine())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->stateMachine()->asQModelingObject();
}
const QSet<QObject *> QUmlRegionObject::subvertices() const
{
QSet<QObject *> set;
foreach (QUmlVertex *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->subvertices())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlRegionObject::transitions() const
{
QSet<QObject *> set;
foreach (QUmlTransition *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->transitions())
set.insert(element->asQModelingObject());
return set;
}
// OPERATIONS [Element]
QSet<QObject *> QUmlRegionObject::allOwnedElements() const
{
QSet<QObject *> set;
foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->allOwnedElements())
set.insert(element->asQModelingObject());
return set;
}
bool QUmlRegionObject::mustBeOwned() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
QList<QObject *> QUmlRegionObject::allNamespaces() const
{
QList<QObject *> set;
foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->allNamespaces())
set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlRegionObject::allOwningPackages() const
{
QSet<QObject *> set;
foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->allOwningPackages())
set.insert(element->asQModelingObject());
return set;
}
bool QUmlRegionObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlRegionObject::separator() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->separator();
}
// OPERATIONS [RedefinableElement]
// OPERATIONS [Namespace]
QSet<QObject *> QUmlRegionObject::excludeCollisions(QSet<QObject *> imps) const
{
QSet<QUmlPackageableElement *> impsConverted;
foreach (QObject *object, imps)
impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
QSet<QObject *> set;
foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->excludeCollisions(impsConverted))
set.insert(element->asQModelingObject());
return set;
}
QSet<QString> QUmlRegionObject::getNamesOfMember(QObject *element) const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->getNamesOfMember(qmodelingelementproperty_cast<QUmlNamedElement *>(element));
}
QSet<QObject *> QUmlRegionObject::importMembers(QSet<QObject *> imps) const
{
QSet<QUmlPackageableElement *> impsConverted;
foreach (QObject *object, imps)
impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
QSet<QObject *> set;
foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlRegion *>(this)->importMembers(impsConverted))
set.insert(element->asQModelingObject());
return set;
}
bool QUmlRegionObject::membersAreDistinguishable() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->membersAreDistinguishable();
}
// OPERATIONS [Region]
bool QUmlRegionObject::belongsToPSM() const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->belongsToPSM();
}
QObject *QUmlRegionObject::containingStateMachine() const
{
if (!qmodelingelementproperty_cast<QUmlRegion *>(this)->containingStateMachine())
return 0;
else
return qmodelingelementproperty_cast<QUmlRegion *>(this)->containingStateMachine()->asQModelingObject();
}
bool QUmlRegionObject::isConsistentWith(QObject *redefinee) const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
}
bool QUmlRegionObject::isRedefinitionContextValid(QObject *redefined) const
{
return qmodelingelementproperty_cast<QUmlRegion *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRegion *>(redefined));
}
// SLOTS FOR OWNED ATTRIBUTES [Element]
void QUmlRegionObject::addOwnedComment(QObject *ownedComment)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
emit ownedCommentsChanged(this->ownedComments());
}
void QUmlRegionObject::removeOwnedComment(QObject *ownedComment)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
emit ownedCommentsChanged(this->ownedComments());
}
void QUmlRegionObject::addOwnedElement(QObject *ownedElement)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
emit ownedElementsChanged(this->ownedElements());
}
void QUmlRegionObject::removeOwnedElement(QObject *ownedElement)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
emit ownedElementsChanged(this->ownedElements());
}
void QUmlRegionObject::setOwner(QObject *owner)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
emit ownerChanged(this->owner());
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlRegionObject::addClientDependency(QObject *clientDependency)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
emit clientDependenciesChanged(this->clientDependencies());
}
void QUmlRegionObject::removeClientDependency(QObject *clientDependency)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
emit clientDependenciesChanged(this->clientDependencies());
}
void QUmlRegionObject::setName(QString name)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setName(name);
emit nameChanged(this->name());
}
void QUmlRegionObject::setNameExpression(QObject *nameExpression)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
emit nameExpressionChanged(this->nameExpression());
}
void QUmlRegionObject::setNamespace(QObject *namespace_)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
emit namespaceChanged(this->namespace_());
}
void QUmlRegionObject::setQualifiedName(QString qualifiedName)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setQualifiedName(qualifiedName);
emit qualifiedNameChanged(this->qualifiedName());
}
void QUmlRegionObject::setVisibility(QtUml::VisibilityKind visibility)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setVisibility(visibility);
emit visibilityChanged(this->visibility());
}
// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
void QUmlRegionObject::setLeaf(bool isLeaf)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setLeaf(isLeaf);
emit isLeafChanged(this->isLeaf());
}
void QUmlRegionObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlRegionObject::addRedefinedElement(QObject *redefinedElement)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
emit redefinedElementsChanged(this->redefinedElements());
}
void QUmlRegionObject::removeRedefinedElement(QObject *redefinedElement)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
emit redefinedElementsChanged(this->redefinedElements());
}
// SLOTS FOR OWNED ATTRIBUTES [Namespace]
void QUmlRegionObject::addElementImport(QObject *elementImport)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
emit elementImportsChanged(this->elementImports());
}
void QUmlRegionObject::removeElementImport(QObject *elementImport)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
emit elementImportsChanged(this->elementImports());
}
void QUmlRegionObject::addImportedMember(QObject *importedMember)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
emit importedMembersChanged(this->importedMembers());
}
void QUmlRegionObject::removeImportedMember(QObject *importedMember)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
emit importedMembersChanged(this->importedMembers());
}
void QUmlRegionObject::addMember(QObject *member)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
emit membersChanged(this->members());
}
void QUmlRegionObject::removeMember(QObject *member)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
emit membersChanged(this->members());
}
void QUmlRegionObject::addOwnedMember(QObject *ownedMember)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
emit ownedMembersChanged(this->ownedMembers());
}
void QUmlRegionObject::removeOwnedMember(QObject *ownedMember)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
emit ownedMembersChanged(this->ownedMembers());
}
void QUmlRegionObject::addOwnedRule(QObject *ownedRule)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
emit ownedRulesChanged(this->ownedRules());
}
void QUmlRegionObject::removeOwnedRule(QObject *ownedRule)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
emit ownedRulesChanged(this->ownedRules());
}
void QUmlRegionObject::addPackageImport(QObject *packageImport)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addPackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
emit packageImportsChanged(this->packageImports());
}
void QUmlRegionObject::removePackageImport(QObject *packageImport)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removePackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
emit packageImportsChanged(this->packageImports());
}
// SLOTS FOR OWNED ATTRIBUTES [Region]
void QUmlRegionObject::setExtendedRegion(QObject *extendedRegion)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setExtendedRegion(qmodelingelementproperty_cast<QUmlRegion *>(extendedRegion));
emit extendedRegionChanged(this->extendedRegion());
}
void QUmlRegionObject::setRedefinitionContext(QObject *redefinitionContext)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
emit redefinitionContextChanged(this->redefinitionContext());
}
void QUmlRegionObject::setState(QObject *state)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setState(qmodelingelementproperty_cast<QUmlState *>(state));
emit stateChanged(this->state());
}
void QUmlRegionObject::setStateMachine(QObject *stateMachine)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->setStateMachine(qmodelingelementproperty_cast<QUmlStateMachine *>(stateMachine));
emit stateMachineChanged(this->stateMachine());
}
void QUmlRegionObject::addSubvertex(QObject *subvertex)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addSubvertex(qmodelingelementproperty_cast<QUmlVertex *>(subvertex));
emit subverticesChanged(this->subvertices());
}
void QUmlRegionObject::removeSubvertex(QObject *subvertex)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeSubvertex(qmodelingelementproperty_cast<QUmlVertex *>(subvertex));
emit subverticesChanged(this->subvertices());
}
void QUmlRegionObject::addTransition(QObject *transition)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->addTransition(qmodelingelementproperty_cast<QUmlTransition *>(transition));
emit transitionsChanged(this->transitions());
}
void QUmlRegionObject::removeTransition(QObject *transition)
{
qmodelingelementproperty_cast<QUmlRegion *>(this)->removeTransition(qmodelingelementproperty_cast<QUmlTransition *>(transition));
emit transitionsChanged(this->transitions());
}
void QUmlRegionObject::setGroupProperties()
{
Q_D(QModelingObject);
const QMetaObject *metaObject = this->metaObject();
d->propertyGroups << QStringLiteral("QObject");
d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName"))));
d->propertyGroups << QStringLiteral("QUmlElement");
d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments"))));
d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements"))));
d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner"))));
d->propertyGroups << QStringLiteral("QUmlNamedElement");
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies"))));
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name"))));
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression"))));
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_"))));
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName"))));
d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
d->propertyGroups << QStringLiteral("QUmlRedefinableElement");
d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
d->propertyGroups << QStringLiteral("QUmlNamespace");
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("elementImports"))));
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("importedMembers"))));
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("members"))));
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedMembers"))));
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedRules"))));
d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("packageImports"))));
d->propertyGroups << QStringLiteral("QUmlRegion");
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("extendedRegion"))));
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContext"))));
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("state"))));
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("stateMachine"))));
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("subvertices"))));
d->groupProperties.insert(QStringLiteral("QUmlRegion"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("transitions"))));
}
void QUmlRegionObject::setPropertyData()
{
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, PropertyClassRole, QStringLiteral("QUmlElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, PropertyTypeRole, QStringLiteral("QSet<QUmlComment *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, DocumentationRole, QStringLiteral("The Comments owned by this element."));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, PropertyClassRole, QStringLiteral("QUmlElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, PropertyTypeRole, QStringLiteral("QSet<QUmlElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, DocumentationRole, QStringLiteral("The Elements owned by this element."));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, OppositeEndRole, QStringLiteral("Element-owner"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, PropertyClassRole, QStringLiteral("QUmlElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, PropertyTypeRole, QStringLiteral("QUmlElement *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, DocumentationRole, QStringLiteral("The Element that owns this element."));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, OppositeEndRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, PropertyTypeRole, QStringLiteral("QSet<QUmlDependency *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, DocumentationRole, QStringLiteral("Indicates the dependencies that reference the client."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, OppositeEndRole, QStringLiteral("Dependency-client"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, DocumentationRole, QStringLiteral("The name of the NamedElement."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, PropertyTypeRole, QStringLiteral("QUmlStringExpression *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, DocumentationRole, QStringLiteral("The string expression used to define the name of this named element."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, PropertyTypeRole, QStringLiteral("QUmlNamespace *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, DocumentationRole, QStringLiteral("Specifies the namespace that owns the NamedElement."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace Element-owner"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, OppositeEndRole, QStringLiteral("Namespace-ownedMember"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedUnionRole, false);
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."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, PropertyTypeRole, QStringLiteral("QtUml::VisibilityKind"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, DocumentationRole, QStringLiteral("Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedUnionRole, false);
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."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, PropertyTypeRole, QStringLiteral("QSet<QUmlRedefinableElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, DocumentationRole, QStringLiteral("The redefinable element that is being redefined by this element."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, PropertyTypeRole, QStringLiteral("QSet<QUmlClassifier *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, DocumentationRole, QStringLiteral("References the contexts that this element may be redefined from."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, PropertyTypeRole, QStringLiteral("QSet<QUmlElementImport *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, DocumentationRole, QStringLiteral("References the ElementImports owned by the Namespace."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, elementImports, OppositeEndRole, QStringLiteral("ElementImport-importingNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, PropertyTypeRole, QStringLiteral("QSet<QUmlPackageableElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, IsDerivedUnionRole, false);
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."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, importedMembers, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, PropertyTypeRole, QStringLiteral("QSet<QUmlNamedElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, IsDerivedUnionRole, true);
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."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, members, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, PropertyTypeRole, QStringLiteral("QSet<QUmlNamedElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, DocumentationRole, QStringLiteral("A collection of NamedElements owned by the Namespace."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, SubsettedPropertiesRole, QStringLiteral("Namespace-member Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedMembers, OppositeEndRole, QStringLiteral("NamedElement-namespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, PropertyTypeRole, QStringLiteral("QSet<QUmlConstraint *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, DocumentationRole, QStringLiteral("Specifies a set of Constraints owned by this Namespace."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedMember"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, ownedRules, OppositeEndRole, QStringLiteral("Constraint-context"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, PropertyClassRole, QStringLiteral("QUmlNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, PropertyTypeRole, QStringLiteral("QSet<QUmlPackageImport *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, DocumentationRole, QStringLiteral("References the PackageImports owned by the Namespace."));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlNamespace, packageImports, OppositeEndRole, QStringLiteral("PackageImport-importingNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, PropertyTypeRole, QStringLiteral("QUmlRegion *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, DocumentationRole, QStringLiteral("The region of which this region is an extension."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, extendedRegion, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, PropertyTypeRole, QStringLiteral("QUmlClassifier *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, DocumentationRole, QStringLiteral("References the classifier in which context this element may be redefined."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, RedefinedPropertiesRole, QStringLiteral("RedefinableElement-redefinitionContext"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, redefinitionContext, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, PropertyTypeRole, QStringLiteral("QUmlState *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, DocumentationRole, QStringLiteral("The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, state, OppositeEndRole, QStringLiteral("State-region"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, PropertyTypeRole, QStringLiteral("QUmlStateMachine *"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, DocumentationRole, QStringLiteral("The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, stateMachine, OppositeEndRole, QStringLiteral("StateMachine-region"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, PropertyTypeRole, QStringLiteral("QSet<QUmlVertex *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, DocumentationRole, QStringLiteral("The set of vertices that are owned by this region."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedMember"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, subvertices, OppositeEndRole, QStringLiteral("Vertex-container"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, PropertyClassRole, QStringLiteral("QUmlRegion"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, PropertyTypeRole, QStringLiteral("QSet<QUmlTransition *>"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, DocumentationRole, QStringLiteral("The set of transitions owned by the region."));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedMember"));
Q_DECLARE_METAPROPERTY_INFO(QUmlRegion, transitions, OppositeEndRole, QStringLiteral("Transition-container"));
}
QT_END_NAMESPACE
|