summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlstructuralfeature.cpp
diff options
context:
space:
mode:
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