umbrello/umbrello
#include <component.h>
Public Member Functions | |
UMLComponent (const QString &name=QString(), Uml::ID::Type id=Uml::ID::None) | |
virtual | ~UMLComponent () |
virtual UMLObject * | clone () const |
bool | getExecutable () |
void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
void | setExecutable (bool executable) |
Public Member Functions inherited from UMLPackage | |
UMLPackage (const QString &name=QString(), Uml::ID::Type id=Uml::ID::None) | |
virtual | ~UMLPackage () |
void | addAssocToConcepts (UMLAssociation *assoc) |
bool | addObject (UMLObject *pObject) |
void | appendClasses (UMLClassifierList &classes, bool includeNested=true) |
void | appendClassesAndInterfaces (UMLClassifierList &classifiers, bool includeNested=true) |
void | appendClassifiers (UMLClassifierList &classifiers, bool includeNested=true) |
void | appendEntities (UMLEntityList &entities, bool includeNested=true) |
void | appendInterfaces (UMLClassifierList &interfaces, bool includeNested=true) |
void | appendPackages (UMLPackageList &packages, bool includeNested=true) |
UMLObjectList | containedObjects () |
virtual void | copyInto (UMLObject *lhs) const |
UMLObject * | findObject (const QString &name) |
UMLObject * | findObjectById (Uml::ID::Type id) |
virtual void | removeAllObjects () |
void | removeAssocFromConcepts (UMLAssociation *assoc) |
void | removeObject (UMLObject *pObject) |
virtual bool | resolveRef () |
Public Member Functions inherited from UMLCanvasObject | |
UMLCanvasObject (const QString &name=QString(), Uml::ID::Type id=Uml::ID::None) | |
virtual | ~UMLCanvasObject () |
bool | addAssociationEnd (UMLAssociation *assoc) |
int | associations () |
virtual UMLObject * | findChildObject (const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject) |
virtual UMLObject * | findChildObjectById (Uml::ID::Type id, bool considerAncestors=false) |
UMLAssociationList | getAggregations () |
UMLAssociationList | getAssociations () |
UMLAssociationList | getCompositions () |
virtual UMLAssociationList | getRealizations () |
UMLAssociationList | getRelationships () |
UMLAssociationList | getSpecificAssocs (Uml::AssociationType::Enum assocType) |
UMLClassifierList | getSubClasses () |
UMLClassifierList | getSuperClasses () |
bool | hasAssociation (UMLAssociation *assoc) |
bool | operator== (const UMLCanvasObject &rhs) const |
void | removeAllAssociationEnds () |
virtual void | removeAllChildObjects () |
int | removeAssociationEnd (UMLAssociation *assoc) |
UMLObjectList | subordinates () const |
virtual QString | uniqChildName (const UMLObject::ObjectType type, const QString &prefix=QString()) |
Public Member Functions inherited from UMLObject | |
UMLObject (UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None) | |
UMLObject (UMLObject *parent) | |
UMLObject (const QString &name=QString(), Uml::ID::Type id=Uml::ID::None) | |
virtual | ~UMLObject () |
virtual bool | acceptAssociationType (Uml::AssociationType::Enum) |
ObjectType | baseType () const |
QLatin1String | baseTypeStr () const |
QString | doc () const |
virtual QString | fullyQualifiedName (const QString &separator=QString(), bool includeRoot=false) const |
bool | hasDoc () const |
virtual Uml::ID::Type | id () const |
bool | isAbstract () const |
bool | isStatic () const |
virtual bool | loadFromXMI (QDomElement &element) |
bool | loadStereotype (QDomElement &element) |
QString | name () const |
bool | operator== (const UMLObject &rhs) const |
QString | package (const QString &separator=QString(), bool includeRoot=false) |
UMLPackageList | packages (bool includeRoot=false) const |
QDomElement | save (const QString &tag, QDomDocument &qDoc) |
QString | secondaryFallback () const |
QString | secondaryId () const |
void | setAbstract (bool bAbstract) |
virtual void | setBaseType (ObjectType ot) |
void | setDoc (const QString &d) |
virtual void | setID (Uml::ID::Type NewID) |
void | setInPaste (bool bInPaste=true) |
virtual void | setName (const QString &strName) |
void | setNameCmd (const QString &strName) |
void | setPackage (const QString &_name) |
void | setSecondaryFallback (const QString &id) |
void | setSecondaryId (const QString &id) |
void | setStatic (bool bStatic) |
void | setStereotype (const QString &_name) |
void | setStereotypeCmd (const QString &_name) |
bool | setUMLPackage (UMLPackage *pPkg) |
void | setUMLStereotype (UMLStereotype *stereo) |
void | setVisibility (Uml::Visibility::Enum visibility) |
void | setVisibilityCmd (Uml::Visibility::Enum visibility) |
virtual bool | showPropertiesPagedDialog (int page=0, bool assoc=false) |
QString | stereotype (bool includeAdornments=false) const |
UMLPackage * | umlPackage () |
const UMLStereotype * | umlStereotype () |
Uml::Visibility::Enum | visibility () const |
Protected Member Functions | |
bool | load (QDomElement &element) |
Protected Member Functions inherited from UMLObject | |
void | init () |
void | maybeSignalObjectCreated () |
Detailed Description
This class contains the non-graphical information required for a UML Component.
This class inherits from UMLPackage which contains most of the information.
Non-graphical information for a Component.
- See also
- UMLCanvasObject Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 27 of file component.h.
Constructor & Destructor Documentation
|
explicit |
Sets up a Component.
- Parameters
-
name The name of the Concept. id The unique id of the Concept.
Definition at line 28 of file component.cpp.
|
virtual |
Destructor.
Definition at line 38 of file component.cpp.
Member Function Documentation
|
virtual |
Make a clone of this object.
Reimplemented from UMLPackage.
Definition at line 45 of file component.cpp.
bool UMLComponent::getExecutable | ( | ) |
Returns the value of m_executable.
Definition at line 123 of file component.cpp.
|
protectedvirtual |
Loads the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage.
Definition at line 76 of file component.cpp.
|
virtual |
Creates the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage.
Definition at line 56 of file component.cpp.
void UMLComponent::setExecutable | ( | bool | executable | ) |
Sets m_executable.
Definition at line 115 of file component.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.