diff options
Diffstat (limited to 'src/uml/qobjects/qumldestroyobjectactionobject.cpp')
-rw-r--r-- | src/uml/qobjects/qumldestroyobjectactionobject.cpp | 328 |
1 files changed, 210 insertions, 118 deletions
diff --git a/src/uml/qobjects/qumldestroyobjectactionobject.cpp b/src/uml/qobjects/qumldestroyobjectactionobject.cpp index a82576dc..60be202b 100644 --- a/src/uml/qobjects/qumldestroyobjectactionobject.cpp +++ b/src/uml/qobjects/qumldestroyobjectactionobject.cpp @@ -39,6 +39,7 @@ ** ****************************************************************************/ #include "qumldestroyobjectactionobject_p.h" +#include "private/qmodelingobject_p.h" #include <QtUml/QUmlDestroyObjectAction> #include <QtUml/QUmlActivity> @@ -64,16 +65,18 @@ QT_BEGIN_NAMESPACE -QUmlDestroyObjectActionObject::QUmlDestroyObjectActionObject(QUmlDestroyObjectAction *qModelingObject) +QUmlDestroyObjectActionObject::QUmlDestroyObjectActionObject(QUmlDestroyObjectAction *qModelingElement) { - setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject))); + setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement))); + setGroupProperties(); + setPropertyData(); } QUmlDestroyObjectActionObject::~QUmlDestroyObjectActionObject() { if (!property("deletingFromModelingObject").isValid()) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->deletingFromQObject = true; - delete qmodelingobjectproperty_cast<QUmlComment *>(this); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->deletingFromQModelingObject = true; + delete qmodelingelementproperty_cast<QUmlComment *>(this); } } @@ -82,25 +85,25 @@ QUmlDestroyObjectActionObject::~QUmlDestroyObjectActionObject() const QSet<QObject *> QUmlDestroyObjectActionObject::ownedComments() const { QSet<QObject *> set; - foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->ownedComments()) - set.insert(element->asQObject()); + foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->ownedComments()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::ownedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->ownedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->ownedElements()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlDestroyObjectActionObject::owner() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->owner()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->owner()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->owner()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->owner()->asQModelingObject(); } // OWNED ATTRIBUTES [NamedElement] @@ -108,62 +111,62 @@ QObject *QUmlDestroyObjectActionObject::owner() const const QSet<QObject *> QUmlDestroyObjectActionObject::clientDependencies() const { QSet<QObject *> set; - foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->clientDependencies()) - set.insert(element->asQObject()); + foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->clientDependencies()) + set.insert(element->asQModelingObject()); return set; } QString QUmlDestroyObjectActionObject::name() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->name(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->name(); } QObject *QUmlDestroyObjectActionObject::nameExpression() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->nameExpression()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->nameExpression()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->nameExpression()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->nameExpression()->asQModelingObject(); } QObject *QUmlDestroyObjectActionObject::namespace_() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->namespace_()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->namespace_()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->namespace_()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->namespace_()->asQModelingObject(); } QString QUmlDestroyObjectActionObject::qualifiedName() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->qualifiedName(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->qualifiedName(); } QtUml::VisibilityKind QUmlDestroyObjectActionObject::visibility() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->visibility(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->visibility(); } // OWNED ATTRIBUTES [RedefinableElement] bool QUmlDestroyObjectActionObject::isLeaf() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isLeaf(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isLeaf(); } const QSet<QObject *> QUmlDestroyObjectActionObject::redefinedElements() const { QSet<QObject *> set; - foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->redefinedElements()) - set.insert(element->asQObject()); + foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->redefinedElements()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::redefinitionContexts() const { QSet<QObject *> set; - foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->redefinitionContexts()) - set.insert(element->asQObject()); + foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->redefinitionContexts()) + set.insert(element->asQModelingObject()); return set; } @@ -171,65 +174,65 @@ const QSet<QObject *> QUmlDestroyObjectActionObject::redefinitionContexts() cons QObject *QUmlDestroyObjectActionObject::activity() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->activity()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->activity()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->activity()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->activity()->asQModelingObject(); } const QSet<QObject *> QUmlDestroyObjectActionObject::inGroups() const { QSet<QObject *> set; - foreach (QUmlActivityGroup *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inGroups()) - set.insert(element->asQObject()); + foreach (QUmlActivityGroup *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inGroups()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::inInterruptibleRegions() const { QSet<QObject *> set; - foreach (QUmlInterruptibleActivityRegion *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inInterruptibleRegions()) - set.insert(element->asQObject()); + foreach (QUmlInterruptibleActivityRegion *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inInterruptibleRegions()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::inPartitions() const { QSet<QObject *> set; - foreach (QUmlActivityPartition *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inPartitions()) - set.insert(element->asQObject()); + foreach (QUmlActivityPartition *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inPartitions()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlDestroyObjectActionObject::inStructuredNode() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inStructuredNode()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inStructuredNode()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inStructuredNode()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inStructuredNode()->asQModelingObject(); } const QSet<QObject *> QUmlDestroyObjectActionObject::incomings() const { QSet<QObject *> set; - foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->incomings()) - set.insert(element->asQObject()); + foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->incomings()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::outgoings() const { QSet<QObject *> set; - foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->outgoings()) - set.insert(element->asQObject()); + foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->outgoings()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::redefinedNodes() const { QSet<QObject *> set; - foreach (QUmlActivityNode *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->redefinedNodes()) - set.insert(element->asQObject()); + foreach (QUmlActivityNode *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->redefinedNodes()) + set.insert(element->asQModelingObject()); return set; } @@ -238,8 +241,8 @@ const QSet<QObject *> QUmlDestroyObjectActionObject::redefinedNodes() const const QSet<QObject *> QUmlDestroyObjectActionObject::handlers() const { QSet<QObject *> set; - foreach (QUmlExceptionHandler *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->handlers()) - set.insert(element->asQObject()); + foreach (QUmlExceptionHandler *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->handlers()) + set.insert(element->asQModelingObject()); return set; } @@ -247,46 +250,46 @@ const QSet<QObject *> QUmlDestroyObjectActionObject::handlers() const QObject *QUmlDestroyObjectActionObject::context() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->context()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->context()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->context()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->context()->asQModelingObject(); } const QList<QObject *> QUmlDestroyObjectActionObject::inputs() const { QList<QObject *> list; - foreach (QUmlInputPin *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->inputs()) - list.append(element->asQObject()); + foreach (QUmlInputPin *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->inputs()) + list.append(element->asQModelingObject()); return list; } bool QUmlDestroyObjectActionObject::isLocallyReentrant() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isLocallyReentrant(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isLocallyReentrant(); } const QSet<QObject *> QUmlDestroyObjectActionObject::localPostconditions() const { QSet<QObject *> set; - foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->localPostconditions()) - set.insert(element->asQObject()); + foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->localPostconditions()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlDestroyObjectActionObject::localPreconditions() const { QSet<QObject *> set; - foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->localPreconditions()) - set.insert(element->asQObject()); + foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->localPreconditions()) + set.insert(element->asQModelingObject()); return set; } const QList<QObject *> QUmlDestroyObjectActionObject::outputs() const { QList<QObject *> list; - foreach (QUmlOutputPin *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->outputs()) - list.append(element->asQObject()); + foreach (QUmlOutputPin *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->outputs()) + list.append(element->asQModelingObject()); return list; } @@ -294,20 +297,20 @@ const QList<QObject *> QUmlDestroyObjectActionObject::outputs() const bool QUmlDestroyObjectActionObject::isDestroyLinks() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isDestroyLinks(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isDestroyLinks(); } bool QUmlDestroyObjectActionObject::isDestroyOwnedObjects() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isDestroyOwnedObjects(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isDestroyOwnedObjects(); } QObject *QUmlDestroyObjectActionObject::target() const { - if (!qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->target()) + if (!qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->target()) return 0; else - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->target()->asQObject(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->target()->asQModelingObject(); } // OPERATIONS [Element] @@ -315,14 +318,14 @@ QObject *QUmlDestroyObjectActionObject::target() const QSet<QObject *> QUmlDestroyObjectActionObject::allOwnedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->allOwnedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->allOwnedElements()) + set.insert(element->asQModelingObject()); return set; } bool QUmlDestroyObjectActionObject::mustBeOwned() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->mustBeOwned(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->mustBeOwned(); } // OPERATIONS [NamedElement] @@ -330,303 +333,392 @@ bool QUmlDestroyObjectActionObject::mustBeOwned() const QList<QObject *> QUmlDestroyObjectActionObject::allNamespaces() const { QList<QObject *> set; - foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->allNamespaces()) - set.append(element->asQObject()); + foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->allNamespaces()) + set.append(element->asQModelingObject()); return set; } QSet<QObject *> QUmlDestroyObjectActionObject::allOwningPackages() const { QSet<QObject *> set; - foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->allOwningPackages()) - set.insert(element->asQObject()); + foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->allOwningPackages()) + set.insert(element->asQModelingObject()); return set; } bool QUmlDestroyObjectActionObject::isDistinguishableFrom(QObject *n, QObject *ns) const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns)); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns)); } QString QUmlDestroyObjectActionObject::separator() const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->separator(); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->separator(); } // OPERATIONS [RedefinableElement] bool QUmlDestroyObjectActionObject::isConsistentWith(QObject *redefinee) const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee)); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee)); } bool QUmlDestroyObjectActionObject::isRedefinitionContextValid(QObject *redefined) const { - return qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined)); + return qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined)); } // SLOTS FOR OWNED ATTRIBUTES [Element] void QUmlDestroyObjectActionObject::addOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlDestroyObjectActionObject::removeOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlDestroyObjectActionObject::addOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlDestroyObjectActionObject::removeOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlDestroyObjectActionObject::setOwner(QObject *owner) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner)); } // SLOTS FOR OWNED ATTRIBUTES [NamedElement] void QUmlDestroyObjectActionObject::addClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlDestroyObjectActionObject::removeClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlDestroyObjectActionObject::setName(QString name) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setName(name); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setName(name); } void QUmlDestroyObjectActionObject::setNameExpression(QObject *nameExpression) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression)); } void QUmlDestroyObjectActionObject::setNamespace(QObject *namespace_) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_)); } void QUmlDestroyObjectActionObject::setQualifiedName(QString qualifiedName) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setQualifiedName(qualifiedName); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setQualifiedName(qualifiedName); } void QUmlDestroyObjectActionObject::setVisibility(QtUml::VisibilityKind visibility) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setVisibility(visibility); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setVisibility(visibility); } // SLOTS FOR OWNED ATTRIBUTES [RedefinableElement] void QUmlDestroyObjectActionObject::setLeaf(bool isLeaf) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setLeaf(isLeaf); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setLeaf(isLeaf); } void QUmlDestroyObjectActionObject::unsetLeaf() { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("leaf")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("leaf")); } void QUmlDestroyObjectActionObject::addRedefinedElement(QObject *redefinedElement) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement)); } void QUmlDestroyObjectActionObject::removeRedefinedElement(QObject *redefinedElement) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement)); } void QUmlDestroyObjectActionObject::addRedefinitionContext(QObject *redefinitionContext) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext)); } void QUmlDestroyObjectActionObject::removeRedefinitionContext(QObject *redefinitionContext) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext)); } // SLOTS FOR OWNED ATTRIBUTES [ActivityNode] void QUmlDestroyObjectActionObject::setActivity(QObject *activity) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setActivity(qmodelingobjectproperty_cast<QUmlActivity *>(activity)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setActivity(qmodelingelementproperty_cast<QUmlActivity *>(activity)); } void QUmlDestroyObjectActionObject::addInGroup(QObject *inGroup) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup)); } void QUmlDestroyObjectActionObject::removeInGroup(QObject *inGroup) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup)); } void QUmlDestroyObjectActionObject::addInInterruptibleRegion(QObject *inInterruptibleRegion) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); } void QUmlDestroyObjectActionObject::removeInInterruptibleRegion(QObject *inInterruptibleRegion) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); } void QUmlDestroyObjectActionObject::addInPartition(QObject *inPartition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition)); } void QUmlDestroyObjectActionObject::removeInPartition(QObject *inPartition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition)); } void QUmlDestroyObjectActionObject::setInStructuredNode(QObject *inStructuredNode) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setInStructuredNode(qmodelingobjectproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setInStructuredNode(qmodelingelementproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode)); } void QUmlDestroyObjectActionObject::addIncoming(QObject *incoming) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming)); } void QUmlDestroyObjectActionObject::removeIncoming(QObject *incoming) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming)); } void QUmlDestroyObjectActionObject::addOutgoing(QObject *outgoing) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing)); } void QUmlDestroyObjectActionObject::removeOutgoing(QObject *outgoing) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing)); } void QUmlDestroyObjectActionObject::addRedefinedNode(QObject *redefinedNode) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode)); } void QUmlDestroyObjectActionObject::removeRedefinedNode(QObject *redefinedNode) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode)); } // SLOTS FOR OWNED ATTRIBUTES [ExecutableNode] void QUmlDestroyObjectActionObject::addHandler(QObject *handler) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler)); } void QUmlDestroyObjectActionObject::removeHandler(QObject *handler) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler)); } // SLOTS FOR OWNED ATTRIBUTES [Action] void QUmlDestroyObjectActionObject::setContext(QObject *context) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setContext(qmodelingobjectproperty_cast<QUmlClassifier *>(context)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setContext(qmodelingelementproperty_cast<QUmlClassifier *>(context)); } void QUmlDestroyObjectActionObject::addInput(QObject *input) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addInput(qmodelingelementproperty_cast<QUmlInputPin *>(input)); } void QUmlDestroyObjectActionObject::removeInput(QObject *input) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeInput(qmodelingelementproperty_cast<QUmlInputPin *>(input)); } void QUmlDestroyObjectActionObject::setLocallyReentrant(bool isLocallyReentrant) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setLocallyReentrant(isLocallyReentrant); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setLocallyReentrant(isLocallyReentrant); } void QUmlDestroyObjectActionObject::unsetLocallyReentrant() { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("locallyReentrant")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("locallyReentrant")); } void QUmlDestroyObjectActionObject::addLocalPostcondition(QObject *localPostcondition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition)); } void QUmlDestroyObjectActionObject::removeLocalPostcondition(QObject *localPostcondition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition)); } void QUmlDestroyObjectActionObject::addLocalPrecondition(QObject *localPrecondition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition)); } void QUmlDestroyObjectActionObject::removeLocalPrecondition(QObject *localPrecondition) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition)); } void QUmlDestroyObjectActionObject::addOutput(QObject *output) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->addOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->addOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output)); } void QUmlDestroyObjectActionObject::removeOutput(QObject *output) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->removeOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->removeOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output)); } // SLOTS FOR OWNED ATTRIBUTES [DestroyObjectAction] void QUmlDestroyObjectActionObject::setDestroyLinks(bool isDestroyLinks) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setDestroyLinks(isDestroyLinks); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setDestroyLinks(isDestroyLinks); } void QUmlDestroyObjectActionObject::unsetDestroyLinks() { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("destroyLinks")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("destroyLinks")); } void QUmlDestroyObjectActionObject::setDestroyOwnedObjects(bool isDestroyOwnedObjects) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setDestroyOwnedObjects(isDestroyOwnedObjects); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setDestroyOwnedObjects(isDestroyOwnedObjects); } void QUmlDestroyObjectActionObject::unsetDestroyOwnedObjects() { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("destroyOwnedObjects")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("destroyOwnedObjects")); } void QUmlDestroyObjectActionObject::setTarget(QObject *target) { - qmodelingobjectproperty_cast<QUmlDestroyObjectAction *>(this)->setTarget(qmodelingobjectproperty_cast<QUmlInputPin *>(target)); + qmodelingelementproperty_cast<QUmlDestroyObjectAction *>(this)->setTarget(qmodelingelementproperty_cast<QUmlInputPin *>(target)); +} + + +void QUmlDestroyObjectActionObject::setGroupProperties() +{ + Q_D(QModelingObject); + const QMetaObject *metaObject = this->metaObject(); + + d->propertyGroups << QStringLiteral("QObject"); + d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName")))); + + d->propertyGroups << QStringLiteral("QUmlElement"); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments")))); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements")))); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner")))); + + d->propertyGroups << QStringLiteral("QUmlNamedElement"); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility")))); + + d->propertyGroups << QStringLiteral("QUmlRedefinableElement"); + d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf")))); + d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements")))); + d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts")))); + + d->propertyGroups << QStringLiteral("QUmlActivityNode"); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("activity")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inGroups")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inInterruptibleRegions")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inPartitions")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inStructuredNode")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("incomings")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("outgoings")))); + d->groupProperties.insert(QStringLiteral("QUmlActivityNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedNodes")))); + + d->propertyGroups << QStringLiteral("QUmlExecutableNode"); + d->groupProperties.insert(QStringLiteral("QUmlExecutableNode"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("handlers")))); + + d->propertyGroups << QStringLiteral("QUmlAction"); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("context")))); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inputs")))); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLocallyReentrant")))); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("localPostconditions")))); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("localPreconditions")))); + d->groupProperties.insert(QStringLiteral("QUmlAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("outputs")))); + + d->propertyGroups << QStringLiteral("QUmlDestroyObjectAction"); + d->groupProperties.insert(QStringLiteral("QUmlDestroyObjectAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDestroyLinks")))); + d->groupProperties.insert(QStringLiteral("QUmlDestroyObjectAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDestroyOwnedObjects")))); + d->groupProperties.insert(QStringLiteral("QUmlDestroyObjectAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("target")))); +} + +void QUmlDestroyObjectActionObject::setPropertyData() +{ + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, AggregationRole, QStringLiteral("none")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, PropertyClassRole, QStringLiteral("QUmlDestroyObjectAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, DocumentationRole, QStringLiteral("Specifies whether links in which the object participates are destroyed along with the object.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, SubsettedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyLinks, OppositeEndRole, QStringLiteral("")); + + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, AggregationRole, QStringLiteral("none")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, PropertyClassRole, QStringLiteral("QUmlDestroyObjectAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, DocumentationRole, QStringLiteral("Specifies whether objects owned by the object are destroyed along with the object.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, SubsettedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, isDestroyOwnedObjects, OppositeEndRole, QStringLiteral("")); + + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, AggregationRole, QStringLiteral("composite")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, PropertyClassRole, QStringLiteral("QUmlDestroyObjectAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, DocumentationRole, QStringLiteral("The input pin providing the object to be destroyed.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, SubsettedPropertiesRole, QStringLiteral("Action-input")); + Q_DECLARE_METAPROPERTY_INFO(QUmlDestroyObjectAction, target, OppositeEndRole, QStringLiteral("")); + } QT_END_NAMESPACE |