umbrello/umbrello
umlcanvasobject.cpp
Go to the documentation of this file.
UMLAssociationList getAggregations()
Shorthand for getSpecificAssocs(Uml::at_Aggregation)
Definition: umlcanvasobject.cpp:421
UMLObject * getObject(Uml::RoleType::Enum role) const
Returns the UMLObject assigned to the given role.
Definition: association.cpp:476
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: umlobject.cpp:287
Definition: umlobject.h:60
int associations()
Returns the number of associations for the CanvasObject.
Definition: umlcanvasobject.cpp:319
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
UMLAssociationList getSpecificAssocs(Uml::AssociationType::Enum assocType)
Return the subset of m_List that matches the given type.
Definition: umlcanvasobject.cpp:61
Definition: basictypes.h:209
bool operator==(const UMLCanvasObject &rhs) const
Overloaded '==' operator.
Definition: umlcanvasobject.cpp:282
Definition: basictypes.h:210
This class contains the non-graphical information required for UMLObjects which appear as moveable wi...
Definition: umlcanvasobject.h:33
bool hasAssociation(UMLAssociation *assoc)
Determine if this canvasobject has the given association.
Definition: umlcanvasobject.cpp:104
Definition: umlobject.h:71
Definition: umlobject.h:59
Definition: umlobject.h:61
int removeAssociationEnd(UMLAssociation *assoc)
Remove an association end from the CanvasObject.
Definition: umlcanvasobject.cpp:117
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
void sigAssociationEndRemoved(UMLAssociation *assoc)
UMLAssociationList getRelationships()
Shorthand for getSpecificAssocs(Uml::at_Relationship)
Definition: umlcanvasobject.cpp:441
This class contains the non-graphic representation of an association.
Definition: association.h:32
UMLAssociationList getAssociations()
Return the list of associations for the CanvasObject.
Definition: umlcanvasobject.cpp:337
static QString toString(ObjectType ot)
Helper function for debug output.
Definition: umlobject.cpp:1094
virtual bool resolveRef()
Resolve referenced objects (if any.) Needs to be called after all UML objects are loaded from file...
Definition: umlobject.cpp:709
Uml::AssociationType::Enum getAssocType() const
Returns the AssociationType::Enum of the UMLAssociation.
Definition: association.cpp:103
UMLAssociationList getCompositions()
Shorthand for getSpecificAssocs(Uml::at_Composition)
Definition: umlcanvasobject.cpp:431
void removeAssociation(UMLAssociation *assoc, bool doSetModified=true)
Removes an association.
Definition: umldoc.cpp:1071
Definition: umlobject.h:73
virtual UMLObject * findChildObjectById(Uml::ID::Type id, bool considerAncestors=false)
Find an association.
Definition: umlcanvasobject.cpp:266
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Find a child object with the given name.
Definition: umlcanvasobject.cpp:240
Definition: umlobject.h:72
UMLClassifierList getSuperClasses()
Return a list of the superclasses of this concept.
Definition: umlcanvasobject.cpp:359
Definition: umlobject.h:58
Definition: umlobject.h:57
UMLClassifierList getSubClasses()
Return a list of the classes that inherit from this concept.
Definition: umlcanvasobject.cpp:386
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: umlcanvasobject.cpp:303
bool activeLanguageIsCaseSensitive()
Return true if the active language is case sensitive.
Definition: uml.cpp:2361
Definition: umlobject.h:49
void removeAllAssociationEnds()
Remove all association ends from the CanvasObject.
Definition: umlcanvasobject.cpp:132
void sigAssociationEndAdded(UMLAssociation *assoc)
Uml::ID::Type getObjectId(Uml::RoleType::Enum role) const
Returns the ID of the UMLObject assigned to the given role.
Definition: association.cpp:488
virtual QString uniqChildName(const UMLObject::ObjectType type, const QString &prefix=QString())
Returns a name for the new association, operation, template or attribute appended with a number if th...
Definition: umlcanvasobject.cpp:185
bool addAssociationEnd(UMLAssociation *assoc)
Adds an association end to m_List.
Definition: umlcanvasobject.cpp:83
virtual UMLAssociationList getRealizations()
Shorthand for getSpecificAssocs(Uml::at_Realization)
Definition: umlcanvasobject.cpp:411
Definition: umlobject.h:68
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 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:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.