umbrello/umbrello
javacodeclassfield.cpp
Go to the documentation of this file.
31 JavaCodeClassField::JavaCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib)
79 return QLatin1String(" new ") + JavaCodeGenerator::getListFieldClassName() + QLatin1String("()");
JavaCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Constructors.
Definition: javacodeclassfield.cpp:26
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:32
QString getInitialValue() const
Returns The initial value of the UMLAttribute.
Definition: attribute.cpp:99
QString getInitialValue()
Get the value of m_initialValue The initial value of this code parameter.
Definition: javacodeclassfield.cpp:59
static QString getListFieldClassName()
Get the list variable class name to use.
Definition: javacodegenerator.cpp:281
QString toLower() const
QString cleanName(const QString &name)
A little utility method to make life easier for code document programmers.
Definition: codeclassfield.cpp:376
QString fixInitialStringDeclValue(const QString &val, const QString &type)
Another utility method to make life easier for code document programmers this one fixes the initial d...
Definition: codeclassfield.cpp:386
QString & replace(int position, int n, QChar after)
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
QString left(int n) const
bool fieldIsSingleValue()
Determine whether the parent object in this classfield indicates that it is a single variable or a Li...
Definition: codeclassfield.cpp:607
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.