umbrello/umbrello
association.h
Go to the documentation of this file.
bool getOldLoadMode() const
Return the backward compatibility flag for loading files.
Definition: association.cpp:580
UMLObject * getObject(Uml::RoleType::Enum role) const
Returns the UMLObject assigned to the given role.
Definition: association.cpp:476
QString toString() const
Returns a String representation of this UMLAssociation.
Definition: association.cpp:111
Uml::ID::Type getRoleId(Uml::RoleType::Enum role) const
Returns the ID of the UMLObject assigned to the given role.
Definition: association.cpp:510
void setAssociationType(Uml::AssociationType::Enum assocType)
Sets the assocType of the UMLAssociation.
Definition: association.cpp:589
Uml::Visibility::Enum visibility() const
Returns the visibility of the object.
Definition: umlobject.cpp:435
void setRoleDoc(const QString &doc, Uml::RoleType::Enum role)
Sets the documentation on the given role in the association.
Definition: association.cpp:659
void setChangeability(Uml::Changeability::Enum value, Uml::RoleType::Enum role)
Sets the changeability of the given role of the UMLAssociation.
Definition: association.cpp:628
void setMultiplicity(const QString &multi, Uml::RoleType::Enum role)
Sets the multiplicity of the given role of the UMLAssociation.
Definition: association.cpp:638
This class represents an association inside a diagram.
Definition: associationwidget.h:50
This class contains the non-graphic representation of an association.
Definition: association.h:32
void setObject(UMLObject *obj, Uml::RoleType::Enum role)
Sets the UMLObject playing the given role in the association.
Definition: association.cpp:608
UMLAssociation(Uml::AssociationType::Enum type, UMLObject *roleA, UMLObject *roleB)
Sets up an association.
Definition: association.cpp:42
Uml::AssociationType::Enum getAssocType() const
Returns the AssociationType::Enum of the UMLAssociation.
Definition: association.cpp:103
Uml::Changeability::Enum changeability(Uml::RoleType::Enum role) const
Returns the changeability.
Definition: association.cpp:518
void setOldLoadMode(bool value=true)
Set the attribute m_bOldLoadMode.
Definition: association.cpp:572
UMLRole * getUMLRole(Uml::RoleType::Enum role) const
Get the underlying UMLRole object for the given role.
Definition: association.cpp:563
bool load(QDomElement &element)
Creates the or XMI element including its role objects...
Definition: association.cpp:209
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the or XMI element including its role objects...
Definition: association.cpp:158
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
QString roleName(Uml::RoleType::Enum role) const
Return the given role's FloatingTextWidget widget text.
Definition: associationwidget.cpp:953
Definition: basictypes.h:120
bool operator==(const UMLAssociation &rhs) const
Overloaded '==' operator.
Definition: association.cpp:87
void setVisibility(Uml::Visibility::Enum value, Uml::RoleType::Enum role)
Sets the visibility of the given role of the UMLAssociation.
Definition: association.cpp:618
QString getRoleDoc(Uml::RoleType::Enum role) const
Returns the documentation assigned to the given role.
Definition: association.cpp:554
QString getRoleName(Uml::RoleType::Enum role) const
Returns the name assigned to the role A.
Definition: association.cpp:545
Uml::ID::Type getObjectId(Uml::RoleType::Enum role) const
Returns the ID of the UMLObject assigned to the given role.
Definition: association.cpp:488
void setRoleName(const QString &roleName, Uml::RoleType::Enum role)
Sets the name of the given role of the UMLAssociation.
Definition: association.cpp:649
QString getMultiplicity(Uml::RoleType::Enum role) const
Returns the multiplicity assigned to the given role.
Definition: association.cpp:536
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:58 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:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.