summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlassociationobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumlassociationobject.cpp')
-rw-r--r--src/uml/qobjects/qumlassociationobject.cpp526
1 files changed, 329 insertions, 197 deletions
diff --git a/src/uml/qobjects/qumlassociationobject.cpp b/src/uml/qobjects/qumlassociationobject.cpp
index a230a9bc..0fdd454d 100644
--- a/src/uml/qobjects/qumlassociationobject.cpp
+++ b/src/uml/qobjects/qumlassociationobject.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
#include "qumlassociationobject_p.h"
+#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlAssociation>
#include <QtUml/QUmlClassifier>
@@ -71,16 +72,18 @@
QT_BEGIN_NAMESPACE
-QUmlAssociationObject::QUmlAssociationObject(QUmlAssociation *qModelingObject)
+QUmlAssociationObject::QUmlAssociationObject(QUmlAssociation *qModelingElement)
{
- setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject)));
+ setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement)));
+ setGroupProperties();
+ setPropertyData();
}
QUmlAssociationObject::~QUmlAssociationObject()
{
if (!property("deletingFromModelingObject").isValid()) {
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->deletingFromQObject = true;
- delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->deletingFromQModelingObject = true;
+ delete qmodelingelementproperty_cast<QUmlComment *>(this);
}
}
@@ -89,25 +92,25 @@ QUmlAssociationObject::~QUmlAssociationObject()
const QSet<QObject *> QUmlAssociationObject::ownedComments() const
{
QSet<QObject *> set;
- foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedComments())
- set.insert(element->asQObject());
+ foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedComments())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::ownedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedElements())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlAssociationObject::owner() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->owner())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->owner())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->owner()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
@@ -115,35 +118,35 @@ QObject *QUmlAssociationObject::owner() const
const QSet<QObject *> QUmlAssociationObject::clientDependencies() const
{
QSet<QObject *> set;
- foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->clientDependencies())
- set.insert(element->asQObject());
+ foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->clientDependencies())
+ set.insert(element->asQModelingObject());
return set;
}
QString QUmlAssociationObject::name() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->name();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->name();
}
QObject *QUmlAssociationObject::nameExpression() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->nameExpression())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->nameExpression())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->nameExpression()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlAssociationObject::namespace_() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->namespace_())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->namespace_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->namespace_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->namespace_()->asQModelingObject();
}
QString QUmlAssociationObject::qualifiedName() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->qualifiedName();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->qualifiedName();
}
// OWNED ATTRIBUTES [Namespace]
@@ -151,48 +154,48 @@ QString QUmlAssociationObject::qualifiedName() const
const QSet<QObject *> QUmlAssociationObject::elementImports() const
{
QSet<QObject *> set;
- foreach (QUmlElementImport *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->elementImports())
- set.insert(element->asQObject());
+ foreach (QUmlElementImport *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->elementImports())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::importedMembers() const
{
QSet<QObject *> set;
- foreach (QUmlPackageableElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->importedMembers())
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->importedMembers())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::members() const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->members())
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->members())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::ownedMembers() const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedMembers())
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedMembers())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::ownedRules() const
{
QSet<QObject *> set;
- foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedRules())
- set.insert(element->asQObject());
+ foreach (QUmlConstraint *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedRules())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::packageImports() const
{
QSet<QObject *> set;
- foreach (QUmlPackageImport *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->packageImports())
- set.insert(element->asQObject());
+ foreach (QUmlPackageImport *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->packageImports())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -200,49 +203,49 @@ const QSet<QObject *> QUmlAssociationObject::packageImports() const
QObject *QUmlAssociationObject::owningTemplateParameter() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->owningTemplateParameter())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->owningTemplateParameter())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->owningTemplateParameter()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->owningTemplateParameter()->asQModelingObject();
}
// OWNED ATTRIBUTES [PackageableElement]
QtUml::VisibilityKind QUmlAssociationObject::visibility() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->visibility();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->visibility();
}
// OWNED ATTRIBUTES [Type]
QObject *QUmlAssociationObject::package() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->package())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->package())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->package()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->package()->asQModelingObject();
}
// OWNED ATTRIBUTES [RedefinableElement]
bool QUmlAssociationObject::isLeaf() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isLeaf();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isLeaf();
}
const QSet<QObject *> QUmlAssociationObject::redefinedElements() const
{
QSet<QObject *> set;
- foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->redefinedElements())
- set.insert(element->asQObject());
+ foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->redefinedElements())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::redefinitionContexts() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->redefinitionContexts())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->redefinitionContexts())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -251,8 +254,8 @@ const QSet<QObject *> QUmlAssociationObject::redefinitionContexts() const
const QSet<QObject *> QUmlAssociationObject::templateBindings() const
{
QSet<QObject *> set;
- foreach (QUmlTemplateBinding *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->templateBindings())
- set.insert(element->asQObject());
+ foreach (QUmlTemplateBinding *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->templateBindings())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -261,122 +264,122 @@ const QSet<QObject *> QUmlAssociationObject::templateBindings() const
const QSet<QObject *> QUmlAssociationObject::attributes() const
{
QSet<QObject *> set;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->attributes())
- set.insert(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->attributes())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::collaborationUses() const
{
QSet<QObject *> set;
- foreach (QUmlCollaborationUse *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->collaborationUses())
- set.insert(element->asQObject());
+ foreach (QUmlCollaborationUse *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->collaborationUses())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::features() const
{
QSet<QObject *> set;
- foreach (QUmlFeature *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->features())
- set.insert(element->asQObject());
+ foreach (QUmlFeature *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->features())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::generals() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->generals())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->generals())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::generalizations() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralization *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->generalizations())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralization *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->generalizations())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::inheritedMembers() const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->inheritedMembers())
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->inheritedMembers())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::isAbstract() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isAbstract();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isAbstract();
}
bool QUmlAssociationObject::isFinalSpecialization() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isFinalSpecialization();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isFinalSpecialization();
}
QObject *QUmlAssociationObject::ownedTemplateSignature() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedTemplateSignature())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedTemplateSignature())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedTemplateSignature()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedTemplateSignature()->asQModelingObject();
}
const QSet<QObject *> QUmlAssociationObject::ownedUseCases() const
{
QSet<QObject *> set;
- foreach (QUmlUseCase *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedUseCases())
- set.insert(element->asQObject());
+ foreach (QUmlUseCase *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedUseCases())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::powertypeExtents() const
{
QSet<QObject *> set;
- foreach (QUmlGeneralizationSet *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->powertypeExtents())
- set.insert(element->asQObject());
+ foreach (QUmlGeneralizationSet *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->powertypeExtents())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlAssociationObject::redefinedClassifiers() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->redefinedClassifiers())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->redefinedClassifiers())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlAssociationObject::representation() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->representation())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->representation())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->representation()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->representation()->asQModelingObject();
}
const QSet<QObject *> QUmlAssociationObject::substitutions() const
{
QSet<QObject *> set;
- foreach (QUmlSubstitution *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->substitutions())
- set.insert(element->asQObject());
+ foreach (QUmlSubstitution *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->substitutions())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlAssociationObject::templateParameter() const
{
- if (!qmodelingobjectproperty_cast<QUmlAssociation *>(this)->templateParameter())
+ if (!qmodelingelementproperty_cast<QUmlAssociation *>(this)->templateParameter())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->templateParameter()->asQObject();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->templateParameter()->asQModelingObject();
}
const QSet<QObject *> QUmlAssociationObject::useCases() const
{
QSet<QObject *> set;
- foreach (QUmlUseCase *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->useCases())
- set.insert(element->asQObject());
+ foreach (QUmlUseCase *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->useCases())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -385,8 +388,8 @@ const QSet<QObject *> QUmlAssociationObject::useCases() const
const QSet<QObject *> QUmlAssociationObject::relatedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->relatedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->relatedElements())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -395,37 +398,37 @@ const QSet<QObject *> QUmlAssociationObject::relatedElements() const
const QList<QObject *> QUmlAssociationObject::endTypes() const
{
QList<QObject *> list;
- foreach (QUmlType *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->endTypes())
- list.append(element->asQObject());
+ foreach (QUmlType *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->endTypes())
+ list.append(element->asQModelingObject());
return list;
}
bool QUmlAssociationObject::isDerived() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isDerived();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isDerived();
}
const QList<QObject *> QUmlAssociationObject::memberEnds() const
{
QList<QObject *> list;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->memberEnds())
- list.append(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->memberEnds())
+ list.append(element->asQModelingObject());
return list;
}
const QSet<QObject *> QUmlAssociationObject::navigableOwnedEnds() const
{
QSet<QObject *> set;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->navigableOwnedEnds())
- set.insert(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->navigableOwnedEnds())
+ set.insert(element->asQModelingObject());
return set;
}
const QList<QObject *> QUmlAssociationObject::ownedEnds() const
{
QList<QObject *> list;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->ownedEnds())
- list.append(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->ownedEnds())
+ list.append(element->asQModelingObject());
return list;
}
@@ -434,14 +437,14 @@ const QList<QObject *> QUmlAssociationObject::ownedEnds() const
QSet<QObject *> QUmlAssociationObject::allOwnedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->allOwnedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->allOwnedElements())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::mustBeOwned() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->mustBeOwned();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
@@ -449,27 +452,27 @@ bool QUmlAssociationObject::mustBeOwned() const
QList<QObject *> QUmlAssociationObject::allNamespaces() const
{
QList<QObject *> set;
- foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->allNamespaces())
- set.append(element->asQObject());
+ foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->allNamespaces())
+ set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlAssociationObject::allOwningPackages() const
{
QSet<QObject *> set;
- foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->allOwningPackages())
- set.insert(element->asQObject());
+ foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->allOwningPackages())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlAssociationObject::separator() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->separator();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->separator();
}
// OPERATIONS [Namespace]
@@ -478,44 +481,44 @@ QSet<QObject *> QUmlAssociationObject::excludeCollisions(QSet<QObject *> imps) c
{
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<QUmlAssociation *>(this)->excludeCollisions(impsConverted))
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->excludeCollisions(impsConverted))
+ set.insert(element->asQModelingObject());
return set;
}
QSet<QString> QUmlAssociationObject::getNamesOfMember(QObject *element) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->getNamesOfMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(element));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->getNamesOfMember(qmodelingelementproperty_cast<QUmlNamedElement *>(element));
}
QSet<QObject *> QUmlAssociationObject::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<QUmlAssociation *>(this)->importMembers(impsConverted))
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->importMembers(impsConverted))
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::membersAreDistinguishable() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->membersAreDistinguishable();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->membersAreDistinguishable();
}
// OPERATIONS [ParameterableElement]
bool QUmlAssociationObject::isCompatibleWith(QObject *p) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isCompatibleWith(qmodelingobjectproperty_cast<QUmlParameterableElement *>(p));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isCompatibleWith(qmodelingelementproperty_cast<QUmlParameterableElement *>(p));
}
bool QUmlAssociationObject::isTemplateParameter() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isTemplateParameter();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isTemplateParameter();
}
// OPERATIONS [Type]
@@ -523,12 +526,12 @@ bool QUmlAssociationObject::isTemplateParameter() const
bool QUmlAssociationObject::isConsistentWith(QObject *redefinee) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
}
bool QUmlAssociationObject::isRedefinitionContextValid(QObject *redefined) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
}
// OPERATIONS [TemplateableElement]
@@ -536,8 +539,8 @@ bool QUmlAssociationObject::isRedefinitionContextValid(QObject *redefined) const
QSet<QObject *> QUmlAssociationObject::parameterableElements() const
{
QSet<QObject *> set;
- foreach (QUmlParameterableElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->parameterableElements())
- set.insert(element->asQObject());
+ foreach (QUmlParameterableElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->parameterableElements())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -546,63 +549,63 @@ QSet<QObject *> QUmlAssociationObject::parameterableElements() const
QSet<QObject *> QUmlAssociationObject::allFeatures() const
{
QSet<QObject *> set;
- foreach (QUmlFeature *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->allFeatures())
- set.insert(element->asQObject());
+ foreach (QUmlFeature *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->allFeatures())
+ set.insert(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlAssociationObject::allParents() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->allParents())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->allParents())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::conformsTo(QObject *other) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->conformsTo(qmodelingobjectproperty_cast<QUmlClassifier *>(other));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->conformsTo(qmodelingelementproperty_cast<QUmlClassifier *>(other));
}
bool QUmlAssociationObject::hasVisibilityOf(QObject *n) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->hasVisibilityOf(qmodelingobjectproperty_cast<QUmlNamedElement *>(n));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->hasVisibilityOf(qmodelingelementproperty_cast<QUmlNamedElement *>(n));
}
QSet<QObject *> QUmlAssociationObject::inherit(QSet<QObject *> inhs) const
{
QSet<QUmlNamedElement *> inhsConverted;
foreach (QObject *object, inhs)
- inhsConverted.insert(qmodelingobjectproperty_cast<QUmlNamedElement *>(object));
+ inhsConverted.insert(qmodelingelementproperty_cast<QUmlNamedElement *>(object));
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->inherit(inhsConverted))
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->inherit(inhsConverted))
+ set.insert(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlAssociationObject::inheritableMembers(QObject *c) const
{
QSet<QObject *> set;
- foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->inheritableMembers(qmodelingobjectproperty_cast<QUmlClassifier *>(c)))
- set.insert(element->asQObject());
+ foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->inheritableMembers(qmodelingelementproperty_cast<QUmlClassifier *>(c)))
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlAssociationObject::isTemplate() const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->isTemplate();
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->isTemplate();
}
bool QUmlAssociationObject::maySpecializeType(QObject *c) const
{
- return qmodelingobjectproperty_cast<QUmlAssociation *>(this)->maySpecializeType(qmodelingobjectproperty_cast<QUmlClassifier *>(c));
+ return qmodelingelementproperty_cast<QUmlAssociation *>(this)->maySpecializeType(qmodelingelementproperty_cast<QUmlClassifier *>(c));
}
QSet<QObject *> QUmlAssociationObject::parents() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlAssociation *>(this)->parents())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlAssociation *>(this)->parents())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -610,400 +613,529 @@ QSet<QObject *> QUmlAssociationObject::parents() const
void QUmlAssociationObject::addOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlAssociationObject::removeOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlAssociationObject::addOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlAssociationObject::removeOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlAssociationObject::setOwner(QObject *owner)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlAssociationObject::addClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlAssociationObject::removeClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlAssociationObject::setName(QString name)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setName(name);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setName(name);
}
void QUmlAssociationObject::setNameExpression(QObject *nameExpression)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
}
void QUmlAssociationObject::setNamespace(QObject *namespace_)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
}
void QUmlAssociationObject::setQualifiedName(QString qualifiedName)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setQualifiedName(qualifiedName);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setQualifiedName(qualifiedName);
}
// SLOTS FOR OWNED ATTRIBUTES [Namespace]
void QUmlAssociationObject::addElementImport(QObject *elementImport)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addElementImport(qmodelingobjectproperty_cast<QUmlElementImport *>(elementImport));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
}
void QUmlAssociationObject::removeElementImport(QObject *elementImport)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeElementImport(qmodelingobjectproperty_cast<QUmlElementImport *>(elementImport));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeElementImport(qmodelingelementproperty_cast<QUmlElementImport *>(elementImport));
}
void QUmlAssociationObject::addImportedMember(QObject *importedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addImportedMember(qmodelingobjectproperty_cast<QUmlPackageableElement *>(importedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
}
void QUmlAssociationObject::removeImportedMember(QObject *importedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeImportedMember(qmodelingobjectproperty_cast<QUmlPackageableElement *>(importedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeImportedMember(qmodelingelementproperty_cast<QUmlPackageableElement *>(importedMember));
}
void QUmlAssociationObject::addMember(QObject *member)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(member));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
}
void QUmlAssociationObject::removeMember(QObject *member)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(member));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeMember(qmodelingelementproperty_cast<QUmlNamedElement *>(member));
}
void QUmlAssociationObject::addOwnedMember(QObject *ownedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(ownedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
}
void QUmlAssociationObject::removeOwnedMember(QObject *ownedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(ownedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(ownedMember));
}
void QUmlAssociationObject::addOwnedRule(QObject *ownedRule)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedRule(qmodelingobjectproperty_cast<QUmlConstraint *>(ownedRule));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
}
void QUmlAssociationObject::removeOwnedRule(QObject *ownedRule)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedRule(qmodelingobjectproperty_cast<QUmlConstraint *>(ownedRule));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedRule(qmodelingelementproperty_cast<QUmlConstraint *>(ownedRule));
}
void QUmlAssociationObject::addPackageImport(QObject *packageImport)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addPackageImport(qmodelingobjectproperty_cast<QUmlPackageImport *>(packageImport));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addPackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
}
void QUmlAssociationObject::removePackageImport(QObject *packageImport)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removePackageImport(qmodelingobjectproperty_cast<QUmlPackageImport *>(packageImport));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removePackageImport(qmodelingelementproperty_cast<QUmlPackageImport *>(packageImport));
}
// SLOTS FOR OWNED ATTRIBUTES [ParameterableElement]
void QUmlAssociationObject::setOwningTemplateParameter(QObject *owningTemplateParameter)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setOwningTemplateParameter(qmodelingobjectproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setOwningTemplateParameter(qmodelingelementproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter));
}
// SLOTS FOR OWNED ATTRIBUTES [PackageableElement]
void QUmlAssociationObject::setVisibility(QtUml::VisibilityKind visibility)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setVisibility(visibility);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setVisibility(visibility);
}
void QUmlAssociationObject::unsetVisibility()
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("visibility"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("visibility"));
}
// SLOTS FOR OWNED ATTRIBUTES [Type]
void QUmlAssociationObject::setPackage(QObject *package)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setPackage(qmodelingobjectproperty_cast<QUmlPackage *>(package));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setPackage(qmodelingelementproperty_cast<QUmlPackage *>(package));
}
// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
void QUmlAssociationObject::setLeaf(bool isLeaf)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setLeaf(isLeaf);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setLeaf(isLeaf);
}
void QUmlAssociationObject::unsetLeaf()
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("leaf"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
}
void QUmlAssociationObject::addRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
void QUmlAssociationObject::removeRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
void QUmlAssociationObject::addRedefinitionContext(QObject *redefinitionContext)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
}
void QUmlAssociationObject::removeRedefinitionContext(QObject *redefinitionContext)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
}
// SLOTS FOR OWNED ATTRIBUTES [TemplateableElement]
void QUmlAssociationObject::addTemplateBinding(QObject *templateBinding)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addTemplateBinding(qmodelingobjectproperty_cast<QUmlTemplateBinding *>(templateBinding));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addTemplateBinding(qmodelingelementproperty_cast<QUmlTemplateBinding *>(templateBinding));
}
void QUmlAssociationObject::removeTemplateBinding(QObject *templateBinding)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeTemplateBinding(qmodelingobjectproperty_cast<QUmlTemplateBinding *>(templateBinding));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeTemplateBinding(qmodelingelementproperty_cast<QUmlTemplateBinding *>(templateBinding));
}
// SLOTS FOR OWNED ATTRIBUTES [Classifier]
void QUmlAssociationObject::addAttribute(QObject *attribute)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addAttribute(qmodelingobjectproperty_cast<QUmlProperty *>(attribute));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addAttribute(qmodelingelementproperty_cast<QUmlProperty *>(attribute));
}
void QUmlAssociationObject::removeAttribute(QObject *attribute)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeAttribute(qmodelingobjectproperty_cast<QUmlProperty *>(attribute));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeAttribute(qmodelingelementproperty_cast<QUmlProperty *>(attribute));
}
void QUmlAssociationObject::addCollaborationUse(QObject *collaborationUse)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addCollaborationUse(qmodelingobjectproperty_cast<QUmlCollaborationUse *>(collaborationUse));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addCollaborationUse(qmodelingelementproperty_cast<QUmlCollaborationUse *>(collaborationUse));
}
void QUmlAssociationObject::removeCollaborationUse(QObject *collaborationUse)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeCollaborationUse(qmodelingobjectproperty_cast<QUmlCollaborationUse *>(collaborationUse));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeCollaborationUse(qmodelingelementproperty_cast<QUmlCollaborationUse *>(collaborationUse));
}
void QUmlAssociationObject::addFeature(QObject *feature)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addFeature(qmodelingobjectproperty_cast<QUmlFeature *>(feature));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addFeature(qmodelingelementproperty_cast<QUmlFeature *>(feature));
}
void QUmlAssociationObject::removeFeature(QObject *feature)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeFeature(qmodelingobjectproperty_cast<QUmlFeature *>(feature));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeFeature(qmodelingelementproperty_cast<QUmlFeature *>(feature));
}
void QUmlAssociationObject::addGeneral(QObject *general)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addGeneral(qmodelingobjectproperty_cast<QUmlClassifier *>(general));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addGeneral(qmodelingelementproperty_cast<QUmlClassifier *>(general));
}
void QUmlAssociationObject::removeGeneral(QObject *general)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeGeneral(qmodelingobjectproperty_cast<QUmlClassifier *>(general));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeGeneral(qmodelingelementproperty_cast<QUmlClassifier *>(general));
}
void QUmlAssociationObject::addGeneralization(QObject *generalization)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addGeneralization(qmodelingobjectproperty_cast<QUmlGeneralization *>(generalization));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addGeneralization(qmodelingelementproperty_cast<QUmlGeneralization *>(generalization));
}
void QUmlAssociationObject::removeGeneralization(QObject *generalization)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeGeneralization(qmodelingobjectproperty_cast<QUmlGeneralization *>(generalization));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeGeneralization(qmodelingelementproperty_cast<QUmlGeneralization *>(generalization));
}
void QUmlAssociationObject::addInheritedMember(QObject *inheritedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addInheritedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(inheritedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addInheritedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(inheritedMember));
}
void QUmlAssociationObject::removeInheritedMember(QObject *inheritedMember)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeInheritedMember(qmodelingobjectproperty_cast<QUmlNamedElement *>(inheritedMember));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeInheritedMember(qmodelingelementproperty_cast<QUmlNamedElement *>(inheritedMember));
}
void QUmlAssociationObject::setAbstract(bool isAbstract)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setAbstract(isAbstract);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setAbstract(isAbstract);
}
void QUmlAssociationObject::unsetAbstract()
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("abstract"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("abstract"));
}
void QUmlAssociationObject::setFinalSpecialization(bool isFinalSpecialization)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setFinalSpecialization(isFinalSpecialization);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setFinalSpecialization(isFinalSpecialization);
}
void QUmlAssociationObject::unsetFinalSpecialization()
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("finalSpecialization"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("finalSpecialization"));
}
void QUmlAssociationObject::setOwnedTemplateSignature(QObject *ownedTemplateSignature)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setOwnedTemplateSignature(qmodelingobjectproperty_cast<QUmlRedefinableTemplateSignature *>(ownedTemplateSignature));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setOwnedTemplateSignature(qmodelingelementproperty_cast<QUmlRedefinableTemplateSignature *>(ownedTemplateSignature));
}
void QUmlAssociationObject::addOwnedUseCase(QObject *ownedUseCase)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedUseCase(qmodelingobjectproperty_cast<QUmlUseCase *>(ownedUseCase));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(ownedUseCase));
}
void QUmlAssociationObject::removeOwnedUseCase(QObject *ownedUseCase)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedUseCase(qmodelingobjectproperty_cast<QUmlUseCase *>(ownedUseCase));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(ownedUseCase));
}
void QUmlAssociationObject::addPowertypeExtent(QObject *powertypeExtent)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addPowertypeExtent(qmodelingobjectproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addPowertypeExtent(qmodelingelementproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
}
void QUmlAssociationObject::removePowertypeExtent(QObject *powertypeExtent)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removePowertypeExtent(qmodelingobjectproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removePowertypeExtent(qmodelingelementproperty_cast<QUmlGeneralizationSet *>(powertypeExtent));
}
void QUmlAssociationObject::addRedefinedClassifier(QObject *redefinedClassifier)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addRedefinedClassifier(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinedClassifier));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addRedefinedClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(redefinedClassifier));
}
void QUmlAssociationObject::removeRedefinedClassifier(QObject *redefinedClassifier)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeRedefinedClassifier(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinedClassifier));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeRedefinedClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(redefinedClassifier));
}
void QUmlAssociationObject::setRepresentation(QObject *representation)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setRepresentation(qmodelingobjectproperty_cast<QUmlCollaborationUse *>(representation));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setRepresentation(qmodelingelementproperty_cast<QUmlCollaborationUse *>(representation));
}
void QUmlAssociationObject::addSubstitution(QObject *substitution)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addSubstitution(qmodelingobjectproperty_cast<QUmlSubstitution *>(substitution));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addSubstitution(qmodelingelementproperty_cast<QUmlSubstitution *>(substitution));
}
void QUmlAssociationObject::removeSubstitution(QObject *substitution)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeSubstitution(qmodelingobjectproperty_cast<QUmlSubstitution *>(substitution));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeSubstitution(qmodelingelementproperty_cast<QUmlSubstitution *>(substitution));
}
void QUmlAssociationObject::setTemplateParameter(QObject *templateParameter)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setTemplateParameter(qmodelingobjectproperty_cast<QUmlClassifierTemplateParameter *>(templateParameter));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setTemplateParameter(qmodelingelementproperty_cast<QUmlClassifierTemplateParameter *>(templateParameter));
}
void QUmlAssociationObject::addUseCase(QObject *useCase)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addUseCase(qmodelingobjectproperty_cast<QUmlUseCase *>(useCase));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(useCase));
}
void QUmlAssociationObject::removeUseCase(QObject *useCase)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeUseCase(qmodelingobjectproperty_cast<QUmlUseCase *>(useCase));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeUseCase(qmodelingelementproperty_cast<QUmlUseCase *>(useCase));
}
// SLOTS FOR OWNED ATTRIBUTES [Relationship]
void QUmlAssociationObject::addRelatedElement(QObject *relatedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addRelatedElement(qmodelingobjectproperty_cast<QUmlElement *>(relatedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement));
}
void QUmlAssociationObject::removeRelatedElement(QObject *relatedElement)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeRelatedElement(qmodelingobjectproperty_cast<QUmlElement *>(relatedElement));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement));
}
// SLOTS FOR OWNED ATTRIBUTES [Association]
void QUmlAssociationObject::addEndType(QObject *endType)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addEndType(qmodelingobjectproperty_cast<QUmlType *>(endType));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addEndType(qmodelingelementproperty_cast<QUmlType *>(endType));
}
void QUmlAssociationObject::removeEndType(QObject *endType)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeEndType(qmodelingobjectproperty_cast<QUmlType *>(endType));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeEndType(qmodelingelementproperty_cast<QUmlType *>(endType));
}
void QUmlAssociationObject::setDerived(bool isDerived)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->setDerived(isDerived);
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->setDerived(isDerived);
}
void QUmlAssociationObject::unsetDerived()
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("derived"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("derived"));
}
void QUmlAssociationObject::addMemberEnd(QObject *memberEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addMemberEnd(qmodelingobjectproperty_cast<QUmlProperty *>(memberEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addMemberEnd(qmodelingelementproperty_cast<QUmlProperty *>(memberEnd));
}
void QUmlAssociationObject::removeMemberEnd(QObject *memberEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeMemberEnd(qmodelingobjectproperty_cast<QUmlProperty *>(memberEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeMemberEnd(qmodelingelementproperty_cast<QUmlProperty *>(memberEnd));
}
void QUmlAssociationObject::addNavigableOwnedEnd(QObject *navigableOwnedEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addNavigableOwnedEnd(qmodelingobjectproperty_cast<QUmlProperty *>(navigableOwnedEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addNavigableOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(navigableOwnedEnd));
}
void QUmlAssociationObject::removeNavigableOwnedEnd(QObject *navigableOwnedEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeNavigableOwnedEnd(qmodelingobjectproperty_cast<QUmlProperty *>(navigableOwnedEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeNavigableOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(navigableOwnedEnd));
}
void QUmlAssociationObject::addOwnedEnd(QObject *ownedEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->addOwnedEnd(qmodelingobjectproperty_cast<QUmlProperty *>(ownedEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->addOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(ownedEnd));
}
void QUmlAssociationObject::removeOwnedEnd(QObject *ownedEnd)
{
- qmodelingobjectproperty_cast<QUmlAssociation *>(this)->removeOwnedEnd(qmodelingobjectproperty_cast<QUmlProperty *>(ownedEnd));
+ qmodelingelementproperty_cast<QUmlAssociation *>(this)->removeOwnedEnd(qmodelingelementproperty_cast<QUmlProperty *>(ownedEnd));
+}
+
+
+void QUmlAssociationObject::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->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("QUmlParameterableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlParameterableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningTemplateParameter"))));
+
+ d->propertyGroups << QStringLiteral("QUmlPackageableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlPackageableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility"))));
+
+ d->propertyGroups << QStringLiteral("QUmlType");
+ d->groupProperties.insert(QStringLiteral("QUmlType"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("package"))));
+
+ d->propertyGroups << QStringLiteral("QUmlRedefinableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isLeaf"))));
+ d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedElements"))));
+ d->groupProperties.insert(QStringLiteral("QUmlRedefinableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinitionContexts"))));
+
+ d->propertyGroups << QStringLiteral("QUmlTemplateableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlTemplateableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateBindings"))));
+
+ d->propertyGroups << QStringLiteral("QUmlClassifier");
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("attributes"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("collaborationUses"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("features"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("generals"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("generalizations"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("inheritedMembers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isAbstract"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isFinalSpecialization"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedTemplateSignature"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedUseCases"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("powertypeExtents"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedClassifiers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("representation"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("substitutions"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateParameter"))));
+ d->groupProperties.insert(QStringLiteral("QUmlClassifier"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("useCases"))));
+
+ d->propertyGroups << QStringLiteral("QUmlRelationship");
+ d->groupProperties.insert(QStringLiteral("QUmlRelationship"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("relatedElements"))));
+
+ d->propertyGroups << QStringLiteral("QUmlAssociation");
+ d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("endTypes"))));
+ d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerived"))));
+ d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("memberEnds"))));
+ d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("navigableOwnedEnds"))));
+ d->groupProperties.insert(QStringLiteral("QUmlAssociation"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedEnds"))));
+}
+
+void QUmlAssociationObject::setPropertyData()
+{
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, PropertyClassRole, QStringLiteral("QUmlAssociation"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, IsDerivedRole, true);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, DocumentationRole, QStringLiteral("References the classifiers that are used as types of the ends of the association."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, SubsettedPropertiesRole, QStringLiteral("Relationship-relatedElement"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, endTypes, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, PropertyClassRole, QStringLiteral("QUmlAssociation"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, DocumentationRole, QStringLiteral("Specifies whether the association is derived from other model elements such as other associations or constraints."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, isDerived, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, DocumentationRole, QStringLiteral("Each end represents participation of instances of the classifier connected to the end in links of the association."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, SubsettedPropertiesRole, QStringLiteral("Namespace-member"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, memberEnds, OppositeEndRole, QStringLiteral("Property-association"));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, DocumentationRole, QStringLiteral("The navigable ends that are owned by the association itself."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, SubsettedPropertiesRole, QStringLiteral("Association-ownedEnd"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, navigableOwnedEnds, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, AggregationRole, QStringLiteral("composite"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, PropertyClassRole, QStringLiteral("QUmlAssociation"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, DocumentationRole, QStringLiteral("The ends that are owned by the association itself."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, SubsettedPropertiesRole, QStringLiteral("Association-memberEnd Classifier-feature A_redefinitionContext_redefinableElement-redefinableElement Namespace-ownedMember"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlAssociation, ownedEnds, OppositeEndRole, QStringLiteral("Property-owningAssociation"));
+
}
QT_END_NAMESPACE