summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlreadlinkobjectendaction.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/qumlreadlinkobjectendaction.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/qumlreadlinkobjectendaction.cpp')
-rw-r--r--src/uml/qumlreadlinkobjectendaction.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/uml/qumlreadlinkobjectendaction.cpp b/src/uml/qumlreadlinkobjectendaction.cpp
index b4f6ddd5..20670c42 100644
--- a/src/uml/qumlreadlinkobjectendaction.cpp
+++ b/src/uml/qumlreadlinkobjectendaction.cpp
@@ -73,6 +73,10 @@ QT_BEGIN_NAMESPACE
\brief A read link object end action is an action that retrieves an end object from a link object.
*/
+
+/*!
+ Creates a new QUmlReadLinkObjectEndAction. Also creates the corresponding QObject-based representation returned by asQModelingObject() if \a createQModelingObject is true.
+*/
QUmlReadLinkObjectEndAction::QUmlReadLinkObjectEndAction(bool createQModelingObject) :
_end(0),
_object(0),
@@ -82,6 +86,9 @@ QUmlReadLinkObjectEndAction::QUmlReadLinkObjectEndAction(bool createQModelingObj
_qModelingObject = qobject_cast<QModelingObject *>(new QUmlReadLinkObjectEndActionObject(this));
}
+/*!
+ Returns a deep-copied clone of the QUmlReadLinkObjectEndAction.
+*/
QModelingElement *QUmlReadLinkObjectEndAction::clone() const
{
QUmlReadLinkObjectEndAction *c = new QUmlReadLinkObjectEndAction;
@@ -136,6 +143,9 @@ QUmlProperty *QUmlReadLinkObjectEndAction::end() const
return _end;
}
+/*!
+ Adjusts end to \a end.
+ */
void QUmlReadLinkObjectEndAction::setEnd(QUmlProperty *end)
{
// This is a read-write association end
@@ -149,6 +159,8 @@ void QUmlReadLinkObjectEndAction::setEnd(QUmlProperty *end)
/*!
Gives the input pin from which the link object is obtained.
+
+ \b {Subsetted property(ies):} QUmlAction::inputs().
*/
QUmlInputPin *QUmlReadLinkObjectEndAction::object() const
{
@@ -157,6 +169,9 @@ QUmlInputPin *QUmlReadLinkObjectEndAction::object() const
return _object;
}
+/*!
+ Adjusts object to \a object.
+ */
void QUmlReadLinkObjectEndAction::setObject(QUmlInputPin *object)
{
// This is a read-write association end
@@ -179,6 +194,8 @@ void QUmlReadLinkObjectEndAction::setObject(QUmlInputPin *object)
/*!
Pin where the result value is placed.
+
+ \b {Subsetted property(ies):} QUmlAction::outputs().
*/
QUmlOutputPin *QUmlReadLinkObjectEndAction::result() const
{
@@ -187,6 +204,9 @@ QUmlOutputPin *QUmlReadLinkObjectEndAction::result() const
return _result;
}
+/*!
+ Adjusts result to \a result.
+ */
void QUmlReadLinkObjectEndAction::setResult(QUmlOutputPin *result)
{
// This is a read-write association end