umbrello/umbrello
attribute.cpp
Go to the documentation of this file.
334 void UMLAttribute::setTemplateParams(const QString& templateParam, UMLClassifierList &templateParamList)
QString getFullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Reimplement method from UMLObject.
Definition: attribute.cpp:182
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
UMLClassifier * getType() const
Returns the type of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:100
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
QString getInitialValue() const
Returns The initial value of the UMLAttribute.
Definition: attribute.cpp:98
Uml::ParameterDirection::Enum getParmKind() const
Definition: attribute.cpp:121
void setVisibility(Uml::Visibility::Enum s)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:86
static bool tagEq(const QString &tag, const QString &pattern)
Function for comparing tags in XMI files.
Definition: umldoc.cpp:3030
Definition: basictypes.h:244
void setName(const QString &name)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:75
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the UMLAttribute object.
Definition: attribute.cpp:230
Definition: umlattributedialog.h:28
bool operator==(const UMLAttribute &rhs) const
Overloaded '==' operator.
Definition: attribute.cpp:210
Definition: umlobject.h:59
virtual bool showPropertiesDialog(QWidget *parent)
Display the properties configuration dialog for the attribute.
Definition: attribute.cpp:325
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
Definition: basictypes.h:58
Definition: basictypes.h:246
Definition: basictypes.h:137
Definition: basictypes.h:136
void setInitialValue(const QString &iv)
Sets the initial value of the UMLAttribute.
Definition: attribute.cpp:108
QString activeLanguageScopeSeparator()
Return the target language depedent scope separator.
Definition: uml.cpp:2373
Definition: basictypes.h:248
UMLAttribute(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None, Uml::Visibility::Enum s=Uml::Visibility::Private, UMLObject *type=0, const QString &iv=QString())
Sets up an attribute.
Definition: attribute.cpp:34
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: classifierlistitem.cpp:77
QString toString(Enum item, bool mnemonic)
Convert Visibility item into QString representation.
Definition: basictypes.cpp:99
Definition: basictypes.h:229
Definition: umlobject.h:58
QDomElement save(const QString &tag, QDomDocument &qDoc)
Auxiliary to saveToXMI.
Definition: umlobject.cpp:808
UMLPackage * umlPackage()
Returns the UMLPackage that this class is located in.
Definition: umlobject.cpp:641
virtual UMLClassifierList getTemplateParams()
Returns all the template params (if any) that are in the type of this attribute.
Definition: attribute.cpp:386
Definition: basictypes.h:135
Definition: basictypes.h:227
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the XMI element.
Definition: attribute.cpp:258
void attributeChanged()
Uml::ProgrammingLanguage::Enum activeLanguage() const
Get the language for import and code generation.
Definition: uml.cpp:2353
QString m_SecondaryId
xmi.id of the secondary object for intermediate use during loading.
Definition: umlobject.h:186
Definition: basictypes.h:228
virtual QString fullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Returns the fully qualified name, i.e.
Definition: umlobject.cpp:201
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig)
Returns a string representation of the UMLAttribute.
Definition: attribute.cpp:132
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Used to find a UMLObject by its type and name.
Definition: umldoc.cpp:809
UMLObject * m_pSecondary
pointer to an associated object Only a few of the classes inheriting from UMLObject use this...
Definition: umlobject.h:182
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:116
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.