umbrello/umbrello
codeparameter.cpp
Go to the documentation of this file.
CodeParameter(ClassifierCodeDocument *doc, UMLObject *parentObj)
Constructor.
Definition: codeparameter.cpp:29
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:33
Definition: basictypes.h:209
virtual void loadFromXMI(QDomElement &root)
Load params from the appropriate XMI element node.
Definition: codecomment.cpp:42
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
virtual void setInitialValue(const QString &new_var)
Set the value of m_initialValue.
Definition: codeparameter.cpp:99
QString getName() const
Utility method to get the value of parent object name The name of this code parameter.
Definition: codeparameter.cpp:67
void syncToParent()
Create the string representation of this code parameter.
Definition: codeparameter.cpp:268
Definition: basictypes.h:210
bool getAbstract()
Utility method to get the value of parent object abstract value.
Definition: codeparameter.cpp:47
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
ClassifierCodeDocument * getParentDocument()
Get the parent Code Document.
Definition: codeparameter.cpp:133
This class contains the non-graphic representation of an association.
Definition: association.h:32
virtual QString getInitialValue()
Get the value of m_initialValue The initial value of this code parameter.
Definition: codeparameter.cpp:109
CodeComment * newCodeComment(CodeDocument *cd)
Definition: codegenfactory.cpp:402
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: codecomment.cpp:31
UMLRole * getUMLRole(Uml::RoleType::Enum role) const
Get the underlying UMLRole object for the given role.
Definition: association.cpp:563
virtual void updateContent()=0
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: codeparameter.cpp:192
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Set attributes of the node that represents this class in the XMI document.
Definition: codeparameter.cpp:166
UMLObject * findObjectById(Uml::ID::Type id)
Used to find a reference to a UMLObject by its ID.
Definition: umldoc.cpp:766
bool isStatic() const
Returns true if this UMLObject has classifier scope, otherwise false (the default).
Definition: umlobject.cpp:335
Uml::Visibility::Enum getVisibility() const
Utility method to get the value of parent object scope.
Definition: codeparameter.cpp:89
virtual QString getTypeName()
Utility method to get the value of parent object type.
Definition: codeparameter.cpp:78
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
Uml::RoleType::Enum role() const
Get the 'id' of the role (NOT the parent object).
Definition: umlrole.cpp:152
bool getStatic()
Utility method to get the value of parent object static Whether or not this is static.
Definition: codeparameter.cpp:57
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
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.