summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp')
-rw-r--r--src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp175
1 files changed, 111 insertions, 64 deletions
diff --git a/src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp b/src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp
index 4132ed40..7745e6a0 100644
--- a/src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp
+++ b/src/uml/qobjects/qumldestructionoccurrencespecificationobject.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
#include "qumldestructionoccurrencespecificationobject_p.h"
+#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlDestructionOccurrenceSpecification>
#include <QtUml/QUmlComment>
@@ -56,16 +57,18 @@
QT_BEGIN_NAMESPACE
-QUmlDestructionOccurrenceSpecificationObject::QUmlDestructionOccurrenceSpecificationObject(QUmlDestructionOccurrenceSpecification *qModelingObject)
+QUmlDestructionOccurrenceSpecificationObject::QUmlDestructionOccurrenceSpecificationObject(QUmlDestructionOccurrenceSpecification *qModelingElement)
{
- setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject)));
+ setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement)));
+ setGroupProperties();
+ setPropertyData();
}
QUmlDestructionOccurrenceSpecificationObject::~QUmlDestructionOccurrenceSpecificationObject()
{
if (!property("deletingFromModelingObject").isValid()) {
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->deletingFromQObject = true;
- delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->deletingFromQModelingObject = true;
+ delete qmodelingelementproperty_cast<QUmlComment *>(this);
}
}
@@ -74,25 +77,25 @@ QUmlDestructionOccurrenceSpecificationObject::~QUmlDestructionOccurrenceSpecific
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::ownedComments() const
{
QSet<QObject *> set;
- foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->ownedComments())
- set.insert(element->asQObject());
+ foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->ownedComments())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::ownedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->ownedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->ownedElements())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlDestructionOccurrenceSpecificationObject::owner() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->owner())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->owner())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->owner()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
@@ -100,65 +103,65 @@ QObject *QUmlDestructionOccurrenceSpecificationObject::owner() const
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::clientDependencies() const
{
QSet<QObject *> set;
- foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->clientDependencies())
- set.insert(element->asQObject());
+ foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->clientDependencies())
+ set.insert(element->asQModelingObject());
return set;
}
QString QUmlDestructionOccurrenceSpecificationObject::name() const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->name();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->name();
}
QObject *QUmlDestructionOccurrenceSpecificationObject::nameExpression() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->nameExpression())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->nameExpression())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->nameExpression()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlDestructionOccurrenceSpecificationObject::namespace_() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->namespace_())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->namespace_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->namespace_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->namespace_()->asQModelingObject();
}
QString QUmlDestructionOccurrenceSpecificationObject::qualifiedName() const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->qualifiedName();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->qualifiedName();
}
QtUml::VisibilityKind QUmlDestructionOccurrenceSpecificationObject::visibility() const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->visibility();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->visibility();
}
// OWNED ATTRIBUTES [InteractionFragment]
QObject *QUmlDestructionOccurrenceSpecificationObject::enclosingInteraction() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingInteraction())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingInteraction())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingInteraction()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingInteraction()->asQModelingObject();
}
QObject *QUmlDestructionOccurrenceSpecificationObject::enclosingOperand() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingOperand())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingOperand())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingOperand()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->enclosingOperand()->asQModelingObject();
}
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::generalOrderings() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->generalOrderings())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->generalOrderings())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -166,25 +169,25 @@ const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::generalOrder
QObject *QUmlDestructionOccurrenceSpecificationObject::covered() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->covered())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->covered())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->covered()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->covered()->asQModelingObject();
}
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::toAfters() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->toAfters())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->toAfters())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::toBefores() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralOrdering *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->toBefores())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralOrdering *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->toBefores())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -192,10 +195,10 @@ const QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::toBefores()
QObject *QUmlDestructionOccurrenceSpecificationObject::message() const
{
- if (!qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->message())
+ if (!qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->message())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->message()->asQObject();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->message()->asQModelingObject();
}
// OPERATIONS [Element]
@@ -203,14 +206,14 @@ QObject *QUmlDestructionOccurrenceSpecificationObject::message() const
QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::allOwnedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allOwnedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allOwnedElements())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlDestructionOccurrenceSpecificationObject::mustBeOwned() const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->mustBeOwned();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
@@ -218,147 +221,191 @@ bool QUmlDestructionOccurrenceSpecificationObject::mustBeOwned() const
QList<QObject *> QUmlDestructionOccurrenceSpecificationObject::allNamespaces() const
{
QList<QObject *> set;
- foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allNamespaces())
- set.append(element->asQObject());
+ foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allNamespaces())
+ set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlDestructionOccurrenceSpecificationObject::allOwningPackages() const
{
QSet<QObject *> set;
- foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allOwningPackages())
- set.insert(element->asQObject());
+ foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->allOwningPackages())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlDestructionOccurrenceSpecificationObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlDestructionOccurrenceSpecificationObject::separator() const
{
- return qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->separator();
+ return qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->separator();
}
// SLOTS FOR OWNED ATTRIBUTES [Element]
void QUmlDestructionOccurrenceSpecificationObject::addOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlDestructionOccurrenceSpecificationObject::removeOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlDestructionOccurrenceSpecificationObject::addOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlDestructionOccurrenceSpecificationObject::removeOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlDestructionOccurrenceSpecificationObject::setOwner(QObject *owner)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlDestructionOccurrenceSpecificationObject::addClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlDestructionOccurrenceSpecificationObject::removeClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlDestructionOccurrenceSpecificationObject::setName(QString name)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setName(name);
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setName(name);
}
void QUmlDestructionOccurrenceSpecificationObject::setNameExpression(QObject *nameExpression)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
}
void QUmlDestructionOccurrenceSpecificationObject::setNamespace(QObject *namespace_)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
}
void QUmlDestructionOccurrenceSpecificationObject::setQualifiedName(QString qualifiedName)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setQualifiedName(qualifiedName);
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setQualifiedName(qualifiedName);
}
void QUmlDestructionOccurrenceSpecificationObject::setVisibility(QtUml::VisibilityKind visibility)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setVisibility(visibility);
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setVisibility(visibility);
}
// SLOTS FOR OWNED ATTRIBUTES [InteractionFragment]
void QUmlDestructionOccurrenceSpecificationObject::setEnclosingInteraction(QObject *enclosingInteraction)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setEnclosingInteraction(qmodelingobjectproperty_cast<QUmlInteraction *>(enclosingInteraction));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setEnclosingInteraction(qmodelingelementproperty_cast<QUmlInteraction *>(enclosingInteraction));
}
void QUmlDestructionOccurrenceSpecificationObject::setEnclosingOperand(QObject *enclosingOperand)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setEnclosingOperand(qmodelingobjectproperty_cast<QUmlInteractionOperand *>(enclosingOperand));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setEnclosingOperand(qmodelingelementproperty_cast<QUmlInteractionOperand *>(enclosingOperand));
}
void QUmlDestructionOccurrenceSpecificationObject::addGeneralOrdering(QObject *generalOrdering)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
}
void QUmlDestructionOccurrenceSpecificationObject::removeGeneralOrdering(QObject *generalOrdering)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeGeneralOrdering(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeGeneralOrdering(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(generalOrdering));
}
// SLOTS FOR OWNED ATTRIBUTES [OccurrenceSpecification]
void QUmlDestructionOccurrenceSpecificationObject::setCovered(QObject *covered)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setCovered(qmodelingobjectproperty_cast<QUmlLifeline *>(covered));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setCovered(qmodelingelementproperty_cast<QUmlLifeline *>(covered));
}
void QUmlDestructionOccurrenceSpecificationObject::addToAfter(QObject *toAfter)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addToAfter(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toAfter));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addToAfter(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toAfter));
}
void QUmlDestructionOccurrenceSpecificationObject::removeToAfter(QObject *toAfter)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeToAfter(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toAfter));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeToAfter(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toAfter));
}
void QUmlDestructionOccurrenceSpecificationObject::addToBefore(QObject *toBefore)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addToBefore(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toBefore));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->addToBefore(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toBefore));
}
void QUmlDestructionOccurrenceSpecificationObject::removeToBefore(QObject *toBefore)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeToBefore(qmodelingobjectproperty_cast<QUmlGeneralOrdering *>(toBefore));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->removeToBefore(qmodelingelementproperty_cast<QUmlGeneralOrdering *>(toBefore));
}
// SLOTS FOR OWNED ATTRIBUTES [MessageEnd]
void QUmlDestructionOccurrenceSpecificationObject::setMessage(QObject *message)
{
- qmodelingobjectproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setMessage(qmodelingobjectproperty_cast<QUmlMessage *>(message));
+ qmodelingelementproperty_cast<QUmlDestructionOccurrenceSpecification *>(this)->setMessage(qmodelingelementproperty_cast<QUmlMessage *>(message));
+}
+
+
+void QUmlDestructionOccurrenceSpecificationObject::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"))));
+
+ d->propertyGroups << QStringLiteral("QUmlMessageEnd");
+ d->groupProperties.insert(QStringLiteral("QUmlMessageEnd"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("message"))));
+
+ d->propertyGroups << QStringLiteral("QUmlMessageOccurrenceSpecification");
+
+ d->propertyGroups << QStringLiteral("QUmlDestructionOccurrenceSpecification");
+}
+
+void QUmlDestructionOccurrenceSpecificationObject::setPropertyData()
+{
}
QT_END_NAMESPACE