Fix reset of properties with default value
[qt:qtmodeling.git] / src / uml / qobjects / qumloutputpinobject.cpp
1 /****************************************************************************
2 **
3 ** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org>
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtUml module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.  For licensing terms and
14 ** conditions see http://qt.digia.com/licensing.  For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file.  Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights.  These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file.  Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
38 ** $QT_END_LICENSE$
39 **
40 ****************************************************************************/
41 #include "qumloutputpinobject_p.h"
42 #include "private/qmodelingobject_p.h"
43
44 #include <QtUml/QUmlOutputPin>
45 #include <QtUml/QUmlActivity>
46 #include <QtUml/QUmlActivityEdge>
47 #include <QtUml/QUmlActivityGroup>
48 #include <QtUml/QUmlActivityNode>
49 #include <QtUml/QUmlActivityPartition>
50 #include <QtUml/QUmlBehavior>
51 #include <QtUml/QUmlClassifier>
52 #include <QtUml/QUmlComment>
53 #include <QtUml/QUmlDependency>
54 #include <QtUml/QUmlElement>
55 #include <QtUml/QUmlInterruptibleActivityRegion>
56 #include <QtUml/QUmlMultiplicityElement>
57 #include <QtUml/QUmlNamedElement>
58 #include <QtUml/QUmlNamespace>
59 #include <QtUml/QUmlPackage>
60 #include <QtUml/QUmlRedefinableElement>
61 #include <QtUml/QUmlState>
62 #include <QtUml/QUmlStringExpression>
63 #include <QtUml/QUmlStructuredActivityNode>
64 #include <QtUml/QUmlType>
65 #include <QtUml/QUmlValueSpecification>
66
67 QT_BEGIN_NAMESPACE
68
69 QUmlOutputPinObject::QUmlOutputPinObject(QUmlOutputPin *modelingElement)
70 {
71     setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(modelingElement)));
72     setGroupProperties();
73     setPropertyData();
74 }
75
76 // OWNED ATTRIBUTES [Element]
77
78 const QSet<QObject *> QUmlOutputPinObject::ownedComments() const
79 {
80     QSet<QObject *> set;
81     foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->ownedComments())
82         set.insert(element->asQModelingObject());
83     return set;
84 }
85
86 const QSet<QObject *> QUmlOutputPinObject::ownedElements() const
87 {
88     QSet<QObject *> set;
89     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->ownedElements())
90         set.insert(element->asQModelingObject());
91     return set;
92 }
93
94 QObject *QUmlOutputPinObject::owner() const
95 {
96     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->owner())
97         return 0;
98     else
99         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->owner()->asQModelingObject();
100 }
101
102 // OWNED ATTRIBUTES [MultiplicityElement]
103
104 bool QUmlOutputPinObject::isOrdered() const
105 {
106     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isOrdered();
107 }
108
109 bool QUmlOutputPinObject::isUnique() const
110 {
111     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isUnique();
112 }
113
114 int QUmlOutputPinObject::lower() const
115 {
116     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->lower();
117 }
118
119 QObject *QUmlOutputPinObject::lowerValue() const
120 {
121     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->lowerValue())
122         return 0;
123     else
124         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->lowerValue()->asQModelingObject();
125 }
126
127 int QUmlOutputPinObject::upper() const
128 {
129     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upper();
130 }
131
132 QObject *QUmlOutputPinObject::upperValue() const
133 {
134     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upperValue())
135         return 0;
136     else
137         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upperValue()->asQModelingObject();
138 }
139
140 // OWNED ATTRIBUTES [NamedElement]
141
142 const QSet<QObject *> QUmlOutputPinObject::clientDependencies() const
143 {
144     QSet<QObject *> set;
145     foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->clientDependencies())
146         set.insert(element->asQModelingObject());
147     return set;
148 }
149
150 QString QUmlOutputPinObject::name() const
151 {
152     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->name();
153 }
154
155 QObject *QUmlOutputPinObject::nameExpression() const
156 {
157     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->nameExpression())
158         return 0;
159     else
160         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->nameExpression()->asQModelingObject();
161 }
162
163 QObject *QUmlOutputPinObject::namespace_() const
164 {
165     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->namespace_())
166         return 0;
167     else
168         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->namespace_()->asQModelingObject();
169 }
170
171 QString QUmlOutputPinObject::qualifiedName() const
172 {
173     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->qualifiedName();
174 }
175
176 QtUml::VisibilityKind QUmlOutputPinObject::visibility() const
177 {
178     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->visibility();
179 }
180
181 // OWNED ATTRIBUTES [RedefinableElement]
182
183 bool QUmlOutputPinObject::isLeaf() const
184 {
185     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isLeaf();
186 }
187
188 const QSet<QObject *> QUmlOutputPinObject::redefinedElements() const
189 {
190     QSet<QObject *> set;
191     foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->redefinedElements())
192         set.insert(element->asQModelingObject());
193     return set;
194 }
195
196 const QSet<QObject *> QUmlOutputPinObject::redefinitionContexts() const
197 {
198     QSet<QObject *> set;
199     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->redefinitionContexts())
200         set.insert(element->asQModelingObject());
201     return set;
202 }
203
204 // OWNED ATTRIBUTES [ActivityNode]
205
206 QObject *QUmlOutputPinObject::activity() const
207 {
208     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->activity())
209         return 0;
210     else
211         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->activity()->asQModelingObject();
212 }
213
214 const QSet<QObject *> QUmlOutputPinObject::inGroups() const
215 {
216     QSet<QObject *> set;
217     foreach (QUmlActivityGroup *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inGroups())
218         set.insert(element->asQModelingObject());
219     return set;
220 }
221
222 const QSet<QObject *> QUmlOutputPinObject::inInterruptibleRegions() const
223 {
224     QSet<QObject *> set;
225     foreach (QUmlInterruptibleActivityRegion *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inInterruptibleRegions())
226         set.insert(element->asQModelingObject());
227     return set;
228 }
229
230 const QSet<QObject *> QUmlOutputPinObject::inPartitions() const
231 {
232     QSet<QObject *> set;
233     foreach (QUmlActivityPartition *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inPartitions())
234         set.insert(element->asQModelingObject());
235     return set;
236 }
237
238 QObject *QUmlOutputPinObject::inStructuredNode() const
239 {
240     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inStructuredNode())
241         return 0;
242     else
243         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inStructuredNode()->asQModelingObject();
244 }
245
246 const QSet<QObject *> QUmlOutputPinObject::incomings() const
247 {
248     QSet<QObject *> set;
249     foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->incomings())
250         set.insert(element->asQModelingObject());
251     return set;
252 }
253
254 const QSet<QObject *> QUmlOutputPinObject::outgoings() const
255 {
256     QSet<QObject *> set;
257     foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->outgoings())
258         set.insert(element->asQModelingObject());
259     return set;
260 }
261
262 const QSet<QObject *> QUmlOutputPinObject::redefinedNodes() const
263 {
264     QSet<QObject *> set;
265     foreach (QUmlActivityNode *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->redefinedNodes())
266         set.insert(element->asQModelingObject());
267     return set;
268 }
269
270 // OWNED ATTRIBUTES [TypedElement]
271
272 QObject *QUmlOutputPinObject::type() const
273 {
274     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->type())
275         return 0;
276     else
277         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->type()->asQModelingObject();
278 }
279
280 // OWNED ATTRIBUTES [ObjectNode]
281
282 const QSet<QObject *> QUmlOutputPinObject::inStates() const
283 {
284     QSet<QObject *> set;
285     foreach (QUmlState *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->inStates())
286         set.insert(element->asQModelingObject());
287     return set;
288 }
289
290 bool QUmlOutputPinObject::isControlType() const
291 {
292     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isControlType();
293 }
294
295 QtUml::ObjectNodeOrderingKind QUmlOutputPinObject::ordering() const
296 {
297     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->ordering();
298 }
299
300 QObject *QUmlOutputPinObject::selection() const
301 {
302     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->selection())
303         return 0;
304     else
305         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->selection()->asQModelingObject();
306 }
307
308 QObject *QUmlOutputPinObject::upperBound() const
309 {
310     if (!qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upperBound())
311         return 0;
312     else
313         return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upperBound()->asQModelingObject();
314 }
315
316 // OWNED ATTRIBUTES [Pin]
317
318 bool QUmlOutputPinObject::isControl() const
319 {
320     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isControl();
321 }
322
323 // OPERATIONS [Element]
324
325 QSet<QObject *> QUmlOutputPinObject::allOwnedElements() const
326 {
327     QSet<QObject *> set;
328     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->allOwnedElements())
329         set.insert(element->asQModelingObject());
330     return set;
331 }
332
333 bool QUmlOutputPinObject::mustBeOwned() const
334 {
335     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->mustBeOwned();
336 }
337
338 // OPERATIONS [MultiplicityElement]
339
340 bool QUmlOutputPinObject::compatibleWith(QObject *other) const
341 {
342     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->compatibleWith(qmodelingelementproperty_cast<QUmlMultiplicityElement *>(other));
343 }
344
345 bool QUmlOutputPinObject::includesCardinality(int C) const
346 {
347     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->includesCardinality(C);
348 }
349
350 bool QUmlOutputPinObject::includesMultiplicity(QObject *M) const
351 {
352     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->includesMultiplicity(qmodelingelementproperty_cast<QUmlMultiplicityElement *>(M));
353 }
354
355 bool QUmlOutputPinObject::is(int lowerbound, int upperbound) const
356 {
357     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->is(lowerbound, upperbound);
358 }
359
360 bool QUmlOutputPinObject::isMultivalued() const
361 {
362     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isMultivalued();
363 }
364
365 int QUmlOutputPinObject::lowerBound() const
366 {
367     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->lowerBound();
368 }
369
370 //int QUmlOutputPinObject::upperBound() const
371 //{
372 //    return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->upperBound();
373 //}
374
375 // OPERATIONS [NamedElement]
376
377 QList<QObject *> QUmlOutputPinObject::allNamespaces() const
378 {
379     QList<QObject *> set;
380     foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->allNamespaces())
381         set.append(element->asQModelingObject());
382     return set;
383 }
384
385 QSet<QObject *> QUmlOutputPinObject::allOwningPackages() const
386 {
387     QSet<QObject *> set;
388     foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlOutputPin *>(this)->allOwningPackages())
389         set.insert(element->asQModelingObject());
390     return set;
391 }
392
393 bool QUmlOutputPinObject::isDistinguishableFrom(QObject *n, QObject *ns) const
394 {
395     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
396 }
397
398 QString QUmlOutputPinObject::separator() const
399 {
400     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->separator();
401 }
402
403 // OPERATIONS [RedefinableElement]
404
405 bool QUmlOutputPinObject::isConsistentWith(QObject *redefinee) const
406 {
407     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
408 }
409
410 bool QUmlOutputPinObject::isRedefinitionContextValid(QObject *redefined) const
411 {
412     return qmodelingelementproperty_cast<QUmlOutputPin *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
413 }
414
415 // SLOTS FOR OWNED ATTRIBUTES [Element]
416
417 void QUmlOutputPinObject::addOwnedComment(QObject *ownedComment)
418 {
419     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
420 }
421
422 void QUmlOutputPinObject::removeOwnedComment(QObject *ownedComment)
423 {
424     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
425 }
426
427 void QUmlOutputPinObject::addOwnedElement(QObject *ownedElement)
428 {
429     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
430 }
431
432 void QUmlOutputPinObject::removeOwnedElement(QObject *ownedElement)
433 {
434     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
435 }
436
437 void QUmlOutputPinObject::setOwner(QObject *owner)
438 {
439     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
440 }
441
442 // SLOTS FOR OWNED ATTRIBUTES [MultiplicityElement]
443
444 void QUmlOutputPinObject::setOrdered(bool isOrdered)
445 {
446     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setOrdered(isOrdered);
447 }
448
449 void QUmlOutputPinObject::unsetOrdered()
450 {
451     Q_D(QModelingObject);
452     setOrdered(false);
453     d->modifiedResettableProperties.removeAll(QStringLiteral("ordered"));
454 }
455
456 void QUmlOutputPinObject::setUnique(bool isUnique)
457 {
458     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setUnique(isUnique);
459 }
460
461 void QUmlOutputPinObject::unsetUnique()
462 {
463     Q_D(QModelingObject);
464
465     setUnique(true);
466     d->modifiedResettableProperties.removeAll(QStringLiteral("unique"));
467 }
468
469 void QUmlOutputPinObject::setLower(int lower)
470 {
471     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setLower(lower);
472 }
473
474 void QUmlOutputPinObject::unsetLower()
475 {
476     Q_D(QModelingObject);
477     setLower(1);
478     d->modifiedResettableProperties.removeAll(QStringLiteral("lower"));
479 }
480
481 void QUmlOutputPinObject::setLowerValue(QObject *lowerValue)
482 {
483     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setLowerValue(qmodelingelementproperty_cast<QUmlValueSpecification *>(lowerValue));
484 }
485
486 void QUmlOutputPinObject::setUpper(int upper)
487 {
488     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setUpper(upper);
489 }
490
491 void QUmlOutputPinObject::unsetUpper()
492 {
493     Q_D(QModelingObject);
494     setUpper(1);
495     d->modifiedResettableProperties.removeAll(QStringLiteral("upper"));
496 }
497
498 void QUmlOutputPinObject::setUpperValue(QObject *upperValue)
499 {
500     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setUpperValue(qmodelingelementproperty_cast<QUmlValueSpecification *>(upperValue));
501 }
502
503 // SLOTS FOR OWNED ATTRIBUTES [NamedElement]
504
505 void QUmlOutputPinObject::addClientDependency(QObject *clientDependency)
506 {
507     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
508 }
509
510 void QUmlOutputPinObject::removeClientDependency(QObject *clientDependency)
511 {
512     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
513 }
514
515 void QUmlOutputPinObject::setName(QString name)
516 {
517     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setName(name);
518 }
519
520 void QUmlOutputPinObject::setNameExpression(QObject *nameExpression)
521 {
522     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
523 }
524
525 void QUmlOutputPinObject::setNamespace(QObject *namespace_)
526 {
527     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
528 }
529
530 void QUmlOutputPinObject::setQualifiedName(QString qualifiedName)
531 {
532     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setQualifiedName(qualifiedName);
533 }
534
535 void QUmlOutputPinObject::setVisibility(QtUml::VisibilityKind visibility)
536 {
537     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setVisibility(visibility);
538 }
539
540 // SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
541
542 void QUmlOutputPinObject::setLeaf(bool isLeaf)
543 {
544     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setLeaf(isLeaf);
545 }
546
547 void QUmlOutputPinObject::unsetLeaf()
548 {
549     Q_D(QModelingObject);
550     setLeaf(false);
551     d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
552 }
553
554 void QUmlOutputPinObject::addRedefinedElement(QObject *redefinedElement)
555 {
556     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
557 }
558
559 void QUmlOutputPinObject::removeRedefinedElement(QObject *redefinedElement)
560 {
561     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
562 }
563
564 void QUmlOutputPinObject::addRedefinitionContext(QObject *redefinitionContext)
565 {
566     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
567 }
568
569 void QUmlOutputPinObject::removeRedefinitionContext(QObject *redefinitionContext)
570 {
571     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
572 }
573
574 // SLOTS FOR OWNED ATTRIBUTES [ActivityNode]
575
576 void QUmlOutputPinObject::setActivity(QObject *activity)
577 {
578     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setActivity(qmodelingelementproperty_cast<QUmlActivity *>(activity));
579 }
580
581 void QUmlOutputPinObject::addInGroup(QObject *inGroup)
582 {
583     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup));
584 }
585
586 void QUmlOutputPinObject::removeInGroup(QObject *inGroup)
587 {
588     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup));
589 }
590
591 void QUmlOutputPinObject::addInInterruptibleRegion(QObject *inInterruptibleRegion)
592 {
593     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
594 }
595
596 void QUmlOutputPinObject::removeInInterruptibleRegion(QObject *inInterruptibleRegion)
597 {
598     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
599 }
600
601 void QUmlOutputPinObject::addInPartition(QObject *inPartition)
602 {
603     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition));
604 }
605
606 void QUmlOutputPinObject::removeInPartition(QObject *inPartition)
607 {
608     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition));
609 }
610
611 void QUmlOutputPinObject::setInStructuredNode(QObject *inStructuredNode)
612 {
613     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setInStructuredNode(qmodelingelementproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode));
614 }
615
616 void QUmlOutputPinObject::addIncoming(QObject *incoming)
617 {
618     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming));
619 }
620
621 void QUmlOutputPinObject::removeIncoming(QObject *incoming)
622 {
623     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming));
624 }
625
626 void QUmlOutputPinObject::addOutgoing(QObject *outgoing)
627 {
628     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing));
629 }
630
631 void QUmlOutputPinObject::removeOutgoing(QObject *outgoing)
632 {
633     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing));
634 }
635
636 void QUmlOutputPinObject::addRedefinedNode(QObject *redefinedNode)
637 {
638     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode));
639 }
640
641 void QUmlOutputPinObject::removeRedefinedNode(QObject *redefinedNode)
642 {
643     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode));
644 }
645
646 // SLOTS FOR OWNED ATTRIBUTES [TypedElement]
647
648 void QUmlOutputPinObject::setType(QObject *type)
649 {
650     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setType(qmodelingelementproperty_cast<QUmlType *>(type));
651 }
652
653 // SLOTS FOR OWNED ATTRIBUTES [ObjectNode]
654
655 void QUmlOutputPinObject::addInState(QObject *inState)
656 {
657     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->addInState(qmodelingelementproperty_cast<QUmlState *>(inState));
658 }
659
660 void QUmlOutputPinObject::removeInState(QObject *inState)
661 {
662     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->removeInState(qmodelingelementproperty_cast<QUmlState *>(inState));
663 }
664
665 void QUmlOutputPinObject::setControlType(bool isControlType)
666 {
667     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setControlType(isControlType);
668 }
669
670 void QUmlOutputPinObject::unsetControlType()
671 {
672     Q_D(QModelingObject);
673     setControlType(false);
674     d->modifiedResettableProperties.removeAll(QStringLiteral("controlType"));
675 }
676
677 void QUmlOutputPinObject::setOrdering(QtUml::ObjectNodeOrderingKind ordering)
678 {
679     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setOrdering(ordering);
680 }
681
682 void QUmlOutputPinObject::unsetOrdering()
683 {
684     Q_D(QModelingObject);
685     setOrdering(QtUml::ObjectNodeOrderingKindFIFO);
686     d->modifiedResettableProperties.removeAll(QStringLiteral("ordering"));
687 }
688
689 void QUmlOutputPinObject::setSelection(QObject *selection)
690 {
691     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setSelection(qmodelingelementproperty_cast<QUmlBehavior *>(selection));
692 }
693
694 void QUmlOutputPinObject::setUpperBound(QObject *upperBound)
695 {
696     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setUpperBound(qmodelingelementproperty_cast<QUmlValueSpecification *>(upperBound));
697 }
698
699 // SLOTS FOR OWNED ATTRIBUTES [Pin]
700
701 void QUmlOutputPinObject::setControl(bool isControl)
702 {
703     qmodelingelementproperty_cast<QUmlOutputPin *>(this)->setControl(isControl);
704 }
705
706 void QUmlOutputPinObject::unsetControl()
707 {
708     Q_D(QModelingObject);
709     setControl(false);
710     d->modifiedResettableProperties.removeAll(QStringLiteral("control"));
711 }
712
713
714 void QUmlOutputPinObject::setGroupProperties()
715 {
716     Q_D(QModelingObject);
717     const QMetaObject *metaObject = this->metaObject();
718
719     d->propertyGroups << QStringLiteral("QObject");
720     d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName"))));
721
722     d->propertyGroups << QStringLiteral("QUmlElement");
723     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments"))));
724     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements"))));
725     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner"))));
726
727     d->propertyGroups << QStringLiteral("QUmlMultiplicityElement");
728     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isOrdered"))));
729     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isUnique"))));
730     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lower"))));
731     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lowerValue"))));
732     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upper"))));
733     d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upperValue"))));
734
735     d->propertyGroups << QStringLiteral("QUmlNamedElement");
736     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies"))));
737     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name"))));
738     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression"))));
739     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_"))));
740     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName"))));
741     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
742
743     d->propertyGroups << QStringLiteral("QUmlRedefinableElement");
744     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
745     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
746     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts"))));
747
748     d->propertyGroups << QStringLiteral("QUmlActivityNode");
749     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("activity"))));
750     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inGroups"))));
751     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inInterruptibleRegions"))));
752     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inPartitions"))));
753     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inStructuredNode"))));
754     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("incomings"))));
755     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("outgoings"))));
756     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedNodes"))));
757
758     d->propertyGroups << QStringLiteral("QUmlTypedElement");
759     d->groupProperties.insert(QStringLiteral("QUmlTypedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("type"))));
760
761     d->propertyGroups << QStringLiteral("QUmlObjectNode");
762     d->groupProperties.insert(QStringLiteral("QUmlObjectNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inStates"))));
763     d->groupProperties.insert(QStringLiteral("QUmlObjectNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isControlType"))));
764     d->groupProperties.insert(QStringLiteral("QUmlObjectNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ordering"))));
765     d->groupProperties.insert(QStringLiteral("QUmlObjectNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("selection"))));
766     d->groupProperties.insert(QStringLiteral("QUmlObjectNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upperBound"))));
767
768     d->propertyGroups << QStringLiteral("QUmlPin");
769     d->groupProperties.insert(QStringLiteral("QUmlPin"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isControl"))));
770
771     d->propertyGroups << QStringLiteral("QUmlOutputPin");
772 }
773
774 void QUmlOutputPinObject::setPropertyData()
775 {
776     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, AggregationRole, QStringLiteral("composite"));
777     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, PropertyClassRole, QStringLiteral("QUmlElement"));
778     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedRole, false);
779     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedUnionRole, false);
780     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, DocumentationRole, QStringLiteral("The Comments owned by this element."));
781     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, RedefinedPropertiesRole, QStringLiteral(""));
782     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
783     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, OppositeEndRole, QStringLiteral(""));
784
785     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, AggregationRole, QStringLiteral("composite"));
786     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, PropertyClassRole, QStringLiteral("QUmlElement"));
787     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedRole, true);
788     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedUnionRole, true);
789     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, DocumentationRole, QStringLiteral("The Elements owned by this element."));
790     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, RedefinedPropertiesRole, QStringLiteral(""));
791     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, SubsettedPropertiesRole, QStringLiteral(""));
792     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, OppositeEndRole, QStringLiteral("Element-owner"));
793
794     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, AggregationRole, QStringLiteral("none"));
795     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, PropertyClassRole, QStringLiteral("QUmlElement"));
796     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedRole, true);
797     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedUnionRole, true);
798     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, DocumentationRole, QStringLiteral("The Element that owns this element."));
799     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, RedefinedPropertiesRole, QStringLiteral(""));
800     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, SubsettedPropertiesRole, QStringLiteral(""));
801     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, OppositeEndRole, QStringLiteral("Element-ownedElement"));
802
803     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, AggregationRole, QStringLiteral("none"));
804     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
805     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, IsDerivedRole, false);
806     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, IsDerivedUnionRole, false);
807     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, DocumentationRole, QStringLiteral("For a multivalued multiplicity, this attribute specifies whether the values in an instantiation of this element are sequentially ordered."));
808     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, RedefinedPropertiesRole, QStringLiteral(""));
809     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, SubsettedPropertiesRole, QStringLiteral(""));
810     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isOrdered, OppositeEndRole, QStringLiteral(""));
811
812     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, AggregationRole, QStringLiteral("none"));
813     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
814     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, IsDerivedRole, false);
815     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, IsDerivedUnionRole, false);
816     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, DocumentationRole, QStringLiteral("For a multivalued multiplicity, this attributes specifies whether the values in an instantiation of this element are unique."));
817     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, RedefinedPropertiesRole, QStringLiteral(""));
818     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, SubsettedPropertiesRole, QStringLiteral(""));
819     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, isUnique, OppositeEndRole, QStringLiteral(""));
820
821     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, AggregationRole, QStringLiteral("none"));
822     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
823     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, IsDerivedRole, true);
824     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, IsDerivedUnionRole, false);
825     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, DocumentationRole, QStringLiteral("Specifies the lower bound of the multiplicity interval."));
826     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, RedefinedPropertiesRole, QStringLiteral(""));
827     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, SubsettedPropertiesRole, QStringLiteral(""));
828     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lower, OppositeEndRole, QStringLiteral(""));
829
830     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, AggregationRole, QStringLiteral("composite"));
831     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
832     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, IsDerivedRole, false);
833     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, IsDerivedUnionRole, false);
834     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, DocumentationRole, QStringLiteral("The specification of the lower bound for this multiplicity."));
835     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, RedefinedPropertiesRole, QStringLiteral(""));
836     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
837     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, lowerValue, OppositeEndRole, QStringLiteral(""));
838
839     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, AggregationRole, QStringLiteral("none"));
840     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
841     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, IsDerivedRole, true);
842     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, IsDerivedUnionRole, false);
843     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, DocumentationRole, QStringLiteral("Specifies the upper bound of the multiplicity interval."));
844     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, RedefinedPropertiesRole, QStringLiteral(""));
845     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, SubsettedPropertiesRole, QStringLiteral(""));
846     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upper, OppositeEndRole, QStringLiteral(""));
847
848     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, AggregationRole, QStringLiteral("composite"));
849     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, PropertyClassRole, QStringLiteral("QUmlMultiplicityElement"));
850     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, IsDerivedRole, false);
851     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, IsDerivedUnionRole, false);
852     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, DocumentationRole, QStringLiteral("The specification of the upper bound for this multiplicity."));
853     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, RedefinedPropertiesRole, QStringLiteral(""));
854     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
855     Q_DECLARE_METAPROPERTY_INFO(QUmlMultiplicityElement, upperValue, OppositeEndRole, QStringLiteral(""));
856
857     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, AggregationRole, QStringLiteral("none"));
858     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
859     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedRole, false);
860     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedUnionRole, false);
861     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, DocumentationRole, QStringLiteral("Indicates the dependencies that reference the client."));
862     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, RedefinedPropertiesRole, QStringLiteral(""));
863     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship"));
864     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, OppositeEndRole, QStringLiteral("Dependency-client"));
865
866     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, AggregationRole, QStringLiteral("none"));
867     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
868     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedRole, false);
869     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedUnionRole, false);
870     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, DocumentationRole, QStringLiteral("The name of the NamedElement."));
871     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, RedefinedPropertiesRole, QStringLiteral(""));
872     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, SubsettedPropertiesRole, QStringLiteral(""));
873     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, OppositeEndRole, QStringLiteral(""));
874
875     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, AggregationRole, QStringLiteral("composite"));
876     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
877     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedRole, false);
878     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedUnionRole, false);
879     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, DocumentationRole, QStringLiteral("The string expression used to define the name of this named element."));
880     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, RedefinedPropertiesRole, QStringLiteral(""));
881     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
882     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, OppositeEndRole, QStringLiteral(""));
883
884     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, AggregationRole, QStringLiteral("none"));
885     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
886     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedRole, true);
887     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedUnionRole, true);
888     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, DocumentationRole, QStringLiteral("Specifies the namespace that owns the NamedElement."));
889     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, RedefinedPropertiesRole, QStringLiteral(""));
890     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace Element-owner"));
891     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, OppositeEndRole, QStringLiteral("Namespace-ownedMember"));
892
893     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, AggregationRole, QStringLiteral("none"));
894     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
895     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedRole, true);
896     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedUnionRole, false);
897     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."));
898     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, RedefinedPropertiesRole, QStringLiteral(""));
899     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, SubsettedPropertiesRole, QStringLiteral(""));
900     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, OppositeEndRole, QStringLiteral(""));
901
902     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, AggregationRole, QStringLiteral("none"));
903     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
904     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedRole, false);
905     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedUnionRole, false);
906     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, DocumentationRole, QStringLiteral("Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility."));
907     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, RedefinedPropertiesRole, QStringLiteral(""));
908     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
909     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, OppositeEndRole, QStringLiteral(""));
910
911     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, AggregationRole, QStringLiteral("none"));
912     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
913     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedRole, false);
914     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedUnionRole, false);
915     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."));
916     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, RedefinedPropertiesRole, QStringLiteral(""));
917     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, SubsettedPropertiesRole, QStringLiteral(""));
918     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, OppositeEndRole, QStringLiteral(""));
919
920     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, AggregationRole, QStringLiteral("none"));
921     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
922     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedRole, true);
923     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedUnionRole, true);
924     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, DocumentationRole, QStringLiteral("The redefinable element that is being redefined by this element."));
925     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, RedefinedPropertiesRole, QStringLiteral(""));
926     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, SubsettedPropertiesRole, QStringLiteral(""));
927     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, OppositeEndRole, QStringLiteral(""));
928
929     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, AggregationRole, QStringLiteral("none"));
930     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
931     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedRole, true);
932     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedUnionRole, true);
933     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, DocumentationRole, QStringLiteral("References the contexts that this element may be redefined from."));
934     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, RedefinedPropertiesRole, QStringLiteral(""));
935     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, SubsettedPropertiesRole, QStringLiteral(""));
936     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, OppositeEndRole, QStringLiteral(""));
937
938     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, AggregationRole, QStringLiteral("none"));
939     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
940     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, IsDerivedRole, false);
941     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, IsDerivedUnionRole, false);
942     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, DocumentationRole, QStringLiteral("Activity containing the node."));
943     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, RedefinedPropertiesRole, QStringLiteral(""));
944     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, SubsettedPropertiesRole, QStringLiteral("Element-owner"));
945     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, OppositeEndRole, QStringLiteral("Activity-node"));
946
947     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, AggregationRole, QStringLiteral("none"));
948     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
949     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, IsDerivedRole, true);
950     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, IsDerivedUnionRole, true);
951     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, DocumentationRole, QStringLiteral("Groups containing the node."));
952     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, RedefinedPropertiesRole, QStringLiteral(""));
953     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, SubsettedPropertiesRole, QStringLiteral(""));
954     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, OppositeEndRole, QStringLiteral("ActivityGroup-containedNode"));
955
956     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, AggregationRole, QStringLiteral("none"));
957     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
958     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, IsDerivedRole, false);
959     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, IsDerivedUnionRole, false);
960     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, DocumentationRole, QStringLiteral("Interruptible regions containing the node."));
961     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, RedefinedPropertiesRole, QStringLiteral(""));
962     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup"));
963     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, OppositeEndRole, QStringLiteral("InterruptibleActivityRegion-node"));
964
965     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, AggregationRole, QStringLiteral("none"));
966     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
967     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, IsDerivedRole, false);
968     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, IsDerivedUnionRole, false);
969     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, DocumentationRole, QStringLiteral("Partitions containing the node."));
970     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, RedefinedPropertiesRole, QStringLiteral(""));
971     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup"));
972     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, OppositeEndRole, QStringLiteral("ActivityPartition-node"));
973
974     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, AggregationRole, QStringLiteral("none"));
975     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
976     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, IsDerivedRole, false);
977     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, IsDerivedUnionRole, false);
978     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, DocumentationRole, QStringLiteral("Structured activity node containing the node."));
979     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, RedefinedPropertiesRole, QStringLiteral(""));
980     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup Element-owner"));
981     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, OppositeEndRole, QStringLiteral("StructuredActivityNode-node"));
982
983     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, AggregationRole, QStringLiteral("none"));
984     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
985     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, IsDerivedRole, false);
986     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, IsDerivedUnionRole, false);
987     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, DocumentationRole, QStringLiteral("Edges that have the node as target."));
988     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, RedefinedPropertiesRole, QStringLiteral(""));
989     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, SubsettedPropertiesRole, QStringLiteral(""));
990     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, OppositeEndRole, QStringLiteral("ActivityEdge-target"));
991
992     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, AggregationRole, QStringLiteral("none"));
993     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
994     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, IsDerivedRole, false);
995     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, IsDerivedUnionRole, false);
996     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, DocumentationRole, QStringLiteral("Edges that have the node as source."));
997     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, RedefinedPropertiesRole, QStringLiteral(""));
998     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, SubsettedPropertiesRole, QStringLiteral(""));
999     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, OppositeEndRole, QStringLiteral("ActivityEdge-source"));
1000
1001     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, AggregationRole, QStringLiteral("none"));
1002     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
1003     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, IsDerivedRole, false);
1004     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, IsDerivedUnionRole, false);
1005     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, DocumentationRole, QStringLiteral("Inherited nodes replaced by this node in a specialization of the activity."));
1006     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, RedefinedPropertiesRole, QStringLiteral(""));
1007     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
1008     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, OppositeEndRole, QStringLiteral(""));
1009
1010     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, AggregationRole, QStringLiteral("none"));
1011     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, PropertyClassRole, QStringLiteral("QUmlTypedElement"));
1012     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, IsDerivedRole, false);
1013     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, IsDerivedUnionRole, false);
1014     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, DocumentationRole, QStringLiteral("This information is derived from the return result for this Operation.The type of the TypedElement."));
1015     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, RedefinedPropertiesRole, QStringLiteral(""));
1016     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, SubsettedPropertiesRole, QStringLiteral(""));
1017     Q_DECLARE_METAPROPERTY_INFO(QUmlTypedElement, type, OppositeEndRole, QStringLiteral(""));
1018
1019     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, AggregationRole, QStringLiteral("none"));
1020     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, PropertyClassRole, QStringLiteral("QUmlObjectNode"));
1021     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, IsDerivedRole, false);
1022     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, IsDerivedUnionRole, false);
1023     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, DocumentationRole, QStringLiteral("The required states of the object available at this point in the activity."));
1024     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, RedefinedPropertiesRole, QStringLiteral(""));
1025     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, SubsettedPropertiesRole, QStringLiteral(""));
1026     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, inStates, OppositeEndRole, QStringLiteral(""));
1027
1028     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, AggregationRole, QStringLiteral("none"));
1029     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, PropertyClassRole, QStringLiteral("QUmlObjectNode"));
1030     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, IsDerivedRole, false);
1031     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, IsDerivedUnionRole, false);
1032     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, DocumentationRole, QStringLiteral("Tells whether the type of the object node is to be treated as control."));
1033     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, RedefinedPropertiesRole, QStringLiteral(""));
1034     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, SubsettedPropertiesRole, QStringLiteral(""));
1035     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, isControlType, OppositeEndRole, QStringLiteral(""));
1036
1037     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, AggregationRole, QStringLiteral("none"));
1038     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, PropertyClassRole, QStringLiteral("QUmlObjectNode"));
1039     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, IsDerivedRole, false);
1040     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, IsDerivedUnionRole, false);
1041     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, DocumentationRole, QStringLiteral("Tells whether and how the tokens in the object node are ordered for selection to traverse edges outgoing from the object node."));
1042     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, RedefinedPropertiesRole, QStringLiteral(""));
1043     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, SubsettedPropertiesRole, QStringLiteral(""));
1044     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, ordering, OppositeEndRole, QStringLiteral(""));
1045
1046     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, AggregationRole, QStringLiteral("none"));
1047     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, PropertyClassRole, QStringLiteral("QUmlObjectNode"));
1048     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, IsDerivedRole, false);
1049     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, IsDerivedUnionRole, false);
1050     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, DocumentationRole, QStringLiteral("Selects tokens for outgoing edges."));
1051     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, RedefinedPropertiesRole, QStringLiteral(""));
1052     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, SubsettedPropertiesRole, QStringLiteral(""));
1053     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, selection, OppositeEndRole, QStringLiteral(""));
1054
1055     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, AggregationRole, QStringLiteral("composite"));
1056     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, PropertyClassRole, QStringLiteral("QUmlObjectNode"));
1057     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, IsDerivedRole, false);
1058     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, IsDerivedUnionRole, false);
1059     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, DocumentationRole, QStringLiteral("The maximum number of tokens allowed in the node. Objects cannot flow into the node if the upper bound is reached."));
1060     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, RedefinedPropertiesRole, QStringLiteral(""));
1061     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
1062     Q_DECLARE_METAPROPERTY_INFO(QUmlObjectNode, upperBound, OppositeEndRole, QStringLiteral(""));
1063
1064     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, AggregationRole, QStringLiteral("none"));
1065     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, PropertyClassRole, QStringLiteral("QUmlPin"));
1066     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, IsDerivedRole, false);
1067     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, IsDerivedUnionRole, false);
1068     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, DocumentationRole, QStringLiteral("Tells whether the pins provide data to the actions, or just controls when it executes it."));
1069     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, RedefinedPropertiesRole, QStringLiteral(""));
1070     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, SubsettedPropertiesRole, QStringLiteral(""));
1071     Q_DECLARE_METAPROPERTY_INFO(QUmlPin, isControl, OppositeEndRole, QStringLiteral(""));
1072
1073 }
1074
1075 QT_END_NAMESPACE
1076