summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumloccurrencespecificationobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumloccurrencespecificationobject.cpp')
-rw-r--r--src/uml/qobjects/qumloccurrencespecificationobject.cpp189
1 files changed, 128 insertions, 61 deletions
diff --git a/src/uml/qobjects/qumloccurrencespecificationobject.cpp b/src/uml/qobjects/qumloccurrencespecificationobject.cpp
index e6425817..e3b9bca7 100644
--- a/src/uml/qobjects/qumloccurrencespecificationobject.cpp
+++ b/src/uml/qobjects/qumloccurrencespecificationobject.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
#include "qumloccurrencespecificationobject_p.h"
+#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlOccurrenceSpecification>
#include <QtUml/QUmlComment>
@@ -55,16 +56,18 @@
QT_BEGIN_NAMESPACE
-QUmlOccurrenceSpecificationObject::QUmlOccurrenceSpecificationObject(QUmlOccurrenceSpecification *qModelingObject)
+QUmlOccurrenceSpecificationObject::QUmlOccurrenceSpecificationObject(QUmlOccurrenceSpecification *qModelingElement)
{
- setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject)));
+ setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement)));
+ setGroupProperties();
+ setPropertyData();
}
QUmlOccurrenceSpecificationObject::~QUmlOccurrenceSpecificationObject()
{
if (!property("deletingFromModelingObject").isValid()) {
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->deletingFromQObject = true;
- delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->deletingFromQModelingObject = true;
+ delete qmodelingelementproperty_cast<QUmlComment *>(this);
}
}
@@ -73,25 +76,25 @@ QUmlOccurrenceSpecificationObject::~QUmlOccurrenceSpecificationObject()
const QSet<QObject *> QUmlOccurrenceSpecificationObject::ownedComments() const
{
QSet<QObject *> set;
- foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->ownedComments())
- set.insert(element->asQObject());
+ foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->ownedComments())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlOccurrenceSpecificationObject::ownedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->ownedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->ownedElements())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlOccurrenceSpecificationObject::owner() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->owner())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->owner())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->owner()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
@@ -99,65 +102,65 @@ QObject *QUmlOccurrenceSpecificationObject::owner() const
const QSet<QObject *> QUmlOccurrenceSpecificationObject::clientDependencies() const
{
QSet<QObject *> set;
- foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->clientDependencies())
- set.insert(element->asQObject());
+ foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->clientDependencies())
+ set.insert(element->asQModelingObject());
return set;
}
QString QUmlOccurrenceSpecificationObject::name() const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->name();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->name();
}
QObject *QUmlOccurrenceSpecificationObject::nameExpression() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->nameExpression())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->nameExpression())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->nameExpression()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlOccurrenceSpecificationObject::namespace_() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->namespace_())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->namespace_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->namespace_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->namespace_()->asQModelingObject();
}
QString QUmlOccurrenceSpecificationObject::qualifiedName() const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->qualifiedName();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->qualifiedName();
}
QtUml::VisibilityKind QUmlOccurrenceSpecificationObject::visibility() const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->visibility();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->visibility();
}
// OWNED ATTRIBUTES [InteractionFragment]
QObject *QUmlOccurrenceSpecificationObject::enclosingInteraction() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingInteraction())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingInteraction())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingInteraction()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingInteraction()->asQModelingObject();
}
QObject *QUmlOccurrenceSpecificationObject::enclosingOperand() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingOperand())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingOperand())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingOperand()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->enclosingOperand()->asQModelingObject();
}
const QSet<QObject *> QUmlOccurrenceSpecificationObject::generalOrderings() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->generalOrderings())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->generalOrderings())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -165,25 +168,25 @@ const QSet<QObject *> QUmlOccurrenceSpecificationObject::generalOrderings() cons
QObject *QUmlOccurrenceSpecificationObject::covered() const
{
- if (!qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->covered())
+ if (!qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->covered())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->covered()->asQObject();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->covered()->asQModelingObject();
}
const QSet<QObject *> QUmlOccurrenceSpecificationObject::toAfters() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->toAfters())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->toAfters())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlOccurrenceSpecificationObject::toBefores() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->toBefores())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->toBefores())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -192,14 +195,14 @@ const QSet<QObject *> QUmlOccurrenceSpecificationObject::toBefores() const
QSet<QObject *> QUmlOccurrenceSpecificationObject::allOwnedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->allOwnedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->allOwnedElements())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlOccurrenceSpecificationObject::mustBeOwned() const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->mustBeOwned();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
@@ -207,140 +210,204 @@ bool QUmlOccurrenceSpecificationObject::mustBeOwned() const
QList<QObject *> QUmlOccurrenceSpecificationObject::allNamespaces() const
{
QList<QObject *> set;
- foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->allNamespaces())
- set.append(element->asQObject());
+ foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->allNamespaces())
+ set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlOccurrenceSpecificationObject::allOwningPackages() const
{
QSet<QObject *> set;
- foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->allOwningPackages())
- set.insert(element->asQObject());
+ foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->allOwningPackages())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlOccurrenceSpecificationObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlOccurrenceSpecificationObject::separator() const
{
- return qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->separator();
+ return qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->separator();
}
// SLOTS FOR OWNED ATTRIBUTES [Element]
void QUmlOccurrenceSpecificationObject::addOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlOccurrenceSpecificationObject::removeOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlOccurrenceSpecificationObject::addOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlOccurrenceSpecificationObject::removeOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlOccurrenceSpecificationObject::setOwner(QObject *owner)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlOccurrenceSpecificationObject::addClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlOccurrenceSpecificationObject::removeClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlOccurrenceSpecificationObject::setName(QString name)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setName(name);
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setName(name);
}
void QUmlOccurrenceSpecificationObject::setNameExpression(QObject *nameExpression)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
}
void QUmlOccurrenceSpecificationObject::setNamespace(QObject *namespace_)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
}
void QUmlOccurrenceSpecificationObject::setQualifiedName(QString qualifiedName)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setQualifiedName(qualifiedName);
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setQualifiedName(qualifiedName);
}
void QUmlOccurrenceSpecificationObject::setVisibility(QtUml::VisibilityKind visibility)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setVisibility(visibility);
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setVisibility(visibility);
}
// SLOTS FOR OWNED ATTRIBUTES [InteractionFragment]
void QUmlOccurrenceSpecificationObject::setEnclosingInteraction(QObject *enclosingInteraction)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setEnclosingInteraction(qmodelingobjectproperty_cast<QUmlInteraction *>(enclosingInteraction));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setEnclosingInteraction(qmodelingelementproperty_cast<QUmlInteraction *>(enclosingInteraction));
}
void QUmlOccurrenceSpecificationObject::setEnclosingOperand(QObject *enclosingOperand)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setEnclosingOperand(qmodelingobjectproperty_cast<QUmlInteractionOperand *>(enclosingOperand));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setEnclosingOperand(qmodelingelementproperty_cast<QUmlInteractionOperand *>(enclosingOperand));
}
void QUmlOccurrenceSpecificationObject::addGeneralOrdering(QObject *generalOrdering)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
}
void QUmlOccurrenceSpecificationObject::removeGeneralOrdering(QObject *generalOrdering)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
}
// SLOTS FOR OWNED ATTRIBUTES [OccurrenceSpecification]
void QUmlOccurrenceSpecificationObject::setCovered(QObject *covered)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->setCovered(qmodelingobjectproperty_cast<QUmlLifeline *>(covered));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->setCovered(qmodelingelementproperty_cast<QUmlLifeline *>(covered));
}
void QUmlOccurrenceSpecificationObject::addToAfter(QObject *toAfter)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addToAfter(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toAfter));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addToAfter(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toAfter));
}
void QUmlOccurrenceSpecificationObject::removeToAfter(QObject *toAfter)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeToAfter(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toAfter));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeToAfter(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toAfter));
}
void QUmlOccurrenceSpecificationObject::addToBefore(QObject *toBefore)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->addToBefore(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toBefore));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->addToBefore(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toBefore));
}
void QUmlOccurrenceSpecificationObject::removeToBefore(QObject *toBefore)
{
- qmodelingobjectproperty_cast<QUmlOccurrenceSpecification *>(this)->removeToBefore(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toBefore));
+ qmodelingelementproperty_cast<QUmlOccurrenceSpecification *>(this)->removeToBefore(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toBefore));
+}
+
+
+void QUmlOccurrenceSpecificationObject::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("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("QUmlOccurrenceSpecification");
+ d->groupProperties.insert(QStringLiteral("QUmlOccurrenceSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("covered"))));
+ d->groupProperties.insert(QStringLiteral("QUmlOccurrenceSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("toAfters"))));
+ d->groupProperties.insert(QStringLiteral("QUmlOccurrenceSpecification"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("toBefores"))));
+}
+
+void QUmlOccurrenceSpecificationObject::setPropertyData()
+{
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, PropertyClassRole, QStringLiteral("QUmlOccurrenceSpecification"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, DocumentationRole, QStringLiteral("References the Lifeline on which the OccurrenceSpecification appears."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, RedefinedPropertiesRole, QStringLiteral("InteractionFragment-covered"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, covered, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, PropertyClassRole, QStringLiteral("QUmlOccurrenceSpecification"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, DocumentationRole, QStringLiteral("References the GeneralOrderings that specify EventOcurrences that must occur after this OccurrenceSpecification"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toAfters, OppositeEndRole, QStringLiteral("GeneralOrdering-before"));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, PropertyClassRole, QStringLiteral("QUmlOccurrenceSpecification"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, DocumentationRole, QStringLiteral("References the GeneralOrderings that specify EventOcurrences that must occur before this OccurrenceSpecification"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlOccurrenceSpecification, toBefores, OppositeEndRole, QStringLiteral("GeneralOrdering-after"));
+
}
QT_END_NAMESPACE