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
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
|
/****************************************************************************
**
** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtMof 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 "qmofpropertyobject_p.h"
#include "private/qmodelingobject_p.h"
#include <QtMof/QMofProperty>
#include <QtMof/QMofAssociation>
#include <QtMof/QMofClass>
#include <QtMof/QMofClassifier>
#include <QtMof/QMofComment>
#include <QtMof/QMofDataType>
#include <QtMof/QMofElement>
#include <QtMof/QMofMultiplicityElement>
#include <QtMof/QMofNamedElement>
#include <QtMof/QMofNamespace>
#include <QtMof/QMofRedefinableElement>
#include <QtMof/QMofType>
#include <QtMof/QMofValueSpecification>
QT_BEGIN_NAMESPACE
QMofPropertyObject::QMofPropertyObject(QMofProperty *modelingElement)
{
setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(modelingElement)));
setGroupProperties();
setPropertyData();
}
// OWNED ATTRIBUTES [Element]
const QSet<QObject *> QMofPropertyObject::ownedComments() const
{
QSet<QObject *> set;
foreach (QMofComment *element, qmodelingelementproperty_cast<QMofProperty *>(this)->ownedComments())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QMofPropertyObject::ownedElements() const
{
QSet<QObject *> set;
foreach (QMofElement *element, qmodelingelementproperty_cast<QMofProperty *>(this)->ownedElements())
set.insert(element->asQModelingObject());
return set;
}
QObject *QMofPropertyObject::owner() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->owner())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
QString QMofPropertyObject::name() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->name();
}
QObject *QMofPropertyObject::namespace_() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->namespace_())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->namespace_()->asQModelingObject();
}
QString QMofPropertyObject::qualifiedName() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->qualifiedName();
}
QtMof::VisibilityKind QMofPropertyObject::visibility() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->visibility();
}
// OWNED ATTRIBUTES [RedefinableElement]
bool QMofPropertyObject::isLeaf() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isLeaf();
}
const QSet<QObject *> QMofPropertyObject::redefinedElements() const
{
QSet<QObject *> set;
foreach (QMofRedefinableElement *element, qmodelingelementproperty_cast<QMofProperty *>(this)->redefinedElements())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QMofPropertyObject::redefinitionContexts() const
{
QSet<QObject *> set;
foreach (QMofClassifier *element, qmodelingelementproperty_cast<QMofProperty *>(this)->redefinitionContexts())
set.insert(element->asQModelingObject());
return set;
}
// OWNED ATTRIBUTES [Feature]
const QSet<QObject *> QMofPropertyObject::featuringClassifiers() const
{
QSet<QObject *> set;
foreach (QMofClassifier *element, qmodelingelementproperty_cast<QMofProperty *>(this)->featuringClassifiers())
set.insert(element->asQModelingObject());
return set;
}
bool QMofPropertyObject::isStatic() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isStatic();
}
// OWNED ATTRIBUTES [TypedElement]
QObject *QMofPropertyObject::type() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->type())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->type()->asQModelingObject();
}
// OWNED ATTRIBUTES [MultiplicityElement]
bool QMofPropertyObject::isOrdered() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isOrdered();
}
bool QMofPropertyObject::isUnique() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isUnique();
}
int QMofPropertyObject::lower() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->lower();
}
QObject *QMofPropertyObject::lowerValue() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->lowerValue())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->lowerValue()->asQModelingObject();
}
QString QMofPropertyObject::upper() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->upper();
}
QObject *QMofPropertyObject::upperValue() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->upperValue())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->upperValue()->asQModelingObject();
}
// OWNED ATTRIBUTES [Property]
QtMof::AggregationKind QMofPropertyObject::aggregation() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->aggregation();
}
QObject *QMofPropertyObject::association() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->association())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->association()->asQModelingObject();
}
QObject *QMofPropertyObject::class_() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->class_())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->class_()->asQModelingObject();
}
QObject *QMofPropertyObject::datatype() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->datatype())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->datatype()->asQModelingObject();
}
QString QMofPropertyObject::default_() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->default_();
}
QObject *QMofPropertyObject::defaultValue() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->defaultValue())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->defaultValue()->asQModelingObject();
}
bool QMofPropertyObject::isComposite() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isComposite();
}
bool QMofPropertyObject::isDerived() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isDerived();
}
bool QMofPropertyObject::isDerivedUnion() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isDerivedUnion();
}
bool QMofPropertyObject::isID() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isID();
}
bool QMofPropertyObject::isReadOnly() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isReadOnly();
}
QObject *QMofPropertyObject::opposite() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->opposite())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->opposite()->asQModelingObject();
}
QObject *QMofPropertyObject::owningAssociation() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->owningAssociation())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->owningAssociation()->asQModelingObject();
}
const QSet<QObject *> QMofPropertyObject::redefinedProperties() const
{
QSet<QObject *> set;
foreach (QMofProperty *element, qmodelingelementproperty_cast<QMofProperty *>(this)->redefinedProperties())
set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QMofPropertyObject::subsettedProperties() const
{
QSet<QObject *> set;
foreach (QMofProperty *element, qmodelingelementproperty_cast<QMofProperty *>(this)->subsettedProperties())
set.insert(element->asQModelingObject());
return set;
}
// OPERATIONS [Element]
QSet<QObject *> QMofPropertyObject::allOwnedElements() const
{
QSet<QObject *> set;
foreach (QMofElement *element, qmodelingelementproperty_cast<QMofProperty *>(this)->allOwnedElements())
set.insert(element->asQModelingObject());
return set;
}
bool QMofPropertyObject::mustBeOwned() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->mustBeOwned();
}
QObject *QMofPropertyObject::getMetaClass() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->getMetaClass())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->getMetaClass()->asQModelingObject();
}
QObject *QMofPropertyObject::container() const
{
if (!qmodelingelementproperty_cast<QMofProperty *>(this)->container())
return 0;
else
return qmodelingelementproperty_cast<QMofProperty *>(this)->container()->asQModelingObject();
}
bool QMofPropertyObject::isInstanceOfType(QObject *type, bool includesSubtypes) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isInstanceOfType(qmodelingelementproperty_cast<QMofClass *>(type), includesSubtypes);
}
void QMofPropertyObject::delete_()
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->delete_();
}
// OPERATIONS [NamedElement]
QList<QObject *> QMofPropertyObject::allNamespaces() const
{
QList<QObject *> set;
foreach (QMofNamespace *element, qmodelingelementproperty_cast<QMofProperty *>(this)->allNamespaces())
set.append(element->asQModelingObject());
return set;
}
bool QMofPropertyObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QMofNamedElement *>(n), qmodelingelementproperty_cast<QMofNamespace *>(ns));
}
QString QMofPropertyObject::separator() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->separator();
}
// OPERATIONS [RedefinableElement]
bool QMofPropertyObject::isRedefinitionContextValid(QObject *redefined) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QMofRedefinableElement *>(redefined));
}
// OPERATIONS [MultiplicityElement]
bool QMofPropertyObject::includesCardinality(int C) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->includesCardinality(C);
}
bool QMofPropertyObject::includesMultiplicity(QObject *M) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->includesMultiplicity(qmodelingelementproperty_cast<QMofMultiplicityElement *>(M));
}
bool QMofPropertyObject::isMultivalued() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isMultivalued();
}
int QMofPropertyObject::lowerBound() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->lowerBound();
}
QString QMofPropertyObject::upperBound() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->upperBound();
}
// OPERATIONS [Property]
bool QMofPropertyObject::isAttribute(QObject *p) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isAttribute(qmodelingelementproperty_cast<QMofProperty *>(p));
}
bool QMofPropertyObject::isConsistentWith(QObject *redefinee) const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isConsistentWith(qmodelingelementproperty_cast<QMofRedefinableElement *>(redefinee));
}
bool QMofPropertyObject::isNavigable() const
{
return qmodelingelementproperty_cast<QMofProperty *>(this)->isNavigable();
}
QSet<QObject *> QMofPropertyObject::subsettingContext() const
{
QSet<QObject *> set;
foreach (QMofType *element, qmodelingelementproperty_cast<QMofProperty *>(this)->subsettingContext())
set.insert(element->asQModelingObject());
return set;
}
// SLOTS FOR OWNED ATTRIBUTES [Element]
void QMofPropertyObject::addOwnedComment(QObject *ownedComment)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addOwnedComment(qmodelingelementproperty_cast<QMofComment *>(ownedComment));
emit ownedCommentsChanged(this->ownedComments());
}
void QMofPropertyObject::removeOwnedComment(QObject *ownedComment)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QMofComment *>(ownedComment));
emit ownedCommentsChanged(this->ownedComments());
}
void QMofPropertyObject::addOwnedElement(QObject *ownedElement)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addOwnedElement(qmodelingelementproperty_cast<QMofElement *>(ownedElement));
emit ownedElementsChanged(this->ownedElements());
}
void QMofPropertyObject::removeOwnedElement(QObject *ownedElement)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QMofElement *>(ownedElement));
emit ownedElementsChanged(this->ownedElements());
}
void QMofPropertyObject::setOwner(QObject *owner)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setOwner(qmodelingelementproperty_cast<QMofElement *>(owner));
emit ownerChanged(this->owner());
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QMofPropertyObject::setName(QString name)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setName(name);
emit nameChanged(this->name());
}
void QMofPropertyObject::setNamespace(QObject *namespace_)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setNamespace(qmodelingelementproperty_cast<QMofNamespace *>(namespace_));
emit namespaceChanged(this->namespace_());
}
void QMofPropertyObject::setQualifiedName(QString qualifiedName)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setQualifiedName(qualifiedName);
emit qualifiedNameChanged(this->qualifiedName());
}
void QMofPropertyObject::setVisibility(QtMof::VisibilityKind visibility)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setVisibility(visibility);
emit visibilityChanged(this->visibility());
}
// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
void QMofPropertyObject::setLeaf(bool isLeaf)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setLeaf(isLeaf);
emit isLeafChanged(this->isLeaf());
}
void QMofPropertyObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QMofPropertyObject::addRedefinedElement(QObject *redefinedElement)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QMofRedefinableElement *>(redefinedElement));
emit redefinedElementsChanged(this->redefinedElements());
}
void QMofPropertyObject::removeRedefinedElement(QObject *redefinedElement)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QMofRedefinableElement *>(redefinedElement));
emit redefinedElementsChanged(this->redefinedElements());
}
void QMofPropertyObject::addRedefinitionContext(QObject *redefinitionContext)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QMofClassifier *>(redefinitionContext));
emit redefinitionContextsChanged(this->redefinitionContexts());
}
void QMofPropertyObject::removeRedefinitionContext(QObject *redefinitionContext)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QMofClassifier *>(redefinitionContext));
emit redefinitionContextsChanged(this->redefinitionContexts());
}
// SLOTS FOR OWNED ATTRIBUTES [Feature]
void QMofPropertyObject::addFeaturingClassifier(QObject *featuringClassifier)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addFeaturingClassifier(qmodelingelementproperty_cast<QMofClassifier *>(featuringClassifier));
emit featuringClassifiersChanged(this->featuringClassifiers());
}
void QMofPropertyObject::removeFeaturingClassifier(QObject *featuringClassifier)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeFeaturingClassifier(qmodelingelementproperty_cast<QMofClassifier *>(featuringClassifier));
emit featuringClassifiersChanged(this->featuringClassifiers());
}
void QMofPropertyObject::setStatic(bool isStatic)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setStatic(isStatic);
emit isStaticChanged(this->isStatic());
}
void QMofPropertyObject::unsetStatic()
{
Q_D(QModelingObject);
setStatic(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isStatic"));
}
// SLOTS FOR OWNED ATTRIBUTES [TypedElement]
void QMofPropertyObject::setType(QObject *type)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setType(qmodelingelementproperty_cast<QMofType *>(type));
emit typeChanged(this->type());
}
// SLOTS FOR OWNED ATTRIBUTES [MultiplicityElement]
void QMofPropertyObject::setOrdered(bool isOrdered)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setOrdered(isOrdered);
emit isOrderedChanged(this->isOrdered());
}
void QMofPropertyObject::unsetOrdered()
{
Q_D(QModelingObject);
setOrdered(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isOrdered"));
}
void QMofPropertyObject::setUnique(bool isUnique)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setUnique(isUnique);
emit isUniqueChanged(this->isUnique());
}
void QMofPropertyObject::unsetUnique()
{
Q_D(QModelingObject);
setUnique(true);
d->modifiedResettableProperties.removeAll(QStringLiteral("isUnique"));
}
void QMofPropertyObject::setLower(int lower)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setLower(lower);
emit lowerChanged(this->lower());
}
void QMofPropertyObject::unsetLower()
{
Q_D(QModelingObject);
setLower(1);
d->modifiedResettableProperties.removeAll(QStringLiteral("lower"));
}
void QMofPropertyObject::setLowerValue(QObject *lowerValue)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setLowerValue(qmodelingelementproperty_cast<QMofValueSpecification *>(lowerValue));
emit lowerValueChanged(this->lowerValue());
}
void QMofPropertyObject::setUpper(QString upper)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setUpper(upper);
emit upperChanged(this->upper());
}
void QMofPropertyObject::unsetUpper()
{
Q_D(QModelingObject);
setUpper(QStringLiteral("1"));
d->modifiedResettableProperties.removeAll(QStringLiteral("upper"));
}
void QMofPropertyObject::setUpperValue(QObject *upperValue)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setUpperValue(qmodelingelementproperty_cast<QMofValueSpecification *>(upperValue));
emit upperValueChanged(this->upperValue());
}
// SLOTS FOR OWNED ATTRIBUTES [Property]
void QMofPropertyObject::setAggregation(QtMof::AggregationKind aggregation)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setAggregation(aggregation);
emit aggregationChanged(this->aggregation());
}
void QMofPropertyObject::unsetAggregation()
{
Q_D(QModelingObject);
setAggregation(QtMof::AggregationKindNone);
d->modifiedResettableProperties.removeAll(QStringLiteral("aggregation"));
}
void QMofPropertyObject::setAssociation(QObject *association)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setAssociation(qmodelingelementproperty_cast<QMofAssociation *>(association));
emit associationChanged(this->association());
}
void QMofPropertyObject::setClass(QObject *class_)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setClass(qmodelingelementproperty_cast<QMofClass *>(class_));
emit classChanged(this->class_());
}
void QMofPropertyObject::setDatatype(QObject *datatype)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setDatatype(qmodelingelementproperty_cast<QMofDataType *>(datatype));
emit datatypeChanged(this->datatype());
}
void QMofPropertyObject::setDefault(QString default_)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setDefault(default_);
emit defaultChanged(this->default_());
}
void QMofPropertyObject::setDefaultValue(QObject *defaultValue)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setDefaultValue(qmodelingelementproperty_cast<QMofValueSpecification *>(defaultValue));
emit defaultValueChanged(this->defaultValue());
}
void QMofPropertyObject::setComposite(bool isComposite)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setComposite(isComposite);
emit isCompositeChanged(this->isComposite());
}
void QMofPropertyObject::setDerived(bool isDerived)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setDerived(isDerived);
emit isDerivedChanged(this->isDerived());
}
void QMofPropertyObject::unsetDerived()
{
Q_D(QModelingObject);
setDerived(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isDerived"));
}
void QMofPropertyObject::setDerivedUnion(bool isDerivedUnion)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setDerivedUnion(isDerivedUnion);
emit isDerivedUnionChanged(this->isDerivedUnion());
}
void QMofPropertyObject::unsetDerivedUnion()
{
Q_D(QModelingObject);
setDerivedUnion(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isDerivedUnion"));
}
void QMofPropertyObject::setID(bool isID)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setID(isID);
emit isIDChanged(this->isID());
}
void QMofPropertyObject::unsetID()
{
Q_D(QModelingObject);
setID(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isID"));
}
void QMofPropertyObject::setReadOnly(bool isReadOnly)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setReadOnly(isReadOnly);
emit isReadOnlyChanged(this->isReadOnly());
}
void QMofPropertyObject::unsetReadOnly()
{
Q_D(QModelingObject);
setReadOnly(false);
d->modifiedResettableProperties.removeAll(QStringLiteral("isReadOnly"));
}
void QMofPropertyObject::setOpposite(QObject *opposite)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setOpposite(qmodelingelementproperty_cast<QMofProperty *>(opposite));
emit oppositeChanged(this->opposite());
}
void QMofPropertyObject::setOwningAssociation(QObject *owningAssociation)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->setOwningAssociation(qmodelingelementproperty_cast<QMofAssociation *>(owningAssociation));
emit owningAssociationChanged(this->owningAssociation());
}
void QMofPropertyObject::addRedefinedProperty(QObject *redefinedProperty)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addRedefinedProperty(qmodelingelementproperty_cast<QMofProperty *>(redefinedProperty));
emit redefinedPropertiesChanged(this->redefinedProperties());
}
void QMofPropertyObject::removeRedefinedProperty(QObject *redefinedProperty)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeRedefinedProperty(qmodelingelementproperty_cast<QMofProperty *>(redefinedProperty));
emit redefinedPropertiesChanged(this->redefinedProperties());
}
void QMofPropertyObject::addSubsettedProperty(QObject *subsettedProperty)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->addSubsettedProperty(qmodelingelementproperty_cast<QMofProperty *>(subsettedProperty));
emit subsettedPropertiesChanged(this->subsettedProperties());
}
void QMofPropertyObject::removeSubsettedProperty(QObject *subsettedProperty)
{
qmodelingelementproperty_cast<QMofProperty *>(this)->removeSubsettedProperty(qmodelingelementproperty_cast<QMofProperty *>(subsettedProperty));
emit subsettedPropertiesChanged(this->subsettedProperties());
}
void QMofPropertyObject::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("QMofElement");
d->groupProperties.insert(QStringLiteral("QMofElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments"))));
d->groupProperties.insert(QStringLiteral("QMofElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements"))));
d->groupProperties.insert(QStringLiteral("QMofElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner"))));
d->propertyGroups << QStringLiteral("QMofNamedElement");
d->groupProperties.insert(QStringLiteral("QMofNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name"))));
d->groupProperties.insert(QStringLiteral("QMofNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_"))));
d->groupProperties.insert(QStringLiteral("QMofNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName"))));
d->groupProperties.insert(QStringLiteral("QMofNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
d->propertyGroups << QStringLiteral("QMofRedefinableElement");
d->groupProperties.insert(QStringLiteral("QMofRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
d->groupProperties.insert(QStringLiteral("QMofRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
d->groupProperties.insert(QStringLiteral("QMofRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts"))));
d->propertyGroups << QStringLiteral("QMofFeature");
d->groupProperties.insert(QStringLiteral("QMofFeature"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("featuringClassifiers"))));
d->groupProperties.insert(QStringLiteral("QMofFeature"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isStatic"))));
d->propertyGroups << QStringLiteral("QMofTypedElement");
d->groupProperties.insert(QStringLiteral("QMofTypedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("type"))));
d->propertyGroups << QStringLiteral("QMofMultiplicityElement");
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isOrdered"))));
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isUnique"))));
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lower"))));
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lowerValue"))));
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upper"))));
d->groupProperties.insert(QStringLiteral("QMofMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upperValue"))));
d->propertyGroups << QStringLiteral("QMofStructuralFeature");
d->propertyGroups << QStringLiteral("QMofProperty");
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("aggregation"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("association"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("class_"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("datatype"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("default_"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("defaultValue"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isComposite"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerived"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerivedUnion"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isID"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isReadOnly"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("opposite"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningAssociation"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedProperties"))));
d->groupProperties.insert(QStringLiteral("QMofProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("subsettedProperties"))));
}
void QMofPropertyObject::setPropertyData()
{
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, PropertyClassRole, QStringLiteral("QMofElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, PropertyTypeRole, QStringLiteral("QSet<QMofComment *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, DocumentationRole, QStringLiteral("The Comments owned by this element."));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedComments, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, PropertyClassRole, QStringLiteral("QMofElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, PropertyTypeRole, QStringLiteral("QSet<QMofElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, DocumentationRole, QStringLiteral("The Elements owned by this element."));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, ownedElements, OppositeEndRole, QStringLiteral("Element-owner"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, PropertyClassRole, QStringLiteral("QMofElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, PropertyTypeRole, QStringLiteral("QMofElement *"));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, DocumentationRole, QStringLiteral("The Element that owns this element."));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofElement, owner, OppositeEndRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, PropertyClassRole, QStringLiteral("QMofNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, DocumentationRole, QStringLiteral("The name of the NamedElement."));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, name, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, PropertyClassRole, QStringLiteral("QMofNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, PropertyTypeRole, QStringLiteral("QMofNamespace *"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, DocumentationRole, QStringLiteral("Specifies the namespace that owns the NamedElement."));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, SubsettedPropertiesRole, QStringLiteral("Element-owner A_member_memberNamespace-memberNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, namespace_, OppositeEndRole, QStringLiteral("Namespace-ownedMember"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, PropertyClassRole, QStringLiteral("QMofNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, 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(QMofNamedElement, qualifiedName, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, qualifiedName, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, PropertyClassRole, QStringLiteral("QMofNamedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, PropertyTypeRole, QStringLiteral("QtMof::VisibilityKind"));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, DocumentationRole, QStringLiteral("Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility."));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofNamedElement, visibility, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, PropertyClassRole, QStringLiteral("QMofRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, 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(QMofRedefinableElement, isLeaf, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, isLeaf, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, PropertyClassRole, QStringLiteral("QMofRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, PropertyTypeRole, QStringLiteral("QSet<QMofRedefinableElement *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, DocumentationRole, QStringLiteral("The redefinable element that is being redefined by this element."));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinedElements, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, PropertyClassRole, QStringLiteral("QMofRedefinableElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, PropertyTypeRole, QStringLiteral("QSet<QMofClassifier *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, DocumentationRole, QStringLiteral("References the contexts that this element may be redefined from."));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofRedefinableElement, redefinitionContexts, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, PropertyClassRole, QStringLiteral("QMofFeature"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, PropertyTypeRole, QStringLiteral("QSet<QMofClassifier *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, IsDerivedUnionRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, DocumentationRole, QStringLiteral("The Classifiers that have this Feature as a feature."));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, featuringClassifiers, OppositeEndRole, QStringLiteral("Classifier-feature"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, PropertyClassRole, QStringLiteral("QMofFeature"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, DocumentationRole, QStringLiteral("Specifies whether this feature characterizes individual instances classified by the classifier (false) or the classifier itself (true)."));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofFeature, isStatic, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, PropertyClassRole, QStringLiteral("QMofTypedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, PropertyTypeRole, QStringLiteral("QMofType *"));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, DocumentationRole, QStringLiteral("The type of the TypedElement."));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofTypedElement, type, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, DocumentationRole, QStringLiteral("For a multivalued multiplicity, this attribute specifies whether the values in an instantiation of this element are sequentially ordered."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isOrdered, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, DocumentationRole, QStringLiteral("For a multivalued multiplicity, this attributes specifies whether the values in an instantiation of this element are unique."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, isUnique, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, PropertyTypeRole, QStringLiteral("int"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, DocumentationRole, QStringLiteral("Specifies the lower bound of the multiplicity interval."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lower, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, PropertyTypeRole, QStringLiteral("QMofValueSpecification *"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, DocumentationRole, QStringLiteral("The specification of the lower bound for this multiplicity."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, lowerValue, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, DocumentationRole, QStringLiteral("Specifies the upper bound of the multiplicity interval."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upper, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, PropertyClassRole, QStringLiteral("QMofMultiplicityElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, PropertyTypeRole, QStringLiteral("QMofValueSpecification *"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, DocumentationRole, QStringLiteral("The specification of the upper bound for this multiplicity."));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofMultiplicityElement, upperValue, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, PropertyClassRole, QStringLiteral("QMofStructuralFeature"));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, DocumentationRole, QStringLiteral("States whether the feature's value may be modified by a client."));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofStructuralFeature, isReadOnly, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, PropertyTypeRole, QStringLiteral("QtMof::AggregationKind"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, DocumentationRole, QStringLiteral("Specifies the kind of aggregation that applies to the Property."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, aggregation, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, PropertyTypeRole, QStringLiteral("QMofAssociation *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, DocumentationRole, QStringLiteral("References the association of which this property is a member, if any."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, association, OppositeEndRole, QStringLiteral("Association-memberEnd"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, PropertyTypeRole, QStringLiteral("QMofClass *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, DocumentationRole, QStringLiteral("References the Class that owns the Property."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace A_attribute_classifier-classifier"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, class_, OppositeEndRole, QStringLiteral("Class-ownedAttribute"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, PropertyTypeRole, QStringLiteral("QMofDataType *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, DocumentationRole, QStringLiteral("The DataType that owns this Property."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace A_attribute_classifier-classifier"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, datatype, OppositeEndRole, QStringLiteral("DataType-ownedAttribute"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, PropertyTypeRole, QStringLiteral("QString"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, DocumentationRole, QStringLiteral("A String that is evaluated to give a default value for the Property when an object of the owning Classifier is instantiated."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, default_, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, AggregationRole, QStringLiteral("composite"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, PropertyTypeRole, QStringLiteral("QMofValueSpecification *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, DocumentationRole, QStringLiteral("A ValueSpecification that is evaluated to give a default value for the Property when an object of the owning Classifier is instantiated."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, defaultValue, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, DocumentationRole, QStringLiteral("This is a derived value, indicating whether the aggregation of the Property is composite or not."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isComposite, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, DocumentationRole, QStringLiteral("Specifies whether the Property is derived, i.e., whether its value or values can be computed from other information."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerived, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, DocumentationRole, QStringLiteral("Specifies whether the property is derived as the union of all of the properties that are constrained to subset it."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isDerivedUnion, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, DocumentationRole, QStringLiteral("True indicates this property can be used to uniquely identify an instance of the containing Class."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isID, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, PropertyTypeRole, QStringLiteral("bool"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, DocumentationRole, QStringLiteral("If true, the attribute may only be read, and not written."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, RedefinedPropertiesRole, QStringLiteral("StructuralFeature-isReadOnly"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, isReadOnly, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, PropertyTypeRole, QStringLiteral("QMofProperty *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, IsDerivedRole, true);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, DocumentationRole, QStringLiteral("In the case where the property is one navigable end of a binary association with both ends navigable, this gives the other end."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, opposite, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, PropertyTypeRole, QStringLiteral("QMofAssociation *"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, DocumentationRole, QStringLiteral("References the owning association of this property, if any."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace Property-association Feature-featuringClassifier RedefinableElement-redefinitionContext"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, owningAssociation, OppositeEndRole, QStringLiteral("Association-ownedEnd"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, PropertyTypeRole, QStringLiteral("QSet<QMofProperty *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, DocumentationRole, QStringLiteral("References the properties that are redefined by this property."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, redefinedProperties, OppositeEndRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, AggregationRole, QStringLiteral("none"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, PropertyClassRole, QStringLiteral("QMofProperty"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, PropertyTypeRole, QStringLiteral("QSet<QMofProperty *>"));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, IsDerivedRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, IsDerivedUnionRole, false);
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, DocumentationRole, QStringLiteral("References the properties of which this property is constrained to be a subset."));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, RedefinedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, SubsettedPropertiesRole, QStringLiteral(""));
Q_DECLARE_METAPROPERTY_INFO(QMofProperty, subsettedProperties, OppositeEndRole, QStringLiteral(""));
}
QT_END_NAMESPACE
|