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