umbrello/umbrello
dcodeclassfield.cpp
Go to the documentation of this file.
60 return roleName + (roleName.right(1) == QLatin1String("s") ? QLatin1String("es") : QLatin1String("s"));
static QString getListFieldClassName()
Get the list variable class name to use.
Definition: dcodegenerator.cpp:96
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
static QString fixTypeName(const QString &item)
IF the type is "string" we need to declare it as the D Object "String" (there is no string primative ...
Definition: dcodegenerator.cpp:121
QString getInitialValue()
Get the value of m_initialValue The initial value of this code parameter.
Definition: dcodeclassfield.cpp:65
DCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Constructors.
Definition: dcodeclassfield.cpp:30
QString right(int n) 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
bool fieldIsSingleValue()
Determine whether the parent object in this classfield indicates that it is a single variable or a Li...
Definition: codeclassfield.cpp:607
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 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:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.