umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

javacodeoperation.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef JAVACODEOPERATION_H
13 #define JAVACODEOPERATION_H
14
15 #include "codeoperation.h"
16
17 #include <QString>
18
19 class JavaClassifierCodeDocument;
20
21 class JavaCodeOperation : virtual public CodeOperation
22 {
23 Q_OBJECT
24 public:
25
29 JavaCodeOperation (JavaClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
30
34 virtual ~JavaCodeOperation ();
35
36 virtual int lastEditableLine();
37
38 protected:
39
40 void updateMethodDeclaration();
41
42 };
43
44 #endif // JAVACODEOPERATION_H
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:53
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface()
Definition: classifiercodedocument.cpp:418
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:118
UMLAttributeList
Definition: umlattributelist.h:27
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
UMLOperation::isConstructorOperation
bool isConstructorOperation()
Definition: operation.cpp:369
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:112
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:131
JavaCodeOperation::JavaCodeOperation
JavaCodeOperation(JavaClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: javacodeoperation.cpp:21
UMLObject::isStatic
bool isStatic() const
Definition: umlobject.cpp:366
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:47
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:33
javaclassifiercodedocument.h
CodeDocument
Definition: codedocument.h:33
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:164
javacodeoperation.h
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:39
JavaCodeOperation::~JavaCodeOperation
virtual ~JavaCodeOperation()
Definition: javacodeoperation.cpp:32
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:466
javacodedocumentation.h
Uml::Visibility::toString
QString toString(Enum item, bool mnemonic)
Definition: basictypes.cpp:107
JavaCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: javacodeoperation.cpp:110
JavaCodeOperation
Definition: javacodeoperation.h:22
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:54
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:28
javacodegenerator.h
JavaClassifierCodeDocument
Definition: javaclassifiercodedocument.h:33
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier()
Definition: classifiercodedocument.cpp:275
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:66
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:64
uError
#define uError()
Definition: debug_utils.h:123
UMLOperation
Definition: operation.h:25
CodeOperation
Definition: codeoperation.h:24
JavaCodeDocumentation
Definition: javacodedocumentation.h:28
uml.h
JavaCodeGenerator::fixTypeName
static QString fixTypeName(const QString &string)
Definition: javacodegenerator.cpp:292
debug_utils.h
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:172
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:58
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:80
JavaCodeOperation::updateMethodDeclaration
void updateMethodDeclaration()
Definition: javacodeoperation.cpp:37