summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlportobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumlportobject.cpp')
-rw-r--r--src/uml/qobjects/qumlportobject.cpp554
1 files changed, 362 insertions, 192 deletions
diff --git a/src/uml/qobjects/qumlportobject.cpp b/src/uml/qobjects/qumlportobject.cpp
index 565936ff..48cde33d 100644
--- a/src/uml/qobjects/qumlportobject.cpp
+++ b/src/uml/qobjects/qumlportobject.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
#include "qumlportobject_p.h"
+#include "private/qmodelingobject_p.h"
#include <QtUml/QUmlPort>
#include <QtUml/QUmlAssociation>
@@ -68,16 +69,18 @@
QT_BEGIN_NAMESPACE
-QUmlPortObject::QUmlPortObject(QUmlPort *qModelingObject)
+QUmlPortObject::QUmlPortObject(QUmlPort *qModelingElement)
{
- setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject)));
+ setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement)));
+ setGroupProperties();
+ setPropertyData();
}
QUmlPortObject::~QUmlPortObject()
{
if (!property("deletingFromModelingObject").isValid()) {
- qmodelingobjectproperty_cast<QUmlPort *>(this)->deletingFromQObject = true;
- delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->deletingFromQModelingObject = true;
+ delete qmodelingelementproperty_cast<QUmlComment *>(this);
}
}
@@ -86,25 +89,25 @@ QUmlPortObject::~QUmlPortObject()
const QSet<QObject *> QUmlPortObject::ownedComments() const
{
QSet<QObject *> set;
- foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->ownedComments())
- set.insert(element->asQObject());
+ foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlPort *>(this)->ownedComments())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::ownedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->ownedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlPort *>(this)->ownedElements())
+ set.insert(element->asQModelingObject());
return set;
}
QObject *QUmlPortObject::owner() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->owner())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->owner())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->owner()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->owner()->asQModelingObject();
}
// OWNED ATTRIBUTES [NamedElement]
@@ -112,110 +115,110 @@ QObject *QUmlPortObject::owner() const
const QSet<QObject *> QUmlPortObject::clientDependencies() const
{
QSet<QObject *> set;
- foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->clientDependencies())
- set.insert(element->asQObject());
+ foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlPort *>(this)->clientDependencies())
+ set.insert(element->asQModelingObject());
return set;
}
QString QUmlPortObject::name() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->name();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->name();
}
QObject *QUmlPortObject::nameExpression() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->nameExpression())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->nameExpression())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->nameExpression()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->nameExpression()->asQModelingObject();
}
QObject *QUmlPortObject::namespace_() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->namespace_())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->namespace_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->namespace_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->namespace_()->asQModelingObject();
}
QString QUmlPortObject::qualifiedName() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->qualifiedName();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->qualifiedName();
}
QtUml::VisibilityKind QUmlPortObject::visibility() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->visibility();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->visibility();
}
// OWNED ATTRIBUTES [TypedElement]
QObject *QUmlPortObject::type() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->type())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->type())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->type()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->type()->asQModelingObject();
}
// OWNED ATTRIBUTES [MultiplicityElement]
bool QUmlPortObject::isOrdered() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isOrdered();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isOrdered();
}
bool QUmlPortObject::isUnique() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isUnique();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isUnique();
}
int QUmlPortObject::lower() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->lower();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->lower();
}
QObject *QUmlPortObject::lowerValue() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->lowerValue())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->lowerValue())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->lowerValue()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->lowerValue()->asQModelingObject();
}
int QUmlPortObject::upper() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->upper();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->upper();
}
QObject *QUmlPortObject::upperValue() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->upperValue())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->upperValue())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->upperValue()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->upperValue()->asQModelingObject();
}
// OWNED ATTRIBUTES [RedefinableElement]
bool QUmlPortObject::isLeaf() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isLeaf();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isLeaf();
}
const QSet<QObject *> QUmlPortObject::redefinedElements() const
{
QSet<QObject *> set;
- foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->redefinedElements())
- set.insert(element->asQObject());
+ foreach (QUmlRedefinableElement *element, qmodelingelementproperty_cast<QUmlPort *>(this)->redefinedElements())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::redefinitionContexts() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->redefinitionContexts())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlPort *>(this)->redefinitionContexts())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -224,24 +227,24 @@ const QSet<QObject *> QUmlPortObject::redefinitionContexts() const
const QSet<QObject *> QUmlPortObject::featuringClassifiers() const
{
QSet<QObject *> set;
- foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->featuringClassifiers())
- set.insert(element->asQObject());
+ foreach (QUmlClassifier *element, qmodelingelementproperty_cast<QUmlPort *>(this)->featuringClassifiers())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlPortObject::isStatic() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isStatic();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isStatic();
}
// OWNED ATTRIBUTES [ParameterableElement]
QObject *QUmlPortObject::owningTemplateParameter() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->owningTemplateParameter())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->owningTemplateParameter())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->owningTemplateParameter()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->owningTemplateParameter()->asQModelingObject();
}
// OWNED ATTRIBUTES [ConnectableElement]
@@ -249,17 +252,17 @@ QObject *QUmlPortObject::owningTemplateParameter() const
const QList<QObject *> QUmlPortObject::ends() const
{
QList<QObject *> list;
- foreach (QUmlConnectorEnd *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->ends())
- list.append(element->asQObject());
+ foreach (QUmlConnectorEnd *element, qmodelingelementproperty_cast<QUmlPort *>(this)->ends())
+ list.append(element->asQModelingObject());
return list;
}
QObject *QUmlPortObject::templateParameter() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->templateParameter())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->templateParameter())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->templateParameter()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->templateParameter()->asQModelingObject();
}
// OWNED ATTRIBUTES [DeploymentTarget]
@@ -267,16 +270,16 @@ QObject *QUmlPortObject::templateParameter() const
const QSet<QObject *> QUmlPortObject::deployedElements() const
{
QSet<QObject *> set;
- foreach (QUmlPackageableElement *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->deployedElements())
- set.insert(element->asQObject());
+ foreach (QUmlPackageableElement *element, qmodelingelementproperty_cast<QUmlPort *>(this)->deployedElements())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::deployments() const
{
QSet<QObject *> set;
- foreach (QUmlDeployment *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->deployments())
- set.insert(element->asQObject());
+ foreach (QUmlDeployment *element, qmodelingelementproperty_cast<QUmlPort *>(this)->deployments())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -284,124 +287,124 @@ const QSet<QObject *> QUmlPortObject::deployments() const
QtUml::AggregationKind QUmlPortObject::aggregation() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->aggregation();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->aggregation();
}
QObject *QUmlPortObject::association() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->association())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->association())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->association()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->association()->asQModelingObject();
}
QObject *QUmlPortObject::associationEnd() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->associationEnd())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->associationEnd())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->associationEnd()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->associationEnd()->asQModelingObject();
}
QObject *QUmlPortObject::class_() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->class_())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->class_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->class_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->class_()->asQModelingObject();
}
QObject *QUmlPortObject::datatype() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->datatype())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->datatype())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->datatype()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->datatype()->asQModelingObject();
}
QString QUmlPortObject::default_() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->default_();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->default_();
}
QObject *QUmlPortObject::defaultValue() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->defaultValue())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->defaultValue())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->defaultValue()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->defaultValue()->asQModelingObject();
}
QObject *QUmlPortObject::interface_() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->interface_())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->interface_())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->interface_()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->interface_()->asQModelingObject();
}
bool QUmlPortObject::isComposite() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isComposite();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isComposite();
}
bool QUmlPortObject::isDerived() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isDerived();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isDerived();
}
bool QUmlPortObject::isDerivedUnion() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isDerivedUnion();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isDerivedUnion();
}
bool QUmlPortObject::isID() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isID();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isID();
}
bool QUmlPortObject::isReadOnly() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isReadOnly();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isReadOnly();
}
QObject *QUmlPortObject::opposite() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->opposite())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->opposite())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->opposite()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->opposite()->asQModelingObject();
}
QObject *QUmlPortObject::owningAssociation() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->owningAssociation())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->owningAssociation())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->owningAssociation()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->owningAssociation()->asQModelingObject();
}
const QList<QObject *> QUmlPortObject::qualifiers() const
{
QList<QObject *> list;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->qualifiers())
- list.append(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlPort *>(this)->qualifiers())
+ list.append(element->asQModelingObject());
return list;
}
const QSet<QObject *> QUmlPortObject::redefinedProperties() const
{
QSet<QObject *> set;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->redefinedProperties())
- set.insert(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlPort *>(this)->redefinedProperties())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::subsettedProperties() const
{
QSet<QObject *> set;
- foreach (QUmlProperty *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->subsettedProperties())
- set.insert(element->asQObject());
+ foreach (QUmlProperty *element, qmodelingelementproperty_cast<QUmlPort *>(this)->subsettedProperties())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -409,48 +412,48 @@ const QSet<QObject *> QUmlPortObject::subsettedProperties() const
bool QUmlPortObject::isBehavior() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isBehavior();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isBehavior();
}
bool QUmlPortObject::isConjugated() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isConjugated();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isConjugated();
}
bool QUmlPortObject::isService() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isService();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isService();
}
QObject *QUmlPortObject::protocol() const
{
- if (!qmodelingobjectproperty_cast<QUmlPort *>(this)->protocol())
+ if (!qmodelingelementproperty_cast<QUmlPort *>(this)->protocol())
return 0;
else
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->protocol()->asQObject();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->protocol()->asQModelingObject();
}
const QSet<QObject *> QUmlPortObject::provided() const
{
QSet<QObject *> set;
- foreach (QUmlInterface *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->provided())
- set.insert(element->asQObject());
+ foreach (QUmlInterface *element, qmodelingelementproperty_cast<QUmlPort *>(this)->provided())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::redefinedPorts() const
{
QSet<QObject *> set;
- foreach (QUmlPort *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->redefinedPorts())
- set.insert(element->asQObject());
+ foreach (QUmlPort *element, qmodelingelementproperty_cast<QUmlPort *>(this)->redefinedPorts())
+ set.insert(element->asQModelingObject());
return set;
}
const QSet<QObject *> QUmlPortObject::required() const
{
QSet<QObject *> set;
- foreach (QUmlInterface *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->required())
- set.insert(element->asQObject());
+ foreach (QUmlInterface *element, qmodelingelementproperty_cast<QUmlPort *>(this)->required())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -459,14 +462,14 @@ const QSet<QObject *> QUmlPortObject::required() const
QSet<QObject *> QUmlPortObject::allOwnedElements() const
{
QSet<QObject *> set;
- foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->allOwnedElements())
- set.insert(element->asQObject());
+ foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlPort *>(this)->allOwnedElements())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlPortObject::mustBeOwned() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->mustBeOwned();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->mustBeOwned();
}
// OPERATIONS [NamedElement]
@@ -474,107 +477,107 @@ bool QUmlPortObject::mustBeOwned() const
QList<QObject *> QUmlPortObject::allNamespaces() const
{
QList<QObject *> set;
- foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->allNamespaces())
- set.append(element->asQObject());
+ foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlPort *>(this)->allNamespaces())
+ set.append(element->asQModelingObject());
return set;
}
QSet<QObject *> QUmlPortObject::allOwningPackages() const
{
QSet<QObject *> set;
- foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->allOwningPackages())
- set.insert(element->asQObject());
+ foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlPort *>(this)->allOwningPackages())
+ set.insert(element->asQModelingObject());
return set;
}
bool QUmlPortObject::isDistinguishableFrom(QObject *n, QObject *ns) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns));
}
QString QUmlPortObject::separator() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->separator();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->separator();
}
// OPERATIONS [MultiplicityElement]
bool QUmlPortObject::compatibleWith(QObject *other) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->compatibleWith(qmodelingobjectproperty_cast<QUmlMultiplicityElement *>(other));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->compatibleWith(qmodelingelementproperty_cast<QUmlMultiplicityElement *>(other));
}
bool QUmlPortObject::includesCardinality(int C) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->includesCardinality(C);
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->includesCardinality(C);
}
bool QUmlPortObject::includesMultiplicity(QObject *M) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->includesMultiplicity(qmodelingobjectproperty_cast<QUmlMultiplicityElement *>(M));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->includesMultiplicity(qmodelingelementproperty_cast<QUmlMultiplicityElement *>(M));
}
bool QUmlPortObject::is(int lowerbound, int upperbound) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->is(lowerbound, upperbound);
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->is(lowerbound, upperbound);
}
bool QUmlPortObject::isMultivalued() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isMultivalued();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isMultivalued();
}
int QUmlPortObject::lowerBound() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->lowerBound();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->lowerBound();
}
//int QUmlPortObject::upperBound() const
//{
-// return qmodelingobjectproperty_cast<QUmlPort *>(this)->upperBound();
+// return qmodelingelementproperty_cast<QUmlPort *>(this)->upperBound();
//}
// OPERATIONS [RedefinableElement]
bool QUmlPortObject::isRedefinitionContextValid(QObject *redefined) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isRedefinitionContextValid(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefined));
}
// OPERATIONS [ParameterableElement]
bool QUmlPortObject::isTemplateParameter() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isTemplateParameter();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isTemplateParameter();
}
// OPERATIONS [Property]
bool QUmlPortObject::isAttribute(QObject *p) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isAttribute(qmodelingobjectproperty_cast<QUmlProperty *>(p));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isAttribute(qmodelingelementproperty_cast<QUmlProperty *>(p));
}
bool QUmlPortObject::isCompatibleWith(QObject *p) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isCompatibleWith(qmodelingobjectproperty_cast<QUmlParameterableElement *>(p));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isCompatibleWith(qmodelingelementproperty_cast<QUmlParameterableElement *>(p));
}
bool QUmlPortObject::isConsistentWith(QObject *redefinee) const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee));
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isConsistentWith(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinee));
}
bool QUmlPortObject::isNavigable() const
{
- return qmodelingobjectproperty_cast<QUmlPort *>(this)->isNavigable();
+ return qmodelingelementproperty_cast<QUmlPort *>(this)->isNavigable();
}
QSet<QObject *> QUmlPortObject::subsettingContext() const
{
QSet<QObject *> set;
- foreach (QUmlType *element, qmodelingobjectproperty_cast<QUmlPort *>(this)->subsettingContext())
- set.insert(element->asQObject());
+ foreach (QUmlType *element, qmodelingelementproperty_cast<QUmlPort *>(this)->subsettingContext())
+ set.insert(element->asQModelingObject());
return set;
}
@@ -582,426 +585,593 @@ QSet<QObject *> QUmlPortObject::subsettingContext() const
void QUmlPortObject::addOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlPortObject::removeOwnedComment(QObject *ownedComment)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment));
}
void QUmlPortObject::addOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlPortObject::removeOwnedElement(QObject *ownedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement));
}
void QUmlPortObject::setOwner(QObject *owner)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner));
}
// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
void QUmlPortObject::addClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlPortObject::removeClientDependency(QObject *clientDependency)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency));
}
void QUmlPortObject::setName(QString name)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setName(name);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setName(name);
}
void QUmlPortObject::setNameExpression(QObject *nameExpression)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression));
}
void QUmlPortObject::setNamespace(QObject *namespace_)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_));
}
void QUmlPortObject::setQualifiedName(QString qualifiedName)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setQualifiedName(qualifiedName);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setQualifiedName(qualifiedName);
}
void QUmlPortObject::setVisibility(QtUml::VisibilityKind visibility)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setVisibility(visibility);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setVisibility(visibility);
}
// SLOTS FOR OWNED ATTRIBUTES [TypedElement]
void QUmlPortObject::setType(QObject *type)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setType(qmodelingobjectproperty_cast<QUmlType *>(type));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setType(qmodelingelementproperty_cast<QUmlType *>(type));
}
// SLOTS FOR OWNED ATTRIBUTES [MultiplicityElement]
void QUmlPortObject::setOrdered(bool isOrdered)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setOrdered(isOrdered);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setOrdered(isOrdered);
}
void QUmlPortObject::unsetOrdered()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("ordered"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("ordered"));
}
void QUmlPortObject::setUnique(bool isUnique)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setUnique(isUnique);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setUnique(isUnique);
}
void QUmlPortObject::unsetUnique()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("unique"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("unique"));
}
void QUmlPortObject::setLower(int lower)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setLower(lower);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setLower(lower);
}
void QUmlPortObject::unsetLower()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("lower"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("lower"));
}
void QUmlPortObject::setLowerValue(QObject *lowerValue)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setLowerValue(qmodelingobjectproperty_cast<QUmlValueSpecification *>(lowerValue));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setLowerValue(qmodelingelementproperty_cast<QUmlValueSpecification *>(lowerValue));
}
void QUmlPortObject::setUpper(int upper)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setUpper(upper);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setUpper(upper);
}
void QUmlPortObject::unsetUpper()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("upper"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("upper"));
}
void QUmlPortObject::setUpperValue(QObject *upperValue)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setUpperValue(qmodelingobjectproperty_cast<QUmlValueSpecification *>(upperValue));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setUpperValue(qmodelingelementproperty_cast<QUmlValueSpecification *>(upperValue));
}
// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
void QUmlPortObject::setLeaf(bool isLeaf)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setLeaf(isLeaf);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setLeaf(isLeaf);
}
void QUmlPortObject::unsetLeaf()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("leaf"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
}
void QUmlPortObject::addRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
void QUmlPortObject::removeRedefinedElement(QObject *redefinedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeRedefinedElement(qmodelingelementproperty_cast<QUmlRedefinableElement *>(redefinedElement));
}
void QUmlPortObject::addRedefinitionContext(QObject *redefinitionContext)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
}
void QUmlPortObject::removeRedefinitionContext(QObject *redefinitionContext)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeRedefinitionContext(qmodelingelementproperty_cast<QUmlClassifier *>(redefinitionContext));
}
// SLOTS FOR OWNED ATTRIBUTES [Feature]
void QUmlPortObject::addFeaturingClassifier(QObject *featuringClassifier)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addFeaturingClassifier(qmodelingobjectproperty_cast<QUmlClassifier *>(featuringClassifier));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addFeaturingClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(featuringClassifier));
}
void QUmlPortObject::removeFeaturingClassifier(QObject *featuringClassifier)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeFeaturingClassifier(qmodelingobjectproperty_cast<QUmlClassifier *>(featuringClassifier));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeFeaturingClassifier(qmodelingelementproperty_cast<QUmlClassifier *>(featuringClassifier));
}
void QUmlPortObject::setStatic(bool isStatic)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setStatic(isStatic);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setStatic(isStatic);
}
void QUmlPortObject::unsetStatic()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("static"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("static"));
}
// SLOTS FOR OWNED ATTRIBUTES [ParameterableElement]
void QUmlPortObject::setOwningTemplateParameter(QObject *owningTemplateParameter)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setOwningTemplateParameter(qmodelingobjectproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setOwningTemplateParameter(qmodelingelementproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter));
}
// SLOTS FOR OWNED ATTRIBUTES [ConnectableElement]
void QUmlPortObject::addEnd(QObject *end)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addEnd(qmodelingobjectproperty_cast<QUmlConnectorEnd *>(end));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addEnd(qmodelingelementproperty_cast<QUmlConnectorEnd *>(end));
}
void QUmlPortObject::removeEnd(QObject *end)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeEnd(qmodelingobjectproperty_cast<QUmlConnectorEnd *>(end));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeEnd(qmodelingelementproperty_cast<QUmlConnectorEnd *>(end));
}
void QUmlPortObject::setTemplateParameter(QObject *templateParameter)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setTemplateParameter(qmodelingobjectproperty_cast<QUmlConnectableElementTemplateParameter *>(templateParameter));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setTemplateParameter(qmodelingelementproperty_cast<QUmlConnectableElementTemplateParameter *>(templateParameter));
}
// SLOTS FOR OWNED ATTRIBUTES [DeploymentTarget]
void QUmlPortObject::addDeployedElement(QObject *deployedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addDeployedElement(qmodelingobjectproperty_cast<QUmlPackageableElement *>(deployedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addDeployedElement(qmodelingelementproperty_cast<QUmlPackageableElement *>(deployedElement));
}
void QUmlPortObject::removeDeployedElement(QObject *deployedElement)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeDeployedElement(qmodelingobjectproperty_cast<QUmlPackageableElement *>(deployedElement));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeDeployedElement(qmodelingelementproperty_cast<QUmlPackageableElement *>(deployedElement));
}
void QUmlPortObject::addDeployment(QObject *deployment)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addDeployment(qmodelingobjectproperty_cast<QUmlDeployment *>(deployment));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addDeployment(qmodelingelementproperty_cast<QUmlDeployment *>(deployment));
}
void QUmlPortObject::removeDeployment(QObject *deployment)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeDeployment(qmodelingobjectproperty_cast<QUmlDeployment *>(deployment));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeDeployment(qmodelingelementproperty_cast<QUmlDeployment *>(deployment));
}
// SLOTS FOR OWNED ATTRIBUTES [Property]
void QUmlPortObject::setAggregation(QtUml::AggregationKind aggregation)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setAggregation(aggregation);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setAggregation(aggregation);
}
void QUmlPortObject::unsetAggregation()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("aggregation"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("aggregation"));
}
void QUmlPortObject::setAssociation(QObject *association)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setAssociation(qmodelingobjectproperty_cast<QUmlAssociation *>(association));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setAssociation(qmodelingelementproperty_cast<QUmlAssociation *>(association));
}
void QUmlPortObject::setAssociationEnd(QObject *associationEnd)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setAssociationEnd(qmodelingobjectproperty_cast<QUmlProperty *>(associationEnd));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setAssociationEnd(qmodelingelementproperty_cast<QUmlProperty *>(associationEnd));
}
void QUmlPortObject::setClass(QObject *class_)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setClass(qmodelingobjectproperty_cast<QUmlClass *>(class_));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setClass(qmodelingelementproperty_cast<QUmlClass *>(class_));
}
void QUmlPortObject::setDatatype(QObject *datatype)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setDatatype(qmodelingobjectproperty_cast<QUmlDataType *>(datatype));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setDatatype(qmodelingelementproperty_cast<QUmlDataType *>(datatype));
}
void QUmlPortObject::setDefault(QString default_)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setDefault(default_);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setDefault(default_);
}
void QUmlPortObject::setDefaultValue(QObject *defaultValue)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setDefaultValue(qmodelingobjectproperty_cast<QUmlValueSpecification *>(defaultValue));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setDefaultValue(qmodelingelementproperty_cast<QUmlValueSpecification *>(defaultValue));
}
void QUmlPortObject::setInterface(QObject *interface_)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setInterface(qmodelingobjectproperty_cast<QUmlInterface *>(interface_));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setInterface(qmodelingelementproperty_cast<QUmlInterface *>(interface_));
}
void QUmlPortObject::setComposite(bool isComposite)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setComposite(isComposite);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setComposite(isComposite);
}
void QUmlPortObject::unsetComposite()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("composite"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("composite"));
}
void QUmlPortObject::setDerived(bool isDerived)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setDerived(isDerived);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setDerived(isDerived);
}
void QUmlPortObject::unsetDerived()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("derived"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("derived"));
}
void QUmlPortObject::setDerivedUnion(bool isDerivedUnion)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setDerivedUnion(isDerivedUnion);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setDerivedUnion(isDerivedUnion);
}
void QUmlPortObject::unsetDerivedUnion()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("derivedUnion"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("derivedUnion"));
}
void QUmlPortObject::setID(bool isID)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setID(isID);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setID(isID);
}
void QUmlPortObject::unsetID()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("iD"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("iD"));
}
void QUmlPortObject::setReadOnly(bool isReadOnly)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setReadOnly(isReadOnly);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setReadOnly(isReadOnly);
}
void QUmlPortObject::unsetReadOnly()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("readOnly"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("readOnly"));
}
void QUmlPortObject::setOpposite(QObject *opposite)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setOpposite(qmodelingobjectproperty_cast<QUmlProperty *>(opposite));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setOpposite(qmodelingelementproperty_cast<QUmlProperty *>(opposite));
}
void QUmlPortObject::setOwningAssociation(QObject *owningAssociation)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setOwningAssociation(qmodelingobjectproperty_cast<QUmlAssociation *>(owningAssociation));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setOwningAssociation(qmodelingelementproperty_cast<QUmlAssociation *>(owningAssociation));
}
void QUmlPortObject::addQualifier(QObject *qualifier)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addQualifier(qmodelingobjectproperty_cast<QUmlProperty *>(qualifier));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addQualifier(qmodelingelementproperty_cast<QUmlProperty *>(qualifier));
}
void QUmlPortObject::removeQualifier(QObject *qualifier)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeQualifier(qmodelingobjectproperty_cast<QUmlProperty *>(qualifier));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeQualifier(qmodelingelementproperty_cast<QUmlProperty *>(qualifier));
}
void QUmlPortObject::addRedefinedProperty(QObject *redefinedProperty)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addRedefinedProperty(qmodelingobjectproperty_cast<QUmlProperty *>(redefinedProperty));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addRedefinedProperty(qmodelingelementproperty_cast<QUmlProperty *>(redefinedProperty));
}
void QUmlPortObject::removeRedefinedProperty(QObject *redefinedProperty)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeRedefinedProperty(qmodelingobjectproperty_cast<QUmlProperty *>(redefinedProperty));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeRedefinedProperty(qmodelingelementproperty_cast<QUmlProperty *>(redefinedProperty));
}
void QUmlPortObject::addSubsettedProperty(QObject *subsettedProperty)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addSubsettedProperty(qmodelingobjectproperty_cast<QUmlProperty *>(subsettedProperty));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addSubsettedProperty(qmodelingelementproperty_cast<QUmlProperty *>(subsettedProperty));
}
void QUmlPortObject::removeSubsettedProperty(QObject *subsettedProperty)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeSubsettedProperty(qmodelingobjectproperty_cast<QUmlProperty *>(subsettedProperty));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeSubsettedProperty(qmodelingelementproperty_cast<QUmlProperty *>(subsettedProperty));
}
// SLOTS FOR OWNED ATTRIBUTES [Port]
void QUmlPortObject::setBehavior(bool isBehavior)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setBehavior(isBehavior);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setBehavior(isBehavior);
}
void QUmlPortObject::unsetBehavior()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("behavior"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("behavior"));
}
void QUmlPortObject::setConjugated(bool isConjugated)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setConjugated(isConjugated);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setConjugated(isConjugated);
}
void QUmlPortObject::unsetConjugated()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("conjugated"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("conjugated"));
}
void QUmlPortObject::setService(bool isService)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setService(isService);
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setService(isService);
}
void QUmlPortObject::unsetService()
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("service"));
+ Q_D(QModelingObject);
+ d->modifiedResettableProperties.removeAll(QStringLiteral("service"));
}
void QUmlPortObject::setProtocol(QObject *protocol)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->setProtocol(qmodelingobjectproperty_cast<QUmlProtocolStateMachine *>(protocol));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->setProtocol(qmodelingelementproperty_cast<QUmlProtocolStateMachine *>(protocol));
}
void QUmlPortObject::addProvided(QObject *provided)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addProvided(qmodelingobjectproperty_cast<QUmlInterface *>(provided));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addProvided(qmodelingelementproperty_cast<QUmlInterface *>(provided));
}
void QUmlPortObject::removeProvided(QObject *provided)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeProvided(qmodelingobjectproperty_cast<QUmlInterface *>(provided));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeProvided(qmodelingelementproperty_cast<QUmlInterface *>(provided));
}
void QUmlPortObject::addRedefinedPort(QObject *redefinedPort)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addRedefinedPort(qmodelingobjectproperty_cast<QUmlPort *>(redefinedPort));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addRedefinedPort(qmodelingelementproperty_cast<QUmlPort *>(redefinedPort));
}
void QUmlPortObject::removeRedefinedPort(QObject *redefinedPort)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeRedefinedPort(qmodelingobjectproperty_cast<QUmlPort *>(redefinedPort));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeRedefinedPort(qmodelingelementproperty_cast<QUmlPort *>(redefinedPort));
}
void QUmlPortObject::addRequired(QObject *required)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->addRequired(qmodelingobjectproperty_cast<QUmlInterface *>(required));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->addRequired(qmodelingelementproperty_cast<QUmlInterface *>(required));
}
void QUmlPortObject::removeRequired(QObject *required)
{
- qmodelingobjectproperty_cast<QUmlPort *>(this)->removeRequired(qmodelingobjectproperty_cast<QUmlInterface *>(required));
+ qmodelingelementproperty_cast<QUmlPort *>(this)->removeRequired(qmodelingelementproperty_cast<QUmlInterface *>(required));
+}
+
+
+void QUmlPortObject::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("QUmlTypedElement");
+ d->groupProperties.insert(QStringLiteral("QUmlTypedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("type"))));
+
+ d->propertyGroups << QStringLiteral("QUmlMultiplicityElement");
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isOrdered"))));
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isUnique"))));
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lower"))));
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("lowerValue"))));
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upper"))));
+ d->groupProperties.insert(QStringLiteral("QUmlMultiplicityElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("upperValue"))));
+
+ 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("QUmlFeature");
+ d->groupProperties.insert(QStringLiteral("QUmlFeature"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("featuringClassifiers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlFeature"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isStatic"))));
+
+ d->propertyGroups << QStringLiteral("QUmlStructuralFeature");
+
+ d->propertyGroups << QStringLiteral("QUmlParameterableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlParameterableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningTemplateParameter"))));
+
+ d->propertyGroups << QStringLiteral("QUmlConnectableElement");
+ d->groupProperties.insert(QStringLiteral("QUmlConnectableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ends"))));
+ d->groupProperties.insert(QStringLiteral("QUmlConnectableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateParameter"))));
+
+ d->propertyGroups << QStringLiteral("QUmlDeploymentTarget");
+ d->groupProperties.insert(QStringLiteral("QUmlDeploymentTarget"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("deployedElements"))));
+ d->groupProperties.insert(QStringLiteral("QUmlDeploymentTarget"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("deployments"))));
+
+ d->propertyGroups << QStringLiteral("QUmlProperty");
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("aggregation"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("association"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("associationEnd"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("class_"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("datatype"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("default_"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("defaultValue"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("interface_"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isComposite"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerived"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isDerivedUnion"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isID"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isReadOnly"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("opposite"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningAssociation"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiers"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedProperties"))));
+ d->groupProperties.insert(QStringLiteral("QUmlProperty"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("subsettedProperties"))));
+
+ d->propertyGroups << QStringLiteral("QUmlPort");
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isBehavior"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isConjugated"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("isService"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("protocol"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("provided"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("redefinedPorts"))));
+ d->groupProperties.insert(QStringLiteral("QUmlPort"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("required"))));
+}
+
+void QUmlPortObject::setPropertyData()
+{
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, DocumentationRole, QStringLiteral("Specifies whether requests arriving at this port are sent to the classifier behavior of this classifier. Such ports are referred to as behavior port. Any invocation of a behavioral feature targeted at a behavior port will be handled by the instance of the owning classifier itself, rather than by any instances that this classifier may contain."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isBehavior, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, DocumentationRole, QStringLiteral("Specifies the way that the provided and required interfaces are derived from the Port’s Type. The default value is false."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isConjugated, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, DocumentationRole, QStringLiteral("If true indicates that this port is used to provide the published functionality of a classifier; if false, this port is used to implement the classifier but is not part of the essential externally-visible functionality of the classifier and can, therefore, be altered or deleted along with the internal implementation of the classifier and other properties that are considered part of its implementation."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, isService, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, DocumentationRole, QStringLiteral("References an optional protocol state machine which describes valid interactions at this interaction point."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, protocol, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, IsDerivedRole, true);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, DocumentationRole, QStringLiteral("References the interfaces specifying the set of operations and receptions that the classifier offers to its environment via this port, and which it will handle either directly or by forwarding it to a part of its internal structure. This association is derived according to the value of isConjugated. If isConjugated is false, provided is derived as the union of the sets of interfaces realized by the type of the port and its supertypes, or directly from the type of the port if the port is typed by an interface. If isConjugated is true, it is derived as the union of the sets of interfaces used by the type of the port and its supertypes."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, provided, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, IsDerivedRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, DocumentationRole, QStringLiteral("A port may be redefined when its containing classifier is specialized. The redefining port may have additional interfaces to those that are associated with the redefined port or it may replace an interface by one of its subtypes."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, SubsettedPropertiesRole, QStringLiteral("Property-redefinedProperty"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, redefinedPorts, OppositeEndRole, QStringLiteral(""));
+
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, AggregationRole, QStringLiteral("none"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, PropertyClassRole, QStringLiteral("QUmlPort"));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, IsDerivedRole, true);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, IsDerivedUnionRole, false);
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, DocumentationRole, QStringLiteral("References the interfaces specifying the set of operations and receptions that the classifier expects its environment to handle via this port. This association is derived according to the value of isConjugated. If isConjugated is false, required is derived as the union of the sets of interfaces used by the type of the port and its supertypes. If isConjugated is true, it is derived as the union of the sets of interfaces realized by the type of the port and its supertypes, or directly from the type of the port if the port is typed by an interface."));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, RedefinedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, SubsettedPropertiesRole, QStringLiteral(""));
+ Q_DECLARE_METAPROPERTY_INFO(QUmlPort, required, OppositeEndRole, QStringLiteral(""));
+
}
QT_END_NAMESPACE