diff options
Diffstat (limited to 'src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp')
-rw-r--r-- | src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp | 178 |
1 files changed, 115 insertions, 63 deletions
diff --git a/src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp b/src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp index 6a07937d..cb698827 100644 --- a/src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp +++ b/src/uml/qobjects/qumlbehaviorexecutionspecificationobject.cpp @@ -39,6 +39,7 @@ ** ****************************************************************************/ #include "qumlbehaviorexecutionspecificationobject_p.h" +#include "private/qmodelingobject_p.h" #include <QtUml/QUmlBehaviorExecutionSpecification> #include <QtUml/QUmlBehavior> @@ -57,16 +58,18 @@ QT_BEGIN_NAMESPACE -QUmlBehaviorExecutionSpecificationObject::QUmlBehaviorExecutionSpecificationObject(QUmlBehaviorExecutionSpecification *qModelingObject) +QUmlBehaviorExecutionSpecificationObject::QUmlBehaviorExecutionSpecificationObject(QUmlBehaviorExecutionSpecification *qModelingElement) { - setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject))); + setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement))); + setGroupProperties(); + setPropertyData(); } QUmlBehaviorExecutionSpecificationObject::~QUmlBehaviorExecutionSpecificationObject() { if (!property("deletingFromModelingObject").isValid()) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->deletingFromQObject = true; - delete qmodelingobjectproperty_cast<QUmlComment *>(this); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->deletingFromQModelingObject = true; + delete qmodelingelementproperty_cast<QUmlComment *>(this); } } @@ -75,25 +78,25 @@ QUmlBehaviorExecutionSpecificationObject::~QUmlBehaviorExecutionSpecificationObj const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::ownedComments() const { QSet<QObject *> set; - foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->ownedComments()) - set.insert(element->asQObject()); + foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->ownedComments()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::ownedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->ownedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->ownedElements()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlBehaviorExecutionSpecificationObject::owner() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->owner()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->owner()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->owner()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->owner()->asQModelingObject(); } // OWNED ATTRIBUTES [NamedElement] @@ -101,40 +104,40 @@ QObject *QUmlBehaviorExecutionSpecificationObject::owner() const const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::clientDependencies() const { QSet<QObject *> set; - foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->clientDependencies()) - set.insert(element->asQObject()); + foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->clientDependencies()) + set.insert(element->asQModelingObject()); return set; } QString QUmlBehaviorExecutionSpecificationObject::name() const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->name(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->name(); } QObject *QUmlBehaviorExecutionSpecificationObject::nameExpression() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->nameExpression()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->nameExpression()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->nameExpression()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->nameExpression()->asQModelingObject(); } QObject *QUmlBehaviorExecutionSpecificationObject::namespace_() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->namespace_()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->namespace_()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->namespace_()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->namespace_()->asQModelingObject(); } QString QUmlBehaviorExecutionSpecificationObject::qualifiedName() const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->qualifiedName(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->qualifiedName(); } QtUml::VisibilityKind QUmlBehaviorExecutionSpecificationObject::visibility() const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->visibility(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->visibility(); } // OWNED ATTRIBUTES [InteractionFragment] @@ -142,32 +145,32 @@ QtUml::VisibilityKind QUmlBehaviorExecutionSpecificationObject::visibility() con const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::covered() const { QSet<QObject *> set; - foreach (QUmlLifeline *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->covered()) - set.insert(element->asQObject()); + foreach (QUmlLifeline *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->covered()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlBehaviorExecutionSpecificationObject::enclosingInteraction() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingInteraction()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingInteraction()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingInteraction()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingInteraction()->asQModelingObject(); } QObject *QUmlBehaviorExecutionSpecificationObject::enclosingOperand() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingOperand()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingOperand()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingOperand()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->enclosingOperand()->asQModelingObject(); } const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::generalOrderings() const { QSet<QObject *> set; - foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->generalOrderings()) - set.insert(element->asQObject()); + foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->generalOrderings()) + set.insert(element->asQModelingObject()); return set; } @@ -175,28 +178,28 @@ const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::generalOrderings QObject *QUmlBehaviorExecutionSpecificationObject::finish() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->finish()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->finish()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->finish()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->finish()->asQModelingObject(); } QObject *QUmlBehaviorExecutionSpecificationObject::start() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->start()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->start()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->start()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->start()->asQModelingObject(); } // OWNED ATTRIBUTES [BehaviorExecutionSpecification] QObject *QUmlBehaviorExecutionSpecificationObject::behavior() const { - if (!qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->behavior()) + if (!qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->behavior()) return 0; else - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->behavior()->asQObject(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->behavior()->asQModelingObject(); } // OPERATIONS [Element] @@ -204,14 +207,14 @@ QObject *QUmlBehaviorExecutionSpecificationObject::behavior() const QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::allOwnedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allOwnedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allOwnedElements()) + set.insert(element->asQModelingObject()); return set; } bool QUmlBehaviorExecutionSpecificationObject::mustBeOwned() const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->mustBeOwned(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->mustBeOwned(); } // OPERATIONS [NamedElement] @@ -219,142 +222,191 @@ bool QUmlBehaviorExecutionSpecificationObject::mustBeOwned() const QList<QObject *> QUmlBehaviorExecutionSpecificationObject::allNamespaces() const { QList<QObject *> set; - foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allNamespaces()) - set.append(element->asQObject()); + foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allNamespaces()) + set.append(element->asQModelingObject()); return set; } QSet<QObject *> QUmlBehaviorExecutionSpecificationObject::allOwningPackages() const { QSet<QObject *> set; - foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allOwningPackages()) - set.insert(element->asQObject()); + foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->allOwningPackages()) + set.insert(element->asQModelingObject()); return set; } bool QUmlBehaviorExecutionSpecificationObject::isDistinguishableFrom(QObject *n, QObject *ns) const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns)); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns)); } QString QUmlBehaviorExecutionSpecificationObject::separator() const { - return qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->separator(); + return qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->separator(); } // SLOTS FOR OWNED ATTRIBUTES [Element] void QUmlBehaviorExecutionSpecificationObject::addOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlBehaviorExecutionSpecificationObject::removeOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlBehaviorExecutionSpecificationObject::addOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlBehaviorExecutionSpecificationObject::removeOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlBehaviorExecutionSpecificationObject::setOwner(QObject *owner) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner)); } // SLOTS FOR OWNED ATTRIBUTES [NamedElement] void QUmlBehaviorExecutionSpecificationObject::addClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlBehaviorExecutionSpecificationObject::removeClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlBehaviorExecutionSpecificationObject::setName(QString name) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setName(name); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setName(name); } void QUmlBehaviorExecutionSpecificationObject::setNameExpression(QObject *nameExpression) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression)); } void QUmlBehaviorExecutionSpecificationObject::setNamespace(QObject *namespace_) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_)); } void QUmlBehaviorExecutionSpecificationObject::setQualifiedName(QString qualifiedName) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setQualifiedName(qualifiedName); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setQualifiedName(qualifiedName); } void QUmlBehaviorExecutionSpecificationObject::setVisibility(QtUml::VisibilityKind visibility) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setVisibility(visibility); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setVisibility(visibility); } // SLOTS FOR OWNED ATTRIBUTES [InteractionFragment] void QUmlBehaviorExecutionSpecificationObject::addCovered(QObject *covered) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addCovered(qmodelingobjectproperty_cast<QUmlLifeline *>(covered)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addCovered(qmodelingelementproperty_cast<QUmlLifeline *>(covered)); } void QUmlBehaviorExecutionSpecificationObject::removeCovered(QObject *covered) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeCovered(qmodelingobjectproperty_cast<QUmlLifeline *>(covered)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeCovered(qmodelingelementproperty_cast<QUmlLifeline *>(covered)); } void QUmlBehaviorExecutionSpecificationObject::setEnclosingInteraction(QObject *enclosingInteraction) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setEnclosingInteraction(qmodelingobjectproperty_cast<QUmlInteraction *>(enclosingInteraction)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setEnclosingInteraction(qmodelingelementproperty_cast<QUmlInteraction *>(enclosingInteraction)); } void QUmlBehaviorExecutionSpecificationObject::setEnclosingOperand(QObject *enclosingOperand) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setEnclosingOperand(qmodelingobjectproperty_cast<QUmlInteractionOperand *>(enclosingOperand)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setEnclosingOperand(qmodelingelementproperty_cast<QUmlInteractionOperand *>(enclosingOperand)); } void QUmlBehaviorExecutionSpecificationObject::addGeneralOrdering(QObject *generalOrdering) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->addGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering)); } void QUmlBehaviorExecutionSpecificationObject::removeGeneralOrdering(QObject *generalOrdering) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->removeGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering)); } // SLOTS FOR OWNED ATTRIBUTES [ExecutionSpecification] void QUmlBehaviorExecutionSpecificationObject::setFinish(QObject *finish) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setFinish(qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(finish)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setFinish(qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(finish)); } void QUmlBehaviorExecutionSpecificationObject::setStart(QObject *start) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setStart(qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(start)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setStart(qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(start)); } // SLOTS FOR OWNED ATTRIBUTES [BehaviorExecutionSpecification] void QUmlBehaviorExecutionSpecificationObject::setBehavior(QObject *behavior) { - qmodelingobjectproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setBehavior(qmodelingobjectproperty_cast<QUmlBehavior *>(behavior)); + qmodelingelementproperty_cast<QUmlBehaviorExecutionSpecification *>(this)->setBehavior(qmodelingelementproperty_cast<QUmlBehavior *>(behavior)); +} + + +void QUmlBehaviorExecutionSpecificationObject::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("QUmlInteractionFragment"); + d->groupProperties.insert(QStringLiteral("QUmlInteractionFragment"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("covered")))); + d->groupProperties.insert(QStringLiteral("QUmlInteractionFragment"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("enclosingInteraction")))); + d->groupProperties.insert(QStringLiteral("QUmlInteractionFragment"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("enclosingOperand")))); + d->groupProperties.insert(QStringLiteral("QUmlInteractionFragment"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("generalOrderings")))); + + d->propertyGroups << QStringLiteral("QUmlExecutionSpecification"); + d->groupProperties.insert(QStringLiteral("QUmlExecutionSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("finish")))); + d->groupProperties.insert(QStringLiteral("QUmlExecutionSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("start")))); + + d->propertyGroups << QStringLiteral("QUmlBehaviorExecutionSpecification"); + d->groupProperties.insert(QStringLiteral("QUmlBehaviorExecutionSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("behavior")))); +} + +void QUmlBehaviorExecutionSpecificationObject::setPropertyData() +{ + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, AggregationRole, QStringLiteral("none")); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, PropertyClassRole, QStringLiteral("QUmlBehaviorExecutionSpecification")); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, IsDerivedRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, IsDerivedUnionRole, false); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, DocumentationRole, QStringLiteral("Behavior whose execution is occurring.")); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, RedefinedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, SubsettedPropertiesRole, QStringLiteral("")); + Q_DECLARE_METAPROPERTY_INFO(QUmlBehaviorExecutionSpecification, behavior, OppositeEndRole, QStringLiteral("")); + } QT_END_NAMESPACE |