Fix reset of properties with default value
[qt:qtmodeling.git] / src / uml / qobjects / qumlraiseexceptionactionobject.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 "qumlraiseexceptionactionobject_p.h"
42 #include "private/qmodelingobject_p.h"
43
44 #include <QtUml/QUmlRaiseExceptionAction>
45 #include <QtUml/QUmlActivity>
46 #include <QtUml/QUmlActivityEdge>
47 #include <QtUml/QUmlActivityGroup>
48 #include <QtUml/QUmlActivityNode>
49 #include <QtUml/QUmlActivityPartition>
50 #include <QtUml/QUmlClassifier>
51 #include <QtUml/QUmlComment>
52 #include <QtUml/QUmlConstraint>
53 #include <QtUml/QUmlDependency>
54 #include <QtUml/QUmlElement>
55 #include <QtUml/QUmlExceptionHandler>
56 #include <QtUml/QUmlInputPin>
57 #include <QtUml/QUmlInterruptibleActivityRegion>
58 #include <QtUml/QUmlNamedElement>
59 #include <QtUml/QUmlNamespace>
60 #include <QtUml/QUmlOutputPin>
61 #include <QtUml/QUmlPackage>
62 #include <QtUml/QUmlRedefinableElement>
63 #include <QtUml/QUmlStringExpression>
64 #include <QtUml/QUmlStructuredActivityNode>
65
66 QT_BEGIN_NAMESPACE
67
68 QUmlRaiseExceptionActionObject::QUmlRaiseExceptionActionObject(QUmlRaiseExceptionAction *modelingElement)
69 {
70     setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(modelingElement)));
71     setGroupProperties();
72     setPropertyData();
73 }
74
75 // OWNED ATTRIBUTES [Element]
76
77 const QSet<QObject *> QUmlRaiseExceptionActionObject::ownedComments() const
78 {
79     QSet<QObject *> set;
80     foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->ownedComments())
81         set.insert(element->asQModelingObject());
82     return set;
83 }
84
85 const QSet<QObject *> QUmlRaiseExceptionActionObject::ownedElements() const
86 {
87     QSet<QObject *> set;
88     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->ownedElements())
89         set.insert(element->asQModelingObject());
90     return set;
91 }
92
93 QObject *QUmlRaiseExceptionActionObject::owner() const
94 {
95     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->owner())
96         return 0;
97     else
98         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->owner()->asQModelingObject();
99 }
100
101 // OWNED ATTRIBUTES [NamedElement]
102
103 const QSet<QObject *> QUmlRaiseExceptionActionObject::clientDependencies() const
104 {
105     QSet<QObject *> set;
106     foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->clientDependencies())
107         set.insert(element->asQModelingObject());
108     return set;
109 }
110
111 QString QUmlRaiseExceptionActionObject::name() const
112 {
113     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->name();
114 }
115
116 QObject *QUmlRaiseExceptionActionObject::nameExpression() const
117 {
118     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->nameExpression())
119         return 0;
120     else
121         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->nameExpression()->asQModelingObject();
122 }
123
124 QObject *QUmlRaiseExceptionActionObject::namespace_() const
125 {
126     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->namespace_())
127         return 0;
128     else
129         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->namespace_()->asQModelingObject();
130 }
131
132 QString QUmlRaiseExceptionActionObject::qualifiedName() const
133 {
134     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->qualifiedName();
135 }
136
137 QtUml::VisibilityKind QUmlRaiseExceptionActionObject::visibility() const
138 {
139     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->visibility();
140 }
141
142 // OWNED ATTRIBUTES [RedefinableElement]
143
144 bool QUmlRaiseExceptionActionObject::isLeaf() const
145 {
146     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->isLeaf();
147 }
148
149 const QSet<QObject *> QUmlRaiseExceptionActionObject::redefinedElements() const
150 {
151     QSet<QObject *> set;
152     foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->redefinedElements())
153         set.insert(element->asQModelingObject());
154     return set;
155 }
156
157 const QSet<QObject *> QUmlRaiseExceptionActionObject::redefinitionContexts() const
158 {
159     QSet<QObject *> set;
160     foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->redefinitionContexts())
161         set.insert(element->asQModelingObject());
162     return set;
163 }
164
165 // OWNED ATTRIBUTES [ActivityNode]
166
167 QObject *QUmlRaiseExceptionActionObject::activity() const
168 {
169     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->activity())
170         return 0;
171     else
172         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->activity()->asQModelingObject();
173 }
174
175 const QSet<QObject *> QUmlRaiseExceptionActionObject::inGroups() const
176 {
177     QSet<QObject *> set;
178     foreach (QUmlActivityGroup *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inGroups())
179         set.insert(element->asQModelingObject());
180     return set;
181 }
182
183 const QSet<QObject *> QUmlRaiseExceptionActionObject::inInterruptibleRegions() const
184 {
185     QSet<QObject *> set;
186     foreach (QUmlInterruptibleActivityRegion *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inInterruptibleRegions())
187         set.insert(element->asQModelingObject());
188     return set;
189 }
190
191 const QSet<QObject *> QUmlRaiseExceptionActionObject::inPartitions() const
192 {
193     QSet<QObject *> set;
194     foreach (QUmlActivityPartition *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inPartitions())
195         set.insert(element->asQModelingObject());
196     return set;
197 }
198
199 QObject *QUmlRaiseExceptionActionObject::inStructuredNode() const
200 {
201     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inStructuredNode())
202         return 0;
203     else
204         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inStructuredNode()->asQModelingObject();
205 }
206
207 const QSet<QObject *> QUmlRaiseExceptionActionObject::incomings() const
208 {
209     QSet<QObject *> set;
210     foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->incomings())
211         set.insert(element->asQModelingObject());
212     return set;
213 }
214
215 const QSet<QObject *> QUmlRaiseExceptionActionObject::outgoings() const
216 {
217     QSet<QObject *> set;
218     foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->outgoings())
219         set.insert(element->asQModelingObject());
220     return set;
221 }
222
223 const QSet<QObject *> QUmlRaiseExceptionActionObject::redefinedNodes() const
224 {
225     QSet<QObject *> set;
226     foreach (QUmlActivityNode *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->redefinedNodes())
227         set.insert(element->asQModelingObject());
228     return set;
229 }
230
231 // OWNED ATTRIBUTES [ExecutableNode]
232
233 const QSet<QObject *> QUmlRaiseExceptionActionObject::handlers() const
234 {
235     QSet<QObject *> set;
236     foreach (QUmlExceptionHandler *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->handlers())
237         set.insert(element->asQModelingObject());
238     return set;
239 }
240
241 // OWNED ATTRIBUTES [Action]
242
243 QObject *QUmlRaiseExceptionActionObject::context() const
244 {
245     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->context())
246         return 0;
247     else
248         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->context()->asQModelingObject();
249 }
250
251 const QList<QObject *> QUmlRaiseExceptionActionObject::inputs() const
252 {
253     QList<QObject *> list;
254     foreach (QUmlInputPin *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->inputs())
255         list.append(element->asQModelingObject());
256     return list;
257 }
258
259 bool QUmlRaiseExceptionActionObject::isLocallyReentrant() const
260 {
261     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->isLocallyReentrant();
262 }
263
264 const QSet<QObject *> QUmlRaiseExceptionActionObject::localPostconditions() const
265 {
266     QSet<QObject *> set;
267     foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->localPostconditions())
268         set.insert(element->asQModelingObject());
269     return set;
270 }
271
272 const QSet<QObject *> QUmlRaiseExceptionActionObject::localPreconditions() const
273 {
274     QSet<QObject *> set;
275     foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->localPreconditions())
276         set.insert(element->asQModelingObject());
277     return set;
278 }
279
280 const QList<QObject *> QUmlRaiseExceptionActionObject::outputs() const
281 {
282     QList<QObject *> list;
283     foreach (QUmlOutputPin *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->outputs())
284         list.append(element->asQModelingObject());
285     return list;
286 }
287
288 // OWNED ATTRIBUTES [RaiseExceptionAction]
289
290 QObject *QUmlRaiseExceptionActionObject::exception() const
291 {
292     if (!qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->exception())
293         return 0;
294     else
295         return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->exception()->asQModelingObject();
296 }
297
298 // OPERATIONS [Element]
299
300 QSet<QObject *> QUmlRaiseExceptionActionObject::allOwnedElements() const
301 {
302     QSet<QObject *> set;
303     foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->allOwnedElements())
304         set.insert(element->asQModelingObject());
305     return set;
306 }
307
308 bool QUmlRaiseExceptionActionObject::mustBeOwned() const
309 {
310     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->mustBeOwned();
311 }
312
313 // OPERATIONS [NamedElement]
314
315 QList<QObject *> QUmlRaiseExceptionActionObject::allNamespaces() const
316 {
317     QList<QObject *> set;
318     foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->allNamespaces())
319         set.append(element->asQModelingObject());
320     return set;
321 }
322
323 QSet<QObject *> QUmlRaiseExceptionActionObject::allOwningPackages() const
324 {
325     QSet<QObject *> set;
326     foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->allOwningPackages())
327         set.insert(element->asQModelingObject());
328     return set;
329 }
330
331 bool QUmlRaiseExceptionActionObject::isDistinguishableFrom(QObject *n, QObject *ns) const
332 {
333     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
334 }
335
336 QString QUmlRaiseExceptionActionObject::separator() const
337 {
338     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->separator();
339 }
340
341 // OPERATIONS [RedefinableElement]
342
343 bool QUmlRaiseExceptionActionObject::isConsistentWith(QObject *redefinee) const
344 {
345     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
346 }
347
348 bool QUmlRaiseExceptionActionObject::isRedefinitionContextValid(QObject *redefined) const
349 {
350     return qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
351 }
352
353 // SLOTS FOR OWNED ATTRIBUTES [Element]
354
355 void QUmlRaiseExceptionActionObject::addOwnedComment(QObject *ownedComment)
356 {
357     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
358 }
359
360 void QUmlRaiseExceptionActionObject::removeOwnedComment(QObject *ownedComment)
361 {
362     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
363 }
364
365 void QUmlRaiseExceptionActionObject::addOwnedElement(QObject *ownedElement)
366 {
367     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
368 }
369
370 void QUmlRaiseExceptionActionObject::removeOwnedElement(QObject *ownedElement)
371 {
372     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
373 }
374
375 void QUmlRaiseExceptionActionObject::setOwner(QObject *owner)
376 {
377     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
378 }
379
380 // SLOTS FOR OWNED ATTRIBUTES [NamedElement]
381
382 void QUmlRaiseExceptionActionObject::addClientDependency(QObject *clientDependency)
383 {
384     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
385 }
386
387 void QUmlRaiseExceptionActionObject::removeClientDependency(QObject *clientDependency)
388 {
389     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
390 }
391
392 void QUmlRaiseExceptionActionObject::setName(QString name)
393 {
394     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setName(name);
395 }
396
397 void QUmlRaiseExceptionActionObject::setNameExpression(QObject *nameExpression)
398 {
399     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
400 }
401
402 void QUmlRaiseExceptionActionObject::setNamespace(QObject *namespace_)
403 {
404     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
405 }
406
407 void QUmlRaiseExceptionActionObject::setQualifiedName(QString qualifiedName)
408 {
409     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setQualifiedName(qualifiedName);
410 }
411
412 void QUmlRaiseExceptionActionObject::setVisibility(QtUml::VisibilityKind visibility)
413 {
414     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setVisibility(visibility);
415 }
416
417 // SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
418
419 void QUmlRaiseExceptionActionObject::setLeaf(bool isLeaf)
420 {
421     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setLeaf(isLeaf);
422 }
423
424 void QUmlRaiseExceptionActionObject::unsetLeaf()
425 {
426     Q_D(QModelingObject);
427     setLeaf(false);
428     d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
429 }
430
431 void QUmlRaiseExceptionActionObject::addRedefinedElement(QObject *redefinedElement)
432 {
433     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
434 }
435
436 void QUmlRaiseExceptionActionObject::removeRedefinedElement(QObject *redefinedElement)
437 {
438     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
439 }
440
441 void QUmlRaiseExceptionActionObject::addRedefinitionContext(QObject *redefinitionContext)
442 {
443     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
444 }
445
446 void QUmlRaiseExceptionActionObject::removeRedefinitionContext(QObject *redefinitionContext)
447 {
448     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
449 }
450
451 // SLOTS FOR OWNED ATTRIBUTES [ActivityNode]
452
453 void QUmlRaiseExceptionActionObject::setActivity(QObject *activity)
454 {
455     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setActivity(qmodelingelementproperty_cast<QUmlActivity *>(activity));
456 }
457
458 void QUmlRaiseExceptionActionObject::addInGroup(QObject *inGroup)
459 {
460     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup));
461 }
462
463 void QUmlRaiseExceptionActionObject::removeInGroup(QObject *inGroup)
464 {
465     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup));
466 }
467
468 void QUmlRaiseExceptionActionObject::addInInterruptibleRegion(QObject *inInterruptibleRegion)
469 {
470     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
471 }
472
473 void QUmlRaiseExceptionActionObject::removeInInterruptibleRegion(QObject *inInterruptibleRegion)
474 {
475     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
476 }
477
478 void QUmlRaiseExceptionActionObject::addInPartition(QObject *inPartition)
479 {
480     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition));
481 }
482
483 void QUmlRaiseExceptionActionObject::removeInPartition(QObject *inPartition)
484 {
485     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition));
486 }
487
488 void QUmlRaiseExceptionActionObject::setInStructuredNode(QObject *inStructuredNode)
489 {
490     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setInStructuredNode(qmodelingelementproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode));
491 }
492
493 void QUmlRaiseExceptionActionObject::addIncoming(QObject *incoming)
494 {
495     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming));
496 }
497
498 void QUmlRaiseExceptionActionObject::removeIncoming(QObject *incoming)
499 {
500     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming));
501 }
502
503 void QUmlRaiseExceptionActionObject::addOutgoing(QObject *outgoing)
504 {
505     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing));
506 }
507
508 void QUmlRaiseExceptionActionObject::removeOutgoing(QObject *outgoing)
509 {
510     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing));
511 }
512
513 void QUmlRaiseExceptionActionObject::addRedefinedNode(QObject *redefinedNode)
514 {
515     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode));
516 }
517
518 void QUmlRaiseExceptionActionObject::removeRedefinedNode(QObject *redefinedNode)
519 {
520     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode));
521 }
522
523 // SLOTS FOR OWNED ATTRIBUTES [ExecutableNode]
524
525 void QUmlRaiseExceptionActionObject::addHandler(QObject *handler)
526 {
527     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler));
528 }
529
530 void QUmlRaiseExceptionActionObject::removeHandler(QObject *handler)
531 {
532     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler));
533 }
534
535 // SLOTS FOR OWNED ATTRIBUTES [Action]
536
537 void QUmlRaiseExceptionActionObject::setContext(QObject *context)
538 {
539     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setContext(qmodelingelementproperty_cast<QUmlClassifier *>(context));
540 }
541
542 void QUmlRaiseExceptionActionObject::addInput(QObject *input)
543 {
544     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addInput(qmodelingelementproperty_cast<QUmlInputPin *>(input));
545 }
546
547 void QUmlRaiseExceptionActionObject::removeInput(QObject *input)
548 {
549     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeInput(qmodelingelementproperty_cast<QUmlInputPin *>(input));
550 }
551
552 void QUmlRaiseExceptionActionObject::setLocallyReentrant(bool isLocallyReentrant)
553 {
554     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setLocallyReentrant(isLocallyReentrant);
555 }
556
557 void QUmlRaiseExceptionActionObject::unsetLocallyReentrant()
558 {
559     Q_D(QModelingObject);
560     setLocallyReentrant(false);
561     d->modifiedResettableProperties.removeAll(QStringLiteral("locallyReentrant"));
562 }
563
564 void QUmlRaiseExceptionActionObject::addLocalPostcondition(QObject *localPostcondition)
565 {
566     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition));
567 }
568
569 void QUmlRaiseExceptionActionObject::removeLocalPostcondition(QObject *localPostcondition)
570 {
571     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition));
572 }
573
574 void QUmlRaiseExceptionActionObject::addLocalPrecondition(QObject *localPrecondition)
575 {
576     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition));
577 }
578
579 void QUmlRaiseExceptionActionObject::removeLocalPrecondition(QObject *localPrecondition)
580 {
581     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition));
582 }
583
584 void QUmlRaiseExceptionActionObject::addOutput(QObject *output)
585 {
586     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->addOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output));
587 }
588
589 void QUmlRaiseExceptionActionObject::removeOutput(QObject *output)
590 {
591     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->removeOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output));
592 }
593
594 // SLOTS FOR OWNED ATTRIBUTES [RaiseExceptionAction]
595
596 void QUmlRaiseExceptionActionObject::setException(QObject *exception)
597 {
598     qmodelingelementproperty_cast<QUmlRaiseExceptionAction *>(this)->setException(qmodelingelementproperty_cast<QUmlInputPin *>(exception));
599 }
600
601
602 void QUmlRaiseExceptionActionObject::setGroupProperties()
603 {
604     Q_D(QModelingObject);
605     const QMetaObject *metaObject = this->metaObject();
606
607     d->propertyGroups << QStringLiteral("QObject");
608     d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName"))));
609
610     d->propertyGroups << QStringLiteral("QUmlElement");
611     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments"))));
612     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements"))));
613     d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner"))));
614
615     d->propertyGroups << QStringLiteral("QUmlNamedElement");
616     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies"))));
617     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name"))));
618     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression"))));
619     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_"))));
620     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName"))));
621     d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
622
623     d->propertyGroups << QStringLiteral("QUmlRedefinableElement");
624     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
625     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
626     d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts"))));
627
628     d->propertyGroups << QStringLiteral("QUmlActivityNode");
629     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("activity"))));
630     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inGroups"))));
631     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inInterruptibleRegions"))));
632     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inPartitions"))));
633     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inStructuredNode"))));
634     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("incomings"))));
635     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("outgoings"))));
636     d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedNodes"))));
637
638     d->propertyGroups << QStringLiteral("QUmlExecutableNode");
639     d->groupProperties.insert(QStringLiteral("QUmlExecutableNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("handlers"))));
640
641     d->propertyGroups << QStringLiteral("QUmlAction");
642     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("context"))));
643     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inputs"))));
644     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLocallyReentrant"))));
645     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("localPostconditions"))));
646     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("localPreconditions"))));
647     d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("outputs"))));
648
649     d->propertyGroups << QStringLiteral("QUmlRaiseExceptionAction");
650     d->groupProperties.insert(QStringLiteral("QUmlRaiseExceptionAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("exception"))));
651 }
652
653 void QUmlRaiseExceptionActionObject::setPropertyData()
654 {
655     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, AggregationRole, QStringLiteral("composite"));
656     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, PropertyClassRole, QStringLiteral("QUmlElement"));
657     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedRole, false);
658     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, IsDerivedUnionRole, false);
659     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, DocumentationRole, QStringLiteral("The Comments owned by this element."));
660     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, RedefinedPropertiesRole, QStringLiteral(""));
661     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
662     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedComments, OppositeEndRole, QStringLiteral(""));
663
664     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, AggregationRole, QStringLiteral("composite"));
665     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, PropertyClassRole, QStringLiteral("QUmlElement"));
666     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedRole, true);
667     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, IsDerivedUnionRole, true);
668     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, DocumentationRole, QStringLiteral("The Elements owned by this element."));
669     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, RedefinedPropertiesRole, QStringLiteral(""));
670     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, SubsettedPropertiesRole, QStringLiteral(""));
671     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, ownedElements, OppositeEndRole, QStringLiteral("Element-owner"));
672
673     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, AggregationRole, QStringLiteral("none"));
674     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, PropertyClassRole, QStringLiteral("QUmlElement"));
675     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedRole, true);
676     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, IsDerivedUnionRole, true);
677     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, DocumentationRole, QStringLiteral("The Element that owns this element."));
678     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, RedefinedPropertiesRole, QStringLiteral(""));
679     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, SubsettedPropertiesRole, QStringLiteral(""));
680     Q_DECLARE_METAPROPERTY_INFO(QUmlElement, owner, OppositeEndRole, QStringLiteral("Element-ownedElement"));
681
682     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, AggregationRole, QStringLiteral("none"));
683     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
684     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedRole, false);
685     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, IsDerivedUnionRole, false);
686     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, DocumentationRole, QStringLiteral("Indicates the dependencies that reference the client."));
687     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, RedefinedPropertiesRole, QStringLiteral(""));
688     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, SubsettedPropertiesRole, QStringLiteral("A_source_directedRelationship-directedRelationship"));
689     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, clientDependencies, OppositeEndRole, QStringLiteral("Dependency-client"));
690
691     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, AggregationRole, QStringLiteral("none"));
692     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
693     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedRole, false);
694     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, IsDerivedUnionRole, false);
695     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, DocumentationRole, QStringLiteral("The name of the NamedElement."));
696     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, RedefinedPropertiesRole, QStringLiteral(""));
697     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, SubsettedPropertiesRole, QStringLiteral(""));
698     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, name, OppositeEndRole, QStringLiteral(""));
699
700     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, AggregationRole, QStringLiteral("composite"));
701     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
702     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedRole, false);
703     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, IsDerivedUnionRole, false);
704     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, DocumentationRole, QStringLiteral("The string expression used to define the name of this named element."));
705     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, RedefinedPropertiesRole, QStringLiteral(""));
706     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
707     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, nameExpression, OppositeEndRole, QStringLiteral(""));
708
709     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, AggregationRole, QStringLiteral("none"));
710     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
711     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedRole, true);
712     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, IsDerivedUnionRole, true);
713     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, DocumentationRole, QStringLiteral("Specifies the namespace that owns the NamedElement."));
714     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, RedefinedPropertiesRole, QStringLiteral(""));
715     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, SubsettedPropertiesRole, QStringLiteral("A_member_memberNamespace-memberNamespace Element-owner"));
716     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, namespace_, OppositeEndRole, QStringLiteral("Namespace-ownedMember"));
717
718     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, AggregationRole, QStringLiteral("none"));
719     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
720     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedRole, true);
721     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, IsDerivedUnionRole, false);
722     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."));
723     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, RedefinedPropertiesRole, QStringLiteral(""));
724     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, SubsettedPropertiesRole, QStringLiteral(""));
725     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, qualifiedName, OppositeEndRole, QStringLiteral(""));
726
727     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, AggregationRole, QStringLiteral("none"));
728     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, PropertyClassRole, QStringLiteral("QUmlNamedElement"));
729     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedRole, false);
730     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, IsDerivedUnionRole, false);
731     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, DocumentationRole, QStringLiteral("Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility."));
732     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, RedefinedPropertiesRole, QStringLiteral(""));
733     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, SubsettedPropertiesRole, QStringLiteral(""));
734     Q_DECLARE_METAPROPERTY_INFO(QUmlNamedElement, visibility, OppositeEndRole, QStringLiteral(""));
735
736     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, AggregationRole, QStringLiteral("none"));
737     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
738     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedRole, false);
739     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, IsDerivedUnionRole, false);
740     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."));
741     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, RedefinedPropertiesRole, QStringLiteral(""));
742     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, SubsettedPropertiesRole, QStringLiteral(""));
743     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, isLeaf, OppositeEndRole, QStringLiteral(""));
744
745     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, AggregationRole, QStringLiteral("none"));
746     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
747     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedRole, true);
748     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, IsDerivedUnionRole, true);
749     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, DocumentationRole, QStringLiteral("The redefinable element that is being redefined by this element."));
750     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, RedefinedPropertiesRole, QStringLiteral(""));
751     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, SubsettedPropertiesRole, QStringLiteral(""));
752     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinedElements, OppositeEndRole, QStringLiteral(""));
753
754     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, AggregationRole, QStringLiteral("none"));
755     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, PropertyClassRole, QStringLiteral("QUmlRedefinableElement"));
756     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedRole, true);
757     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, IsDerivedUnionRole, true);
758     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, DocumentationRole, QStringLiteral("References the contexts that this element may be redefined from."));
759     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, RedefinedPropertiesRole, QStringLiteral(""));
760     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, SubsettedPropertiesRole, QStringLiteral(""));
761     Q_DECLARE_METAPROPERTY_INFO(QUmlRedefinableElement, redefinitionContexts, OppositeEndRole, QStringLiteral(""));
762
763     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, AggregationRole, QStringLiteral("none"));
764     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
765     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, IsDerivedRole, false);
766     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, IsDerivedUnionRole, false);
767     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, DocumentationRole, QStringLiteral("Activity containing the node."));
768     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, RedefinedPropertiesRole, QStringLiteral(""));
769     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, SubsettedPropertiesRole, QStringLiteral("Element-owner"));
770     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, activity, OppositeEndRole, QStringLiteral("Activity-node"));
771
772     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, AggregationRole, QStringLiteral("none"));
773     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
774     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, IsDerivedRole, true);
775     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, IsDerivedUnionRole, true);
776     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, DocumentationRole, QStringLiteral("Groups containing the node."));
777     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, RedefinedPropertiesRole, QStringLiteral(""));
778     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, SubsettedPropertiesRole, QStringLiteral(""));
779     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inGroups, OppositeEndRole, QStringLiteral("ActivityGroup-containedNode"));
780
781     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, AggregationRole, QStringLiteral("none"));
782     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
783     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, IsDerivedRole, false);
784     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, IsDerivedUnionRole, false);
785     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, DocumentationRole, QStringLiteral("Interruptible regions containing the node."));
786     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, RedefinedPropertiesRole, QStringLiteral(""));
787     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup"));
788     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inInterruptibleRegions, OppositeEndRole, QStringLiteral("InterruptibleActivityRegion-node"));
789
790     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, AggregationRole, QStringLiteral("none"));
791     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
792     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, IsDerivedRole, false);
793     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, IsDerivedUnionRole, false);
794     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, DocumentationRole, QStringLiteral("Partitions containing the node."));
795     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, RedefinedPropertiesRole, QStringLiteral(""));
796     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup"));
797     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inPartitions, OppositeEndRole, QStringLiteral("ActivityPartition-node"));
798
799     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, AggregationRole, QStringLiteral("none"));
800     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
801     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, IsDerivedRole, false);
802     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, IsDerivedUnionRole, false);
803     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, DocumentationRole, QStringLiteral("Structured activity node containing the node."));
804     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, RedefinedPropertiesRole, QStringLiteral(""));
805     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, SubsettedPropertiesRole, QStringLiteral("ActivityNode-inGroup Element-owner"));
806     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, inStructuredNode, OppositeEndRole, QStringLiteral("StructuredActivityNode-node"));
807
808     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, AggregationRole, QStringLiteral("none"));
809     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
810     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, IsDerivedRole, false);
811     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, IsDerivedUnionRole, false);
812     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, DocumentationRole, QStringLiteral("Edges that have the node as target."));
813     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, RedefinedPropertiesRole, QStringLiteral(""));
814     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, SubsettedPropertiesRole, QStringLiteral(""));
815     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, incomings, OppositeEndRole, QStringLiteral("ActivityEdge-target"));
816
817     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, AggregationRole, QStringLiteral("none"));
818     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
819     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, IsDerivedRole, false);
820     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, IsDerivedUnionRole, false);
821     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, DocumentationRole, QStringLiteral("Edges that have the node as source."));
822     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, RedefinedPropertiesRole, QStringLiteral(""));
823     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, SubsettedPropertiesRole, QStringLiteral(""));
824     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, outgoings, OppositeEndRole, QStringLiteral("ActivityEdge-source"));
825
826     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, AggregationRole, QStringLiteral("none"));
827     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, PropertyClassRole, QStringLiteral("QUmlActivityNode"));
828     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, IsDerivedRole, false);
829     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, IsDerivedUnionRole, false);
830     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, DocumentationRole, QStringLiteral("Inherited nodes replaced by this node in a specialization of the activity."));
831     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, RedefinedPropertiesRole, QStringLiteral(""));
832     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
833     Q_DECLARE_METAPROPERTY_INFO(QUmlActivityNode, redefinedNodes, OppositeEndRole, QStringLiteral(""));
834
835     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, AggregationRole, QStringLiteral("composite"));
836     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, PropertyClassRole, QStringLiteral("QUmlExecutableNode"));
837     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, IsDerivedRole, false);
838     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, IsDerivedUnionRole, false);
839     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, DocumentationRole, QStringLiteral("A set of exception handlers that are examined if an uncaught exception propagates to the outer level of the executable node."));
840     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, RedefinedPropertiesRole, QStringLiteral(""));
841     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
842     Q_DECLARE_METAPROPERTY_INFO(QUmlExecutableNode, handlers, OppositeEndRole, QStringLiteral("ExceptionHandler-protectedNode"));
843
844     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, AggregationRole, QStringLiteral("none"));
845     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, PropertyClassRole, QStringLiteral("QUmlAction"));
846     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, IsDerivedRole, true);
847     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, IsDerivedUnionRole, false);
848     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, DocumentationRole, QStringLiteral("The classifier that owns the behavior of which this action is a part."));
849     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, RedefinedPropertiesRole, QStringLiteral(""));
850     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, SubsettedPropertiesRole, QStringLiteral(""));
851     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, context, OppositeEndRole, QStringLiteral(""));
852
853     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, AggregationRole, QStringLiteral("composite"));
854     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, PropertyClassRole, QStringLiteral("QUmlAction"));
855     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, IsDerivedRole, true);
856     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, IsDerivedUnionRole, true);
857     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, DocumentationRole, QStringLiteral("The ordered set of input pins connected to the Action. These are among the total set of inputs."));
858     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, RedefinedPropertiesRole, QStringLiteral(""));
859     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
860     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, inputs, OppositeEndRole, QStringLiteral(""));
861
862     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, AggregationRole, QStringLiteral("none"));
863     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, PropertyClassRole, QStringLiteral("QUmlAction"));
864     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, IsDerivedRole, false);
865     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, IsDerivedUnionRole, false);
866     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, DocumentationRole, QStringLiteral("If true, the action can begin a new, concurrent execution, even if there is already another execution of the action ongoing. If false, the action cannot begin a new execution until any previous execution has completed."));
867     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, RedefinedPropertiesRole, QStringLiteral(""));
868     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, SubsettedPropertiesRole, QStringLiteral(""));
869     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, isLocallyReentrant, OppositeEndRole, QStringLiteral(""));
870
871     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, AggregationRole, QStringLiteral("composite"));
872     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, PropertyClassRole, QStringLiteral("QUmlAction"));
873     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, IsDerivedRole, false);
874     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, IsDerivedUnionRole, false);
875     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, DocumentationRole, QStringLiteral("Constraint that must be satisfied when executed is completed."));
876     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, RedefinedPropertiesRole, QStringLiteral(""));
877     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
878     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPostconditions, OppositeEndRole, QStringLiteral(""));
879
880     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, AggregationRole, QStringLiteral("composite"));
881     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, PropertyClassRole, QStringLiteral("QUmlAction"));
882     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, IsDerivedRole, false);
883     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, IsDerivedUnionRole, false);
884     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, DocumentationRole, QStringLiteral("Constraint that must be satisfied when execution is started."));
885     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, RedefinedPropertiesRole, QStringLiteral(""));
886     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
887     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, localPreconditions, OppositeEndRole, QStringLiteral(""));
888
889     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, AggregationRole, QStringLiteral("composite"));
890     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, PropertyClassRole, QStringLiteral("QUmlAction"));
891     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, IsDerivedRole, true);
892     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, IsDerivedUnionRole, true);
893     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, DocumentationRole, QStringLiteral("The ordered set of output pins connected to the Action. The action places its results onto pins in this set."));
894     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, RedefinedPropertiesRole, QStringLiteral(""));
895     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
896     Q_DECLARE_METAPROPERTY_INFO(QUmlAction, outputs, OppositeEndRole, QStringLiteral(""));
897
898     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, AggregationRole, QStringLiteral("composite"));
899     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, PropertyClassRole, QStringLiteral("QUmlRaiseExceptionAction"));
900     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, IsDerivedRole, false);
901     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, IsDerivedUnionRole, false);
902     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, DocumentationRole, QStringLiteral("An input pin whose value becomes an exception object."));
903     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, RedefinedPropertiesRole, QStringLiteral(""));
904     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, SubsettedPropertiesRole, QStringLiteral("Action-input"));
905     Q_DECLARE_METAPROPERTY_INFO(QUmlRaiseExceptionAction, exception, OppositeEndRole, QStringLiteral(""));
906
907 }
908
909 QT_END_NAMESPACE
910