summaryrefslogtreecommitdiffstats
path: root/src/uml/qumladdvariablevalueaction.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-11-24 12:13:48 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-11-24 16:09:14 +0100
commit127ae727775358ea6d6a1e292f9bf5714adcd046 (patch)
treee77622182ac0a094696f4f608580eaaec7782064 /src/uml/qumladdvariablevalueaction.cpp
parent1b2df2c79004e93a5bab937d9cac32f7621a6c0e (diff)
Update UML metamodel implementation and documentation
Change-Id: I45eccac45a154f94471aa4a55a9562fbc15b2567 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumladdvariablevalueaction.cpp')
-rw-r--r--src/uml/qumladdvariablevalueaction.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/uml/qumladdvariablevalueaction.cpp b/src/uml/qumladdvariablevalueaction.cpp
index 7e6da280..cb3848de 100644
--- a/src/uml/qumladdvariablevalueaction.cpp
+++ b/src/uml/qumladdvariablevalueaction.cpp
@@ -73,6 +73,10 @@ QT_BEGIN_NAMESPACE
\brief An add variable value action is a write variable action for adding values to a variable.
*/
+
+/*!
+ Creates a new QUmlAddVariableValueAction. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QUmlAddVariableValueAction::QUmlAddVariableValueAction(bool createQModelingObject) :
_insertAt(0),
_isReplaceAll(false)
@@ -81,6 +85,9 @@ QUmlAddVariableValueAction::QUmlAddVariableValueAction(bool createQModelingObjec
_qModelingObject = qobject_cast<QModelingObject *>(new QUmlAddVariableValueActionObject(this));
}
+/*!
+ Returns a deep-copied clone of the QUmlAddVariableValueAction.
+*/
QModelingElement *QUmlAddVariableValueAction::clone() const
{
QUmlAddVariableValueAction *c = new QUmlAddVariableValueAction;
@@ -128,6 +135,8 @@ QModelingElement *QUmlAddVariableValueAction::clone() const
/*!
Gives the position at which to insert a new value or move an existing value in ordered variables. The types is UnlimitedINatural, but the value cannot be zero. This pin is omitted for unordered variables.
+
+ \b {Subsetted property(ies):} QUmlAction::inputs().
*/
QUmlInputPin *QUmlAddVariableValueAction::insertAt() const
{
@@ -136,6 +145,9 @@ QUmlInputPin *QUmlAddVariableValueAction::insertAt() const
return _insertAt;
}
+/*!
+ Adjusts insertAt to \a insertAt.
+ */
void QUmlAddVariableValueAction::setInsertAt(QUmlInputPin *insertAt)
{
// This is a read-write association end
@@ -166,6 +178,9 @@ bool QUmlAddVariableValueAction::isReplaceAll() const
return _isReplaceAll;
}
+/*!
+ Adjusts isReplaceAll to \a isReplaceAll.
+ */
void QUmlAddVariableValueAction::setReplaceAll(bool isReplaceAll)
{
// This is a read-write property