umbrello/umbrello
javacodeoperation.cpp
Go to the documentation of this file.
20 (JavaClassifierCodeDocument * doc, UMLOperation *parent, const QString & body, const QString & comment)
68 QString startText = strVis + ' ' + maybeStatic + returnType + methodName + " (" + paramStr + ')';
void setEndMethodText(const QString &value)
Set the ending text that finishes this method after the body is printed.
Definition: codemethodblock.cpp:66
void setStartMethodText(const QString &value)
Set the starting text that begins this method before the body is printed.
Definition: codemethodblock.cpp:58
class JavaClassifierCodeDocument A Java UMLClassifier Code Document.
Definition: javaclassifiercodedocument.h:32
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:33
Uml::Visibility::Enum visibility() const
Returns the visibility of the object.
Definition: umlobject.cpp:435
void setText(const QString &text)
Set the value of m_text The actual text of this code block.
Definition: textblock.cpp:80
the content was generated by code generation itself
Definition: codeblock.h:28
This sub-class adds copyInto and clone to the QPtrList base class.
Definition: umlattributelist.h:26
ContentType contentType() const
Get the value of m_contentType specifies whether the content (text) of this object was generated by t...
Definition: codeblock.cpp:54
void updateMethodDeclaration()
This is the method called from within syncToparent().
Definition: javacodeoperation.cpp:36
UMLClassifier * getParentClassifier()
Get the value of m_parentclassifier.
Definition: classifiercodedocument.cpp:271
static QString getNewLineEndingChars()
Get the new line chars which ends the line.
Definition: textblock.cpp:172
virtual int lastEditableLine()
Definition: javacodeoperation.cpp:108
bool isInterface() const
Returns true if this classifier represents an interface.
Definition: classifier.cpp:112
Definition: codeoperation.h:23
bool parentIsInterface()
Return if the parent classifier is an interface.
Definition: classifiercodedocument.cpp:413
void setWriteOutText(bool write)
Set the value of m_writeOutText Whether or not to include the text of this TextBlock into a file...
Definition: textblock.cpp:131
QString toString(Enum item, bool mnemonic)
Convert Visibility item into QString representation.
Definition: basictypes.cpp:99
class JavaCodeDocumentation A Java code comment.
Definition: javacodedocumentation.h:27
Definition: basictypes.h:57
UMLOperation * getParentOperation()
Add a Parameter object to the m_parameterVector List.
Definition: codeoperation.cpp:64
bool isStatic() const
Returns true if this UMLObject has classifier scope, otherwise false (the default).
Definition: umlobject.cpp:335
JavaCodeOperation(JavaClassifierCodeDocument *doc, UMLOperation *op, const QString &body="", const QString &comment="")
Empty Constructor.
Definition: javacodeoperation.cpp:20
bool isConstructorOperation()
Returns whether this operation is a constructor.
Definition: operation.cpp:352
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
static QString fixTypeName(const QString &string)
IF the type is "string" we need to declare it as the Java Object "String" (there is no string primati...
Definition: javacodegenerator.cpp:291
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.