umbrello/umbrello
codeclassfield.h
Go to the documentation of this file.
34 enum ClassFieldType { Attribute, PlainAssociation, Self, Aggregation, Composition, Unknown_Assoc };
Definition: codeclassfield.h:34
Definition: codeclassfield.h:34
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:33
void modified()
CodeClassField(ClassifierCodeDocument *parentDoc, UMLAttribute *attrib)
Constructor.
Definition: codeclassfield.cpp:42
bool addMethod(CodeAccessorMethod *add)
Add a Method object to the m_methodVector List.
Definition: codeclassfield.cpp:156
Definition: codeclassfield.h:34
void updateContent()
Updates the status of the accessor methods as to whether or not they should be written out...
Definition: codeclassfield.cpp:506
Definition: codeclassfield.h:34
Used to declare classifier fields (e.g.
Definition: codeclassfielddeclarationblock.h:29
ClassFieldType getClassFieldType() const
Get the type of classfield this is.
Definition: codeclassfield.cpp:135
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: codeclassfield.cpp:310
int minimumListOccurances()
Find the minimum number of things that can occur in an association If mistakenly called on attribute ...
Definition: codeclassfield.cpp:325
CodeAccessorMethod * findMethodByType(CodeAccessorMethod::AccessorType type, int role_id=-1)
Utility method to allow finding particular accessor method of this code class field by its type ident...
Definition: codeclassfield.cpp:414
virtual void loadFromXMI(QDomElement &root)
Load params from the appropriate XMI element node.
Definition: codeclassfield.cpp:228
Definition: codeclassfield.h:34
int maximumListOccurances()
Find the maximum number of things that can occur in an association If mistakenly called on attribute ...
Definition: codeclassfield.cpp:349
void setWriteOutMethods(bool val)
Determine if we will allow methods to be viewable.
Definition: codeclassfield.cpp:210
Definition: codeaccessormethod.h:20
virtual void synchronize()
Force the synchronization of the content (methods and declarations) of this class field...
Definition: codeclassfield.cpp:400
void setListClassName(const QString &className)
bool removeMethod(CodeAccessorMethod *remove)
Remove a Method object from m_methodVector List.
Definition: codeclassfield.cpp:177
QString cleanName(const QString &name)
A little utility method to make life easier for code document programmers.
Definition: codeclassfield.cpp:373
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:383
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
CodeClassFieldDeclarationBlock * getDeclarationCodeBlock()
Return the declaration statement for this class field object.
Definition: codeclassfield.cpp:220
bool getWriteOutMethods() const
Determine if we will allow methods to be viewable.
Definition: codeclassfield.cpp:200
QList< CodeAccessorMethod * > CodeAccessorMethodList
Definition: codeaccessormethodlist.h:17
QString getUMLObjectName(UMLObject *obj)
Definition: codeclassfield.cpp:148
void setParentUMLObject(UMLObject *obj)
Set the parent UMLobject appropriately.
Definition: codeclassfield.cpp:74
bool fieldIsSingleValue()
Determine whether the parent object in this classfield indicates that it is a single variable or a Li...
Definition: codeclassfield.cpp:604
CodeAccessorMethodList getMethodList() const
Get the list of Method objects held by m_methodVector.
Definition: codeclassfield.cpp:190
void finishInitialization()
Finish off initializations of the object.
Definition: codeclassfield.cpp:647
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 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:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.