diff options
Diffstat (limited to 'src/uml/qobjects/qumltestidentityactionobject.cpp')
-rw-r--r-- | src/uml/qobjects/qumltestidentityactionobject.cpp | 326 |
1 files changed, 208 insertions, 118 deletions
diff --git a/src/uml/qobjects/qumltestidentityactionobject.cpp b/src/uml/qobjects/qumltestidentityactionobject.cpp index ccee3bac..40ec47c8 100644 --- a/src/uml/qobjects/qumltestidentityactionobject.cpp +++ b/src/uml/qobjects/qumltestidentityactionobject.cpp @@ -39,6 +39,7 @@ ** ****************************************************************************/ #include "qumltestidentityactionobject_p.h" +#include "private/qmodelingobject_p.h" #include <QtUml/QUmlTestIdentityAction> #include <QtUml/QUmlActivity> @@ -64,16 +65,18 @@ QT_BEGIN_NAMESPACE -QUmlTestIdentityActionObject::QUmlTestIdentityActionObject(QUmlTestIdentityAction *qModelingObject) +QUmlTestIdentityActionObject::QUmlTestIdentityActionObject(QUmlTestIdentityAction *qModelingElement) { - setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject))); + setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement))); + setGroupProperties(); + setPropertyData(); } QUmlTestIdentityActionObject::~QUmlTestIdentityActionObject() { if (!property("deletingFromModelingObject").isValid()) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->deletingFromQObject = true; - delete qmodelingobjectproperty_cast<QUmlComment *>(this); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->deletingFromQModelingObject = true; + delete qmodelingelementproperty_cast<QUmlComment *>(this); } } @@ -82,25 +85,25 @@ QUmlTestIdentityActionObject::~QUmlTestIdentityActionObject() const QSet<QObject *> QUmlTestIdentityActionObject::ownedComments() const { QSet<QObject *> set; - foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->ownedComments()) - set.insert(element->asQObject()); + foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->ownedComments()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::ownedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->ownedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->ownedElements()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlTestIdentityActionObject::owner() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->owner()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->owner()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->owner()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->owner()->asQModelingObject(); } // OWNED ATTRIBUTES [NamedElement] @@ -108,62 +111,62 @@ QObject *QUmlTestIdentityActionObject::owner() const const QSet<QObject *> QUmlTestIdentityActionObject::clientDependencies() const { QSet<QObject *> set; - foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->clientDependencies()) - set.insert(element->asQObject()); + foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->clientDependencies()) + set.insert(element->asQModelingObject()); return set; } QString QUmlTestIdentityActionObject::name() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->name(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->name(); } QObject *QUmlTestIdentityActionObject::nameExpression() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->nameExpression()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->nameExpression()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->nameExpression()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->nameExpression()->asQModelingObject(); } QObject *QUmlTestIdentityActionObject::namespace_() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->namespace_()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->namespace_()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->namespace_()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->namespace_()->asQModelingObject(); } QString QUmlTestIdentityActionObject::qualifiedName() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->qualifiedName(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->qualifiedName(); } QtUml::VisibilityKind QUmlTestIdentityActionObject::visibility() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->visibility(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->visibility(); } // OWNED ATTRIBUTES [RedefinableElement] bool QUmlTestIdentityActionObject::isLeaf() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->isLeaf(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->isLeaf(); } const QSet<QObject *> QUmlTestIdentityActionObject::redefinedElements() const { QSet<QObject *> set; - foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->redefinedElements()) - set.insert(element->asQObject()); + foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->redefinedElements()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::redefinitionContexts() const { QSet<QObject *> set; - foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->redefinitionContexts()) - set.insert(element->asQObject()); + foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->redefinitionContexts()) + set.insert(element->asQModelingObject()); return set; } @@ -171,65 +174,65 @@ const QSet<QObject *> QUmlTestIdentityActionObject::redefinitionContexts() const QObject *QUmlTestIdentityActionObject::activity() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->activity()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->activity()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->activity()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->activity()->asQModelingObject(); } const QSet<QObject *> QUmlTestIdentityActionObject::inGroups() const { QSet<QObject *> set; - foreach (QUmlActivityGroup *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inGroups()) - set.insert(element->asQObject()); + foreach (QUmlActivityGroup *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inGroups()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::inInterruptibleRegions() const { QSet<QObject *> set; - foreach (QUmlInterruptibleActivityRegion *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inInterruptibleRegions()) - set.insert(element->asQObject()); + foreach (QUmlInterruptibleActivityRegion *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inInterruptibleRegions()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::inPartitions() const { QSet<QObject *> set; - foreach (QUmlActivityPartition *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inPartitions()) - set.insert(element->asQObject()); + foreach (QUmlActivityPartition *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inPartitions()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlTestIdentityActionObject::inStructuredNode() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inStructuredNode()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inStructuredNode()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inStructuredNode()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inStructuredNode()->asQModelingObject(); } const QSet<QObject *> QUmlTestIdentityActionObject::incomings() const { QSet<QObject *> set; - foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->incomings()) - set.insert(element->asQObject()); + foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->incomings()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::outgoings() const { QSet<QObject *> set; - foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->outgoings()) - set.insert(element->asQObject()); + foreach (QUmlActivityEdge *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->outgoings()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::redefinedNodes() const { QSet<QObject *> set; - foreach (QUmlActivityNode *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->redefinedNodes()) - set.insert(element->asQObject()); + foreach (QUmlActivityNode *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->redefinedNodes()) + set.insert(element->asQModelingObject()); return set; } @@ -238,8 +241,8 @@ const QSet<QObject *> QUmlTestIdentityActionObject::redefinedNodes() const const QSet<QObject *> QUmlTestIdentityActionObject::handlers() const { QSet<QObject *> set; - foreach (QUmlExceptionHandler *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->handlers()) - set.insert(element->asQObject()); + foreach (QUmlExceptionHandler *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->handlers()) + set.insert(element->asQModelingObject()); return set; } @@ -247,46 +250,46 @@ const QSet<QObject *> QUmlTestIdentityActionObject::handlers() const QObject *QUmlTestIdentityActionObject::context() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->context()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->context()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->context()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->context()->asQModelingObject(); } const QList<QObject *> QUmlTestIdentityActionObject::inputs() const { QList<QObject *> list; - foreach (QUmlInputPin *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->inputs()) - list.append(element->asQObject()); + foreach (QUmlInputPin *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->inputs()) + list.append(element->asQModelingObject()); return list; } bool QUmlTestIdentityActionObject::isLocallyReentrant() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->isLocallyReentrant(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->isLocallyReentrant(); } const QSet<QObject *> QUmlTestIdentityActionObject::localPostconditions() const { QSet<QObject *> set; - foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->localPostconditions()) - set.insert(element->asQObject()); + foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->localPostconditions()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlTestIdentityActionObject::localPreconditions() const { QSet<QObject *> set; - foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->localPreconditions()) - set.insert(element->asQObject()); + foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->localPreconditions()) + set.insert(element->asQModelingObject()); return set; } const QList<QObject *> QUmlTestIdentityActionObject::outputs() const { QList<QObject *> list; - foreach (QUmlOutputPin *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->outputs()) - list.append(element->asQObject()); + foreach (QUmlOutputPin *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->outputs()) + list.append(element->asQModelingObject()); return list; } @@ -294,26 +297,26 @@ const QList<QObject *> QUmlTestIdentityActionObject::outputs() const QObject *QUmlTestIdentityActionObject::first() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->first()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->first()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->first()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->first()->asQModelingObject(); } QObject *QUmlTestIdentityActionObject::result() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->result()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->result()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->result()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->result()->asQModelingObject(); } QObject *QUmlTestIdentityActionObject::second() const { - if (!qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->second()) + if (!qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->second()) return 0; else - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->second()->asQObject(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->second()->asQModelingObject(); } // OPERATIONS [Element] @@ -321,14 +324,14 @@ QObject *QUmlTestIdentityActionObject::second() const QSet<QObject *> QUmlTestIdentityActionObject::allOwnedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->allOwnedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->allOwnedElements()) + set.insert(element->asQModelingObject()); return set; } bool QUmlTestIdentityActionObject::mustBeOwned() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->mustBeOwned(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->mustBeOwned(); } // OPERATIONS [NamedElement] @@ -336,293 +339,380 @@ bool QUmlTestIdentityActionObject::mustBeOwned() const QList<QObject *> QUmlTestIdentityActionObject::allNamespaces() const { QList<QObject *> set; - foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->allNamespaces()) - set.append(element->asQObject()); + foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->allNamespaces()) + set.append(element->asQModelingObject()); return set; } QSet<QObject *> QUmlTestIdentityActionObject::allOwningPackages() const { QSet<QObject *> set; - foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->allOwningPackages()) - set.insert(element->asQObject()); + foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->allOwningPackages()) + set.insert(element->asQModelingObject()); return set; } bool QUmlTestIdentityActionObject::isDistinguishableFrom(QObject *n, QObject *ns) const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns)); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns)); } QString QUmlTestIdentityActionObject::separator() const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->separator(); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->separator(); } // OPERATIONS [RedefinableElement] bool QUmlTestIdentityActionObject::isConsistentWith(QObject *redefinee) const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee)); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee)); } bool QUmlTestIdentityActionObject::isRedefinitionContextValid(QObject *redefined) const { - return qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined)); + return qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined)); } // SLOTS FOR OWNED ATTRIBUTES [Element] void QUmlTestIdentityActionObject::addOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlTestIdentityActionObject::removeOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlTestIdentityActionObject::addOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlTestIdentityActionObject::removeOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlTestIdentityActionObject::setOwner(QObject *owner) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner)); } // SLOTS FOR OWNED ATTRIBUTES [NamedElement] void QUmlTestIdentityActionObject::addClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlTestIdentityActionObject::removeClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlTestIdentityActionObject::setName(QString name) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setName(name); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setName(name); } void QUmlTestIdentityActionObject::setNameExpression(QObject *nameExpression) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression)); } void QUmlTestIdentityActionObject::setNamespace(QObject *namespace_) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_)); } void QUmlTestIdentityActionObject::setQualifiedName(QString qualifiedName) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setQualifiedName(qualifiedName); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setQualifiedName(qualifiedName); } void QUmlTestIdentityActionObject::setVisibility(QtUml::VisibilityKind visibility) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setVisibility(visibility); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setVisibility(visibility); } // SLOTS FOR OWNED ATTRIBUTES [RedefinableElement] void QUmlTestIdentityActionObject::setLeaf(bool isLeaf) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setLeaf(isLeaf); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setLeaf(isLeaf); } void QUmlTestIdentityActionObject::unsetLeaf() { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("leaf")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("leaf")); } void QUmlTestIdentityActionObject::addRedefinedElement(QObject *redefinedElement) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement)); } void QUmlTestIdentityActionObject::removeRedefinedElement(QObject *redefinedElement) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement)); } void QUmlTestIdentityActionObject::addRedefinitionContext(QObject *redefinitionContext) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext)); } void QUmlTestIdentityActionObject::removeRedefinitionContext(QObject *redefinitionContext) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext)); } // SLOTS FOR OWNED ATTRIBUTES [ActivityNode] void QUmlTestIdentityActionObject::setActivity(QObject *activity) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setActivity(qmodelingobjectproperty_cast<QUmlActivity *>(activity)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setActivity(qmodelingelementproperty_cast<QUmlActivity *>(activity)); } void QUmlTestIdentityActionObject::addInGroup(QObject *inGroup) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup)); } void QUmlTestIdentityActionObject::removeInGroup(QObject *inGroup) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeInGroup(qmodelingelementproperty_cast<QUmlActivityGroup *>(inGroup)); } void QUmlTestIdentityActionObject::addInInterruptibleRegion(QObject *inInterruptibleRegion) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); } void QUmlTestIdentityActionObject::removeInInterruptibleRegion(QObject *inInterruptibleRegion) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeInInterruptibleRegion(qmodelingelementproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion)); } void QUmlTestIdentityActionObject::addInPartition(QObject *inPartition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition)); } void QUmlTestIdentityActionObject::removeInPartition(QObject *inPartition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeInPartition(qmodelingelementproperty_cast<QUmlActivityPartition *>(inPartition)); } void QUmlTestIdentityActionObject::setInStructuredNode(QObject *inStructuredNode) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setInStructuredNode(qmodelingobjectproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setInStructuredNode(qmodelingelementproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode)); } void QUmlTestIdentityActionObject::addIncoming(QObject *incoming) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming)); } void QUmlTestIdentityActionObject::removeIncoming(QObject *incoming) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeIncoming(qmodelingelementproperty_cast<QUmlActivityEdge *>(incoming)); } void QUmlTestIdentityActionObject::addOutgoing(QObject *outgoing) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing)); } void QUmlTestIdentityActionObject::removeOutgoing(QObject *outgoing) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeOutgoing(qmodelingelementproperty_cast<QUmlActivityEdge *>(outgoing)); } void QUmlTestIdentityActionObject::addRedefinedNode(QObject *redefinedNode) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode)); } void QUmlTestIdentityActionObject::removeRedefinedNode(QObject *redefinedNode) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeRedefinedNode(qmodelingelementproperty_cast<QUmlActivityNode *>(redefinedNode)); } // SLOTS FOR OWNED ATTRIBUTES [ExecutableNode] void QUmlTestIdentityActionObject::addHandler(QObject *handler) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler)); } void QUmlTestIdentityActionObject::removeHandler(QObject *handler) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeHandler(qmodelingelementproperty_cast<QUmlExceptionHandler *>(handler)); } // SLOTS FOR OWNED ATTRIBUTES [Action] void QUmlTestIdentityActionObject::setContext(QObject *context) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setContext(qmodelingobjectproperty_cast<QUmlClassifier *>(context)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setContext(qmodelingelementproperty_cast<QUmlClassifier *>(context)); } void QUmlTestIdentityActionObject::addInput(QObject *input) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addInput(qmodelingelementproperty_cast<QUmlInputPin *>(input)); } void QUmlTestIdentityActionObject::removeInput(QObject *input) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeInput(qmodelingelementproperty_cast<QUmlInputPin *>(input)); } void QUmlTestIdentityActionObject::setLocallyReentrant(bool isLocallyReentrant) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setLocallyReentrant(isLocallyReentrant); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setLocallyReentrant(isLocallyReentrant); } void QUmlTestIdentityActionObject::unsetLocallyReentrant() { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("locallyReentrant")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("locallyReentrant")); } void QUmlTestIdentityActionObject::addLocalPostcondition(QObject *localPostcondition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition)); } void QUmlTestIdentityActionObject::removeLocalPostcondition(QObject *localPostcondition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeLocalPostcondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPostcondition)); } void QUmlTestIdentityActionObject::addLocalPrecondition(QObject *localPrecondition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition)); } void QUmlTestIdentityActionObject::removeLocalPrecondition(QObject *localPrecondition) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeLocalPrecondition(qmodelingelementproperty_cast<QUmlConstraint *>(localPrecondition)); } void QUmlTestIdentityActionObject::addOutput(QObject *output) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->addOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->addOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output)); } void QUmlTestIdentityActionObject::removeOutput(QObject *output) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->removeOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->removeOutput(qmodelingelementproperty_cast<QUmlOutputPin *>(output)); } // SLOTS FOR OWNED ATTRIBUTES [TestIdentityAction] void QUmlTestIdentityActionObject::setFirst(QObject *first) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setFirst(qmodelingobjectproperty_cast<QUmlInputPin *>(first)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setFirst(qmodelingelementproperty_cast<QUmlInputPin *>(first)); } void QUmlTestIdentityActionObject::setResult(QObject *result) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setResult(qmodelingobjectproperty_cast<QUmlOutputPin *>(result)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setResult(qmodelingelementproperty_cast<QUmlOutputPin *>(result)); } void QUmlTestIdentityActionObject::setSecond(QObject *second) { - qmodelingobjectproperty_cast<QUmlTestIdentityAction *>(this)->setSecond(qmodelingobjectproperty_cast<QUmlInputPin *>(second)); + qmodelingelementproperty_cast<QUmlTestIdentityAction *>(this)->setSecond(qmodelingelementproperty_cast<QUmlInputPin *>(second)); +} + + +void QUmlTestIdentityActionObject::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("QUmlTestIdentityAction"); + d->groupProperties.insert(QStringLiteral("QUmlTestIdentityAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("first")))); + d->groupProperties.insert(QStringLiteral("QUmlTestIdentityAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("result")))); + d->groupProperties.insert(QStringLiteral("QUmlTestIdentityAction"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("second")))); +} + +void QUmlTestIdentityActionObject::setPropertyData() +{ + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, AggregationRole, QStringLiteral("composite")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, PropertyClassRole, QStringLiteral("QUmlTestIdentityAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, DocumentationRole, QStringLiteral("Gives the pin on which an object is placed.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, SubsettedPropertiesRole, QStringLiteral("Action-input")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, first, OppositeEndRole, QStringLiteral("")); + + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, AggregationRole, QStringLiteral("composite")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, PropertyClassRole, QStringLiteral("QUmlTestIdentityAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, DocumentationRole, QStringLiteral("Tells whether the two input objects are identical.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, SubsettedPropertiesRole, QStringLiteral("Action-output")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, result, OppositeEndRole, QStringLiteral("")); + + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, AggregationRole, QStringLiteral("composite")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, PropertyClassRole, QStringLiteral("QUmlTestIdentityAction")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, DocumentationRole, QStringLiteral("Gives the pin on which an object is placed.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, SubsettedPropertiesRole, QStringLiteral("Action-input")); + Q_DECLARE_METAPROPERTY_INFO(QUmlTestIdentityAction, second, OppositeEndRole, QStringLiteral("")); + } QT_END_NAMESPACE |