umbrello  2.35.1
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  SPDX-License-Identifier: GPL-2.0-or-later
3 
4  SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5  SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7 
8 #ifndef JAVACODEOPERATION_H
9 #define JAVACODEOPERATION_H
10 
11 #include "codeoperation.h"
12 
13 #include <QString>
14 
16 
17 class JavaCodeOperation : virtual public CodeOperation
18 {
19  Q_OBJECT
20 public:
21 
25  JavaCodeOperation (JavaClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
26 
30  virtual ~JavaCodeOperation ();
31 
32  virtual int lastEditableLine();
33 
34 protected:
35 
37 
38 };
39 
40 #endif // JAVACODEOPERATION_H
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:57
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier() const
Definition: classifiercodedocument.cpp:278
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:116
UMLAttributeList
Definition: umlattributelist.h:20
UMLObject::name
QString name() const
Definition: umlobject.cpp:207
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:177
parameters
the intent is to exercise the right to control the distribution of derivative or collective works based on the Library In mere aggregation of another work not based on the Library with the you must alter all the notices that refer to this so that they refer to the ordinary GNU General Public instead of to this it is irreversible for that so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy This option is useful when you wish to copy part of the code of the Library into a program that is not a library You may copy and distribute the which must be distributed under the terms of Sections and above on a medium customarily used for software interchange If distribution of object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source even though third parties are not compelled to copy the source along with the object code A program that contains no derivative of any portion of the but is designed to work with the Library by being compiled or linked with is called a work that uses the Library Such a in is not a derivative work of the and therefore falls outside the scope of this License linking a work that uses the Library with the Library creates an executable that is a derivative of the rather than a work that uses the library The executable is therefore covered by this License Section states terms for distribution of such executables When a work that uses the Library uses material from a header file that is part of the the object code for the work may be a derivative work of the Library even though the source code is not Whether this is true is especially significant if the work can be linked without the or if the work is itself a library The threshold for this to be true is not precisely defined by law If such an object file uses only numerical parameters
Definition: LGPL-2.0-only.txt:229
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:108
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:127
logError0
#define logError0(s)
Definition: uml.h:539
JavaCodeOperation::JavaCodeOperation
JavaCodeOperation(JavaClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: javacodeoperation.cpp:17
UMLObject::isStatic
bool isStatic() const
Definition: umlobject.cpp:362
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:46
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:31
javaclassifiercodedocument.h
CodeDocument
Definition: codedocument.h:29
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:28
Uml::Visibility::Public
@ Public
Definition: basictypes.h:46
javacodeoperation.h
JavaCodeOperation::~JavaCodeOperation
virtual ~JavaCodeOperation()
Definition: javacodeoperation.cpp:28
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:462
javacodedocumentation.h
Uml::Visibility::toString
QString toString(Enum item, bool mnemonic)
Definition: basictypes.cpp:93
JavaCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: javacodeoperation.cpp:106
JavaCodeOperation
Definition: javacodeoperation.h:17
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface() const
Definition: classifiercodedocument.cpp:421
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:431
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:50
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:24
javacodegenerator.h
JavaClassifierCodeDocument
Definition: javaclassifiercodedocument.h:28
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:64
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:63
UMLOperation::isConstructorOperation
bool isConstructorOperation() const
Definition: operation.cpp:369
UMLOperation
Definition: operation.h:19
CodeOperation
Definition: codeoperation.h:19
JavaCodeDocumentation
Definition: javacodedocumentation.h:23
uml.h
JavaCodeGenerator::fixTypeName
static QString fixTypeName(const QString &string)
Definition: javacodegenerator.cpp:288
debug_utils.h
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:168
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:56
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:76
JavaCodeOperation::updateMethodDeclaration
void updateMethodDeclaration()
Definition: javacodeoperation.cpp:33