summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlparameterobject.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-11-18 08:48:05 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-11-18 12:43:33 +0100
commit1d6a088d69ed5a519af736f748827125231ac24f (patch)
tree78f10ec83a70ada2389b4fa442ee905833401696 /src/uml/qobjects/qumlparameterobject.cpp
parent7030dc08e8a9198390ccf038d3c8629b047e4749 (diff)
Update UML metamodel implementation
Change-Id: I4355b42ea190b7c25693d47771874deaf182ba89 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumlparameterobject.cpp')
-rw-r--r--src/uml/qobjects/qumlparameterobject.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uml/qobjects/qumlparameterobject.cpp b/src/uml/qobjects/qumlparameterobject.cpp
index 53b0c724..9f4f2557 100644
--- a/src/uml/qobjects/qumlparameterobject.cpp
+++ b/src/uml/qobjects/qumlparameterobject.cpp
@@ -119,7 +119,7 @@ QObject *QUmlParameterObject::lowerValue() const
return qmodelingelementproperty_cast<QUmlParameter *>(this)->lowerValue()->asQModelingObject();
}
-int QUmlParameterObject::upper() const
+QString QUmlParameterObject::upper() const
{
return qmodelingelementproperty_cast<QUmlParameter *>(this)->upper();
}
@@ -309,10 +309,10 @@ int QUmlParameterObject::lowerBound() const
return qmodelingelementproperty_cast<QUmlParameter *>(this)->lowerBound();
}
-//int QUmlParameterObject::upperBound() const
-//{
-// return qmodelingelementproperty_cast<QUmlParameter *>(this)->upperBound();
-//}
+QString QUmlParameterObject::upperBoundOperation() const
+{
+ return qmodelingelementproperty_cast<QUmlParameter *>(this)->upperBoundOperation();
+}
// OPERATIONS [NamedElement]
@@ -434,7 +434,7 @@ void QUmlParameterObject::setLowerValue(QObject *lowerValue)
emit lowerValueChanged(this->lowerValue());
}
-void QUmlParameterObject::setUpper(int upper)
+void QUmlParameterObject::setUpper(QString upper)
{
qmodelingelementproperty_cast<QUmlParameter *>(this)->setUpper(upper);
emit upperChanged(this->upper());
@@ -443,7 +443,7 @@ void QUmlParameterObject::setUpper(int upper)
void QUmlParameterObject::unsetUpper()
{
Q_D(QModelingObject);
- setUpper(1);
+ setUpper(QStringLiteral("1"));
d->modifiedResettableProperties.removeAll(QStringLiteral("upper"));
}