summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlstructuralfeature.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/qumlstructuralfeature.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/qumlstructuralfeature.cpp')
-rw-r--r--src/uml/qumlstructuralfeature.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/uml/qumlstructuralfeature.cpp b/src/uml/qumlstructuralfeature.cpp
index 3588a5eb..684f87f9 100644
--- a/src/uml/qumlstructuralfeature.cpp
+++ b/src/uml/qumlstructuralfeature.cpp
@@ -60,12 +60,21 @@ QT_BEGIN_NAMESPACE
\inmodule QtUml
\brief A structural feature is a typed feature of a classifier that specifies the structure of instances of the classifier.By specializing multiplicity element, it supports a multiplicity that specifies valid cardinalities for the collection of values associated with an instantiation of the structural feature.
+
+ \b {QUmlStructuralFeature is an abstract class.}
*/
+
+/*!
+ Creates a new QUmlStructuralFeature.
+*/
QUmlStructuralFeature::QUmlStructuralFeature() :
_isReadOnly(false)
{
}
+/*!
+ Returns a deep-copied clone of the QUmlStructuralFeature.
+*/
QModelingElement *QUmlStructuralFeature::clone() const
{
QUmlStructuralFeature *c = new QUmlStructuralFeature;
@@ -103,6 +112,9 @@ bool QUmlStructuralFeature::isReadOnly() const
return _isReadOnly;
}
+/*!
+ Adjusts isReadOnly to \a isReadOnly.
+ */
void QUmlStructuralFeature::setReadOnly(bool isReadOnly)
{
// This is a read-write property