summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlreduceactionobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumlreduceactionobject.cpp')
-rw-r--r--src/uml/qobjects/qumlreduceactionobject.cpp603
1 files changed, 603 insertions, 0 deletions
diff --git a/src/uml/qobjects/qumlreduceactionobject.cpp b/src/uml/qobjects/qumlreduceactionobject.cpp
new file mode 100644
index 00000000..b11a6b64
--- /dev/null
+++ b/src/uml/qobjects/qumlreduceactionobject.cpp
@@ -0,0 +1,603 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org>
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the QtUml module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+#include "qumlreduceactionobject_p.h"
+
+#include <QtUml/QUmlReduceAction>
+#include <QtUml/QUmlActivity>
+#include <QtUml/QUmlActivityEdge>
+#include <QtUml/QUmlActivityGroup>
+#include <QtUml/QUmlActivityNode>
+#include <QtUml/QUmlActivityPartition>
+#include <QtUml/QUmlBehavior>
+#include <QtUml/QUmlClassifier>
+#include <QtUml/QUmlComment>
+#include <QtUml/QUmlConstraint>
+#include <QtUml/QUmlDependency>
+#include <QtUml/QUmlElement>
+#include <QtUml/QUmlExceptionHandler>
+#include <QtUml/QUmlInputPin>
+#include <QtUml/QUmlInterruptibleActivityRegion>
+#include <QtUml/QUmlNamedElement>
+#include <QtUml/QUmlNamespace>
+#include <QtUml/QUmlOutputPin>
+#include <QtUml/QUmlPackage>
+#include <QtUml/QUmlRedefinableElement>
+#include <QtUml/QUmlStringExpression>
+#include <QtUml/QUmlStructuredActivityNode>
+
+QT_BEGIN_NAMESPACE
+
+QUmlReduceActionObject::QUmlReduceActionObject(QUmlReduceAction *qModelingObject)
+{
+ setProperty("modelingObject", QVariant::fromValue(qModelingObject));
+}
+
+QUmlReduceActionObject::~QUmlReduceActionObject()
+{
+ if (!property("deletingFromModelingObject").isValid()) {
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->deletingFromQObject = true;
+ delete qmodelingobjectproperty_cast<QUmlComment *>(this);
+ }
+}
+
+// OWNED ATTRIBUTES [Element]
+
+const QSet<QObject *> QUmlReduceActionObject::ownedComment() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->ownedComment())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::ownedElement() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->ownedElement())
+ set.insert(element->asQObject());
+ return set;
+}
+
+QObject *QUmlReduceActionObject::owner() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->owner()->asQObject();
+}
+
+// OWNED ATTRIBUTES [NamedElement]
+
+const QSet<QObject *> QUmlReduceActionObject::clientDependency() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->clientDependency())
+ set.insert(element->asQObject());
+ return set;
+}
+
+QString QUmlReduceActionObject::name() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->name();
+}
+
+QObject *QUmlReduceActionObject::nameExpression() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->nameExpression()->asQObject();
+}
+
+QObject *QUmlReduceActionObject::namespace_() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->namespace_()->asQObject();
+}
+
+QString QUmlReduceActionObject::qualifiedName() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->qualifiedName();
+}
+
+QtUml::VisibilityKind QUmlReduceActionObject::visibility() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->visibility();
+}
+
+// OWNED ATTRIBUTES [RedefinableElement]
+
+bool QUmlReduceActionObject::isLeaf() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isLeaf();
+}
+
+const QSet<QObject *> QUmlReduceActionObject::redefinedElement() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlRedefinableElement *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->redefinedElement())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::redefinitionContext() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlClassifier *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->redefinitionContext())
+ set.insert(element->asQObject());
+ return set;
+}
+
+// OWNED ATTRIBUTES [ActivityNode]
+
+QObject *QUmlReduceActionObject::activity() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->activity()->asQObject();
+}
+
+const QSet<QObject *> QUmlReduceActionObject::inGroup() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlActivityGroup *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->inGroup())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::inInterruptibleRegion() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlInterruptibleActivityRegion *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->inInterruptibleRegion())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::inPartition() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlActivityPartition *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->inPartition())
+ set.insert(element->asQObject());
+ return set;
+}
+
+QObject *QUmlReduceActionObject::inStructuredNode() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->inStructuredNode()->asQObject();
+}
+
+const QSet<QObject *> QUmlReduceActionObject::incoming() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->incoming())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::outgoing() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlActivityEdge *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->outgoing())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::redefinedNode() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlActivityNode *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->redefinedNode())
+ set.insert(element->asQObject());
+ return set;
+}
+
+// OWNED ATTRIBUTES [ExecutableNode]
+
+const QSet<QObject *> QUmlReduceActionObject::handler() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlExceptionHandler *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->handler())
+ set.insert(element->asQObject());
+ return set;
+}
+
+// OWNED ATTRIBUTES [Action]
+
+QObject *QUmlReduceActionObject::context() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->context()->asQObject();
+}
+
+const QList<QObject *> QUmlReduceActionObject::input() const
+{
+ QList<QObject *> list;
+ foreach (QUmlInputPin *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->input())
+ list.append(element->asQObject());
+ return list;
+}
+
+bool QUmlReduceActionObject::isLocallyReentrant() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isLocallyReentrant();
+}
+
+const QSet<QObject *> QUmlReduceActionObject::localPostcondition() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->localPostcondition())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QSet<QObject *> QUmlReduceActionObject::localPrecondition() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlConstraint *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->localPrecondition())
+ set.insert(element->asQObject());
+ return set;
+}
+
+const QList<QObject *> QUmlReduceActionObject::output() const
+{
+ QList<QObject *> list;
+ foreach (QUmlOutputPin *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->output())
+ list.append(element->asQObject());
+ return list;
+}
+
+// OWNED ATTRIBUTES [ReduceAction]
+
+QObject *QUmlReduceActionObject::collection() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->collection()->asQObject();
+}
+
+bool QUmlReduceActionObject::isOrdered() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isOrdered();
+}
+
+QObject *QUmlReduceActionObject::reducer() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->reducer()->asQObject();
+}
+
+QObject *QUmlReduceActionObject::result() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->result()->asQObject();
+}
+
+// OPERATIONS [Element]
+
+QSet<QObject *> QUmlReduceActionObject::allOwnedElements() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->allOwnedElements())
+ set.insert(element->asQObject());
+ return set;
+}
+
+bool QUmlReduceActionObject::mustBeOwned() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->mustBeOwned();
+}
+
+// OPERATIONS [NamedElement]
+
+QList<QObject *> QUmlReduceActionObject::allNamespaces() const
+{
+ QList<QObject *> set;
+ foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->allNamespaces())
+ set.append(element->asQObject());
+ return set;
+}
+
+QSet<QObject *> QUmlReduceActionObject::allOwningPackages() const
+{
+ QSet<QObject *> set;
+ foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->allOwningPackages())
+ set.insert(element->asQObject());
+ return set;
+}
+
+bool QUmlReduceActionObject::isDistinguishableFrom(QObject *n, QObject *ns) const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns));
+}
+
+QString QUmlReduceActionObject::separator() const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->separator();
+}
+
+// OPERATIONS [RedefinableElement]
+
+bool QUmlReduceActionObject::isConsistentWith(QObject *redefinee) const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isConsistentWith(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinee));
+}
+
+bool QUmlReduceActionObject::isRedefinitionContextValid(QObject *redefined) const
+{
+ return qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->isRedefinitionContextValid(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefined));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [Element]
+
+void QUmlReduceActionObject::addOwnedComment(QObject *ownedComment)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+}
+
+void QUmlReduceActionObject::removeOwnedComment(QObject *ownedComment)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment));
+}
+
+void QUmlReduceActionObject::addOwnedElement(QObject *ownedElement)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+}
+
+void QUmlReduceActionObject::removeOwnedElement(QObject *ownedElement)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement));
+}
+
+void QUmlReduceActionObject::setOwner(QObject *owner)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [NamedElement]
+
+void QUmlReduceActionObject::addClientDependency(QObject *clientDependency)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+}
+
+void QUmlReduceActionObject::removeClientDependency(QObject *clientDependency)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency));
+}
+
+void QUmlReduceActionObject::setName(QString name)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setName(name);
+}
+
+void QUmlReduceActionObject::setNameExpression(QObject *nameExpression)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression));
+}
+
+void QUmlReduceActionObject::setNamespace(QObject *namespace_)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_));
+}
+
+void QUmlReduceActionObject::setQualifiedName(QString qualifiedName)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setQualifiedName(qualifiedName);
+}
+
+void QUmlReduceActionObject::setVisibility(QtUml::VisibilityKind visibility)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setVisibility(visibility);
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [RedefinableElement]
+
+void QUmlReduceActionObject::setLeaf(bool isLeaf)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setLeaf(isLeaf);
+}
+
+void QUmlReduceActionObject::addRedefinedElement(QObject *redefinedElement)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+}
+
+void QUmlReduceActionObject::removeRedefinedElement(QObject *redefinedElement)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeRedefinedElement(qmodelingobjectproperty_cast<QUmlRedefinableElement *>(redefinedElement));
+}
+
+void QUmlReduceActionObject::addRedefinitionContext(QObject *redefinitionContext)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+}
+
+void QUmlReduceActionObject::removeRedefinitionContext(QObject *redefinitionContext)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeRedefinitionContext(qmodelingobjectproperty_cast<QUmlClassifier *>(redefinitionContext));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [ActivityNode]
+
+void QUmlReduceActionObject::setActivity(QObject *activity)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setActivity(qmodelingobjectproperty_cast<QUmlActivity *>(activity));
+}
+
+void QUmlReduceActionObject::addInGroup(QObject *inGroup)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup));
+}
+
+void QUmlReduceActionObject::removeInGroup(QObject *inGroup)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeInGroup(qmodelingobjectproperty_cast<QUmlActivityGroup *>(inGroup));
+}
+
+void QUmlReduceActionObject::addInInterruptibleRegion(QObject *inInterruptibleRegion)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
+}
+
+void QUmlReduceActionObject::removeInInterruptibleRegion(QObject *inInterruptibleRegion)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeInInterruptibleRegion(qmodelingobjectproperty_cast<QUmlInterruptibleActivityRegion *>(inInterruptibleRegion));
+}
+
+void QUmlReduceActionObject::addInPartition(QObject *inPartition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition));
+}
+
+void QUmlReduceActionObject::removeInPartition(QObject *inPartition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeInPartition(qmodelingobjectproperty_cast<QUmlActivityPartition *>(inPartition));
+}
+
+void QUmlReduceActionObject::setInStructuredNode(QObject *inStructuredNode)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setInStructuredNode(qmodelingobjectproperty_cast<QUmlStructuredActivityNode *>(inStructuredNode));
+}
+
+void QUmlReduceActionObject::addIncoming(QObject *incoming)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming));
+}
+
+void QUmlReduceActionObject::removeIncoming(QObject *incoming)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeIncoming(qmodelingobjectproperty_cast<QUmlActivityEdge *>(incoming));
+}
+
+void QUmlReduceActionObject::addOutgoing(QObject *outgoing)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing));
+}
+
+void QUmlReduceActionObject::removeOutgoing(QObject *outgoing)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeOutgoing(qmodelingobjectproperty_cast<QUmlActivityEdge *>(outgoing));
+}
+
+void QUmlReduceActionObject::addRedefinedNode(QObject *redefinedNode)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode));
+}
+
+void QUmlReduceActionObject::removeRedefinedNode(QObject *redefinedNode)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeRedefinedNode(qmodelingobjectproperty_cast<QUmlActivityNode *>(redefinedNode));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [ExecutableNode]
+
+void QUmlReduceActionObject::addHandler(QObject *handler)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler));
+}
+
+void QUmlReduceActionObject::removeHandler(QObject *handler)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeHandler(qmodelingobjectproperty_cast<QUmlExceptionHandler *>(handler));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [Action]
+
+void QUmlReduceActionObject::setContext(QObject *context)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setContext(qmodelingobjectproperty_cast<QUmlClassifier *>(context));
+}
+
+void QUmlReduceActionObject::addInput(QObject *input)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input));
+}
+
+void QUmlReduceActionObject::removeInput(QObject *input)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeInput(qmodelingobjectproperty_cast<QUmlInputPin *>(input));
+}
+
+void QUmlReduceActionObject::setLocallyReentrant(bool isLocallyReentrant)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setLocallyReentrant(isLocallyReentrant);
+}
+
+void QUmlReduceActionObject::addLocalPostcondition(QObject *localPostcondition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition));
+}
+
+void QUmlReduceActionObject::removeLocalPostcondition(QObject *localPostcondition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeLocalPostcondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPostcondition));
+}
+
+void QUmlReduceActionObject::addLocalPrecondition(QObject *localPrecondition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition));
+}
+
+void QUmlReduceActionObject::removeLocalPrecondition(QObject *localPrecondition)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeLocalPrecondition(qmodelingobjectproperty_cast<QUmlConstraint *>(localPrecondition));
+}
+
+void QUmlReduceActionObject::addOutput(QObject *output)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->addOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output));
+}
+
+void QUmlReduceActionObject::removeOutput(QObject *output)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->removeOutput(qmodelingobjectproperty_cast<QUmlOutputPin *>(output));
+}
+
+// SLOTS FOR OWNED ATTRIBUTES [ReduceAction]
+
+void QUmlReduceActionObject::setCollection(QObject *collection)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setCollection(qmodelingobjectproperty_cast<QUmlInputPin *>(collection));
+}
+
+void QUmlReduceActionObject::setOrdered(bool isOrdered)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setOrdered(isOrdered);
+}
+
+void QUmlReduceActionObject::setReducer(QObject *reducer)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setReducer(qmodelingobjectproperty_cast<QUmlBehavior *>(reducer));
+}
+
+void QUmlReduceActionObject::setResult(QObject *result)
+{
+ qmodelingobjectproperty_cast<QUmlReduceAction *>(this)->setResult(qmodelingobjectproperty_cast<QUmlOutputPin *>(result));
+}
+
+QT_END_NAMESPACE
+