summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumltransitionobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumltransitionobject.cpp')
-rw-r--r--src/uml/qobjects/qumltransitionobject.cpp358
1 files changed, 247 insertions, 111 deletions
diff --git a/src/uml/qobjects/qumltransitionobject.cpp b/src/uml/qobjects/qumltransitionobject.cpp
index 414e862f..c5cd75ea 100644
--- a/src/uml/qobjects/qumltransitionobject.cpp
+++ b/src/uml/qobjects/qumltransitionobject.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
#include "qumltransitionobject_p.h"
+#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlTransition>
#include <QtUml/QUmlBehavior>
@@ -62,16 +63,18 @@
QT_BEGIN_NAMESPACE
-QUmlTransitionObject::QUmlTransitionObject(QUmlTransition *qModelingObject)
+QUmlTransitionObject::QUmlTransitionObject(QUmlTransition *qModelingElement)
{
- setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject)));
+ setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement)));
+ setGroupProperties();
+ setPropertyData();
}
QUmlTransitionObject::~QUmlTransitionObject()
{
if (!property("deletingFromModelingObject").isValid()) {
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->deletingFromQObject = true;
- delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->deletingFromQModelingObject = true;
+ delete qmodelingelementproperty_cast<QUmlComment *>(this);
}
}
@@ -80,25 +83,25 @@ QUmlTransitionObject::~QUmlTransitionObject()
const QSet<QObject *> QUmlTransitionObject::ownedComments() const
{
QSet<QObject *> set;
- foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->ownedComments())
- set.insert(element->asQObject());
+ foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->ownedComments())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::ownedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->ownedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->ownedElements())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlTransitionObject::owner() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->owner())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->owner())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->owner()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
@@ -106,54 +109,54 @@ QObject *QUmlTransitionObject::owner() const
const QSet<QObject *> QUmlTransitionObject::clientDependencies() const
{
QSet<QObject *> set;
- foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->clientDependencies())
- set.insert(element->asQObject());
+ foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->clientDependencies())
+ set.insert(element->asQModelingObject());
return set;
}
QString QUmlTransitionObject::name() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->name();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->name();
}
QObject *QUmlTransitionObject::nameExpression() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->nameExpression())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->nameExpression())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->nameExpression()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlTransitionObject::namespace_() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->namespace_())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->namespace_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->namespace_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->namespace_()->asQModelingObject();
}
QString QUmlTransitionObject::qualifiedName() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->qualifiedName();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->qualifiedName();
}
QtUml::VisibilityKind QUmlTransitionObject::visibility() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->visibility();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->visibility();
}
// OWNED ATTRIBUTES [RedefinableElement]
bool QUmlTransitionObject::isLeaf() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->isLeaf();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->isLeaf();
}
const QSet<QObject *> QUmlTransitionObject::redefinedElements() const
{
QSet<QObject *> set;
- foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->redefinedElements())
- set.insert(element->asQObject());
+ foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->redefinedElements())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -162,48 +165,48 @@ const QSet<QObject *> QUmlTransitionObject::redefinedElements() const
const QSet<QObject *> QUmlTransitionObject::elementImports() const
{
QSet<QObject *> set;
- foreach (QUmlElementImport *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->elementImports())
- set.insert(element->asQObject());
+ foreach (QUmlElementImport *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->elementImports())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::importedMembers() const
{
QSet<QObject *> set;
- foreach (QUmlPackageableElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->importedMembers())
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->importedMembers())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::members() const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->members())
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->members())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::ownedMembers() const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->ownedMembers())
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->ownedMembers())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::ownedRules() const
{
QSet<QObject *> set;
- foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->ownedRules())
- set.insert(element->asQObject());
+ foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->ownedRules())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlTransitionObject::packageImports() const
{
QSet<QObject *> set;
- foreach (QUmlPackageImport *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->packageImports())
- set.insert(element->asQObject());
+ foreach (QUmlPackageImport *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->packageImports())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -211,70 +214,70 @@ const QSet<QObject *> QUmlTransitionObject::packageImports() const
QObject *QUmlTransitionObject::container() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->container())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->container())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->container()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->container()->asQModelingObject();
}
QObject *QUmlTransitionObject::effect() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->effect())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->effect())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->effect()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->effect()->asQModelingObject();
}
QObject *QUmlTransitionObject::guard() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->guard())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->guard())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->guard()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->guard()->asQModelingObject();
}
QtUml::TransitionKind QUmlTransitionObject::kind() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->kind();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->kind();
}
QObject *QUmlTransitionObject::redefinedTransition() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->redefinedTransition())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->redefinedTransition())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->redefinedTransition()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->redefinedTransition()->asQModelingObject();
}
QObject *QUmlTransitionObject::redefinitionContext() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->redefinitionContext())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->redefinitionContext())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->redefinitionContext()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->redefinitionContext()->asQModelingObject();
}
QObject *QUmlTransitionObject::source() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->source())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->source())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->source()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->source()->asQModelingObject();
}
QObject *QUmlTransitionObject::target() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->target())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->target())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->target()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->target()->asQModelingObject();
}
const QSet<QObject *> QUmlTransitionObject::triggers() const
{
QSet<QObject *> set;
- foreach (QUmlTrigger *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->triggers())
- set.insert(element->asQObject());
+ foreach (QUmlTrigger *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->triggers())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -283,14 +286,14 @@ const QSet<QObject *> QUmlTransitionObject::triggers() const
QSet<QObject *> QUmlTransitionObject::allOwnedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->allOwnedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->allOwnedElements())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlTransitionObject::mustBeOwned() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->mustBeOwned();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
@@ -298,34 +301,34 @@ bool QUmlTransitionObject::mustBeOwned() const
QList<QObject *> QUmlTransitionObject::allNamespaces() const
{
QList<QObject *> set;
- foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->allNamespaces())
- set.append(element->asQObject());
+ foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->allNamespaces())
+ set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlTransitionObject::allOwningPackages() const
{
QSet<QObject *> set;
- foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->allOwningPackages())
- set.insert(element->asQObject());
+ foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->allOwningPackages())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlTransitionObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlTransitionObject::separator() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->separator();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->separator();
}
// OPERATIONS [RedefinableElement]
bool QUmlTransitionObject::isRedefinitionContextValid(QObject *redefined) const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined));
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
}
// OPERATIONS [Namespace]
@@ -334,251 +337,384 @@ QSet<QObject *> QUmlTransitionObject::excludeCollisions(QSet<QObject *> imps) co
{
QSet<QUmlPackageableElement *> impsConverted;
foreach (QObject *object, imps)
- impsConverted.insert(qmodelingobjectproperty_cast<QUmlPackageableElement *>(object));
+ impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
QSet<QObject *> set;
- foreach (QUmlPackageableElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->excludeCollisions(impsConverted))
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->excludeCollisions(impsConverted))
+ set.insert(element->asQModelingObject());
return set;
}
QSet<QString> QUmlTransitionObject::getNamesOfMember(QObject *element) const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->getNamesOfMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(element));
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->getNamesOfMember(qmodelingelementproperty_cast<QUmlNamedElement *>(element));
}
QSet<QObject *> QUmlTransitionObject::importMembers(QSet<QObject *> imps) const
{
QSet<QUmlPackageableElement *> impsConverted;
foreach (QObject *object, imps)
- impsConverted.insert(qmodelingobjectproperty_cast<QUmlPackageableElement *>(object));
+ impsConverted.insert(qmodelingelementproperty_cast<QUmlPackageableElement *>(object));
QSet<QObject *> set;
- foreach (QUmlPackageableElement *element, qmodelingobjectproperty_cast<QUmlTransition *>(this)->importMembers(impsConverted))
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlTransition *>(this)->importMembers(impsConverted))
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlTransitionObject::membersAreDistinguishable() const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->membersAreDistinguishable();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->membersAreDistinguishable();
}
// OPERATIONS [Transition]
QObject *QUmlTransitionObject::containingStateMachine() const
{
- if (!qmodelingobjectproperty_cast<QUmlTransition *>(this)->containingStateMachine())
+ if (!qmodelingelementproperty_cast<QUmlTransition *>(this)->containingStateMachine())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->containingStateMachine()->asQObject();
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->containingStateMachine()->asQModelingObject();
}
bool QUmlTransitionObject::isConsistentWith(QObject *redefinee) const
{
- return qmodelingobjectproperty_cast<QUmlTransition *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee));
+ return qmodelingelementproperty_cast<QUmlTransition *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
}
// SLOTS FOR OWNED ATTRIBUTES [Element]
void QUmlTransitionObject::addOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlTransitionObject::removeOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlTransitionObject::addOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlTransitionObject::removeOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlTransitionObject::setOwner(QObject *owner)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlTransitionObject::addClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlTransitionObject::removeClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlTransitionObject::setName(QString name)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setName(name);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setName(name);
}
void QUmlTransitionObject::setNameExpression(QObject *nameExpression)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
}
void QUmlTransitionObject::setNamespace(QObject *namespace_)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
}
void QUmlTransitionObject::setQualifiedName(QString qualifiedName)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setQualifiedName(qualifiedName);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setQualifiedName(qualifiedName);
}
void QUmlTransitionObject::setVisibility(QtUml::VisibilityKind visibility)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setVisibility(visibility);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setVisibility(visibility);
}
// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
void QUmlTransitionObject::setLeaf(bool isLeaf)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setLeaf(isLeaf);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setLeaf(isLeaf);
}
void QUmlTransitionObject::unsetLeaf()
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("leaf"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
}
void QUmlTransitionObject::addRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
void QUmlTransitionObject::removeRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
// SLOTS FOR OWNED ATTRIBUTES [Namespace]
void QUmlTransitionObject::addElementImport(QObject *elementImport)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addElementImport(qmodelingobjectproperty_cast<QUmlElementImport *>(elementImport));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
}
void QUmlTransitionObject::removeElementImport(QObject *elementImport)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeElementImport(qmodelingobjectproperty_cast<QUmlElementImport *>(elementImport));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
}
void QUmlTransitionObject::addImportedMember(QObject *importedMember)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addImportedMember(qmodelingobjectproperty_cast<QUmlPackageableElement *>(importedMember));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
}
void QUmlTransitionObject::removeImportedMember(QObject *importedMember)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeImportedMember(qmodelingobjectproperty_cast<QUmlPackageableElement *>(importedMember));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
}
void QUmlTransitionObject::addMember(QObject *member)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(member));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
}
void QUmlTransitionObject::removeMember(QObject *member)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(member));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
}
void QUmlTransitionObject::addOwnedMember(QObject *ownedMember)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addOwnedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(ownedMember));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
}
void QUmlTransitionObject::removeOwnedMember(QObject *ownedMember)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeOwnedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(ownedMember));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
}
void QUmlTransitionObject::addOwnedRule(QObject *ownedRule)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addOwnedRule(qmodelingobjectproperty_cast<QUmlConstraint *>(ownedRule));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
}
void QUmlTransitionObject::removeOwnedRule(QObject *ownedRule)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeOwnedRule(qmodelingobjectproperty_cast<QUmlConstraint *>(ownedRule));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
}
void QUmlTransitionObject::addPackageImport(QObject *packageImport)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addPackageImport(qmodelingobjectproperty_cast<QUmlPackageImport *>(packageImport));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addPackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
}
void QUmlTransitionObject::removePackageImport(QObject *packageImport)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removePackageImport(qmodelingobjectproperty_cast<QUmlPackageImport *>(packageImport));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removePackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
}
// SLOTS FOR OWNED ATTRIBUTES [Transition]
void QUmlTransitionObject::setContainer(QObject *container)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setContainer(qmodelingobjectproperty_cast<QUmlRegion *>(container));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setContainer(qmodelingelementproperty_cast<QUmlRegion *>(container));
}
void QUmlTransitionObject::setEffect(QObject *effect)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setEffect(qmodelingobjectproperty_cast<QUmlBehavior *>(effect));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setEffect(qmodelingelementproperty_cast<QUmlBehavior *>(effect));
}
void QUmlTransitionObject::setGuard(QObject *guard)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setGuard(qmodelingobjectproperty_cast<QUmlConstraint *>(guard));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setGuard(qmodelingelementproperty_cast<QUmlConstraint *>(guard));
}
void QUmlTransitionObject::setKind(QtUml::TransitionKind kind)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setKind(kind);
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setKind(kind);
}
void QUmlTransitionObject::unsetKind()
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("kind"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("kind"));
}
void QUmlTransitionObject::setRedefinedTransition(QObject *redefinedTransition)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setRedefinedTransition(qmodelingobjectproperty_cast<QUmlTransition *>(redefinedTransition));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setRedefinedTransition(qmodelingelementproperty_cast<QUmlTransition *>(redefinedTransition));
}
void QUmlTransitionObject::setRedefinitionContext(QObject *redefinitionContext)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
}
void QUmlTransitionObject::setSource(QObject *source)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setSource(qmodelingobjectproperty_cast<QUmlVertex *>(source));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setSource(qmodelingelementproperty_cast<QUmlVertex *>(source));
}
void QUmlTransitionObject::setTarget(QObject *target)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->setTarget(qmodelingobjectproperty_cast<QUmlVertex *>(target));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->setTarget(qmodelingelementproperty_cast<QUmlVertex *>(target));
}
void QUmlTransitionObject::addTrigger(QObject *trigger)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->addTrigger(qmodelingobjectproperty_cast<QUmlTrigger *>(trigger));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->addTrigger(qmodelingelementproperty_cast<QUmlTrigger *>(trigger));
}
void QUmlTransitionObject::removeTrigger(QObject *trigger)
{
- qmodelingobjectproperty_cast<QUmlTransition *>(this)->removeTrigger(qmodelingobjectproperty_cast<QUmlTrigger *>(trigger));
+ qmodelingelementproperty_cast<QUmlTransition *>(this)->removeTrigger(qmodelingelementproperty_cast<QUmlTrigger *>(trigger));
+}
+
+
+void QUmlTransitionObject::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->propertyGroups << QStringLiteral("QUmlNamespace");
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("elementImports"))));
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("importedMembers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("members"))));
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedMembers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedRules"))));
+ d->groupProperties.insert(QStringLiteral("QUmlNamespace"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("packageImports"))));
+
+ d->propertyGroups << QStringLiteral("QUmlTransition");
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("container"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("effect"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("guard"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("kind"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedTransition"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContext"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("source"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("target"))));
+ d->groupProperties.insert(QStringLiteral("QUmlTransition"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("triggers"))));
+}
+
+void QUmlTransitionObject::setPropertyData()
+{
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, DocumentationRole, QStringLiteral("Designates the region that owns this transition."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, SubsettedPropertiesRole, QStringLiteral("NamedElement-namespace"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, container, OppositeEndRole, QStringLiteral("Region-transition"));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, AggregationRole, QStringLiteral("composite"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, DocumentationRole, QStringLiteral("Specifies an optional behavior to be performed when the transition fires."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, effect, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, AggregationRole, QStringLiteral("composite"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, DocumentationRole, QStringLiteral("A guard is a constraint that provides a fine-grained control over the firing of the transition. The guard is evaluated when an event occurrence is dispatched by the state machine. If the guard is true at that time, the transition may be enabled, otherwise, it is disabled. Guards should be pure expressions without side effects. Guard expressions with side effects are ill formed."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, SubsettedPropertiesRole, QStringLiteral("Namespace-ownedRule"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, guard, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, DocumentationRole, QStringLiteral("Indicates the precise type of the transition."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, kind, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, DocumentationRole, QStringLiteral("The transition that is redefined by this transition."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, SubsettedPropertiesRole, QStringLiteral("RedefinableElement-redefinedElement"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinedTransition, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, IsDerivedRole, true);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, DocumentationRole, QStringLiteral("References the classifier in which context this element may be redefined."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, RedefinedPropertiesRole, QStringLiteral("RedefinableElement-redefinitionContext"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, redefinitionContext, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, DocumentationRole, QStringLiteral("Designates the originating vertex (state or pseudostate) of the transition."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, source, OppositeEndRole, QStringLiteral("Vertex-outgoing"));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, DocumentationRole, QStringLiteral("Designates the target vertex that is reached when the transition is taken."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, target, OppositeEndRole, QStringLiteral("Vertex-incoming"));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, AggregationRole, QStringLiteral("composite"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, PropertyClassRole, QStringLiteral("QUmlTransition"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, DocumentationRole, QStringLiteral("Specifies the triggers that may fire the transition."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, SubsettedPropertiesRole, QStringLiteral("Element-ownedElement"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlTransition, triggers, OppositeEndRole, QStringLiteral(""));
+
}
QT_END_NAMESPACE