umbrello/umbrello
#include <category.h>
Public Types | |
enum | Category_Type { ct_Disjoint_Specialisation, ct_Overlapping_Specialisation, ct_Union } |
Public Types inherited from UMLObject | |
enum | ObjectType { ot_UMLObject = 100, ot_Actor, ot_UseCase, ot_Package, ot_Interface, ot_Datatype, ot_Enum, ot_Class, ot_Association, ot_Attribute, ot_Operation, ot_EnumLiteral, ot_Template, ot_Component, ot_Artifact, ot_Node, ot_Stereotype, ot_Role, ot_Entity, ot_EntityAttribute, ot_Folder, ot_EntityConstraint, ot_UniqueConstraint, ot_ForeignKeyConstraint, ot_CheckConstraint, ot_Category } |
Public Member Functions | |
UMLCategory (const QString &name=QString(), Uml::ID::Type id=Uml::ID::None) | |
~UMLCategory () | |
virtual UMLObject * | clone () const |
void | copyInto (UMLObject *lhs) const |
UMLCategory::Category_Type | getType () |
virtual void | init () |
void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
void | setType (Category_Type type) |
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) |
virtual bool | resolveRef () |
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 () |
Additional Inherited Members | |
Public Slots inherited from UMLObject | |
void | emitModified () |
Signals inherited from UMLCanvasObject | |
void | sigAssociationEndAdded (UMLAssociation *assoc) |
void | sigAssociationEndRemoved (UMLAssociation *assoc) |
Signals inherited from UMLObject | |
void | modified () |
Static Public Member Functions inherited from UMLObject | |
static QString | toString (ObjectType ot) |
Protected Attributes inherited from UMLCanvasObject | |
UMLObjectList | m_List |
Protected Attributes inherited from UMLObject | |
bool | m_bAbstract |
ObjectType | m_BaseType |
bool | m_bCreationWasSignalled |
bool | m_bInPaste |
bool | m_bStatic |
QString | m_Doc |
QString | m_name |
Uml::ID::Type | m_nId |
UMLObject * | m_pSecondary |
UMLStereotype * | m_pStereotype |
UMLPackage * | m_pUMLPackage |
QString | m_SecondaryFallback |
QString | m_SecondaryId |
Uml::Visibility::Enum | m_visibility |
Detailed Description
This class contains the non-graphical information required for a UML Category.
This class inherits from UMLCanvasObject which contains most of the information. The UMLDoc class creates instances of this type.
Information for a non-graphical UML Category.
- See also
- UMLCanvasObject Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 28 of file category.h.
Member Enumeration Documentation
Enumerator | |
---|---|
ct_Disjoint_Specialisation | |
ct_Overlapping_Specialisation | |
ct_Union |
Definition at line 32 of file category.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a Category.
- Parameters
-
name The name of the Category. id The unique id to assign to this Category.
Definition at line 19 of file category.cpp.
UMLCategory::~UMLCategory | ( | ) |
Standard destructor.
Definition at line 28 of file category.cpp.
Member Function Documentation
|
virtual |
|
virtual |
Copy the internal presentation of this object into the new object.
Reimplemented from UMLCanvasObject.
Definition at line 45 of file category.cpp.
UMLCategory::Category_Type UMLCategory::getType | ( | ) |
Get the category type.
Definition at line 87 of file category.cpp.
|
virtual |
Initializes key variables of the class.
Definition at line 35 of file category.cpp.
|
protectedvirtual |
Loads the <UML:Category> XMI element (empty.)
Reimplemented from UMLObject.
Definition at line 78 of file category.cpp.
|
virtual |
Creates the <UML:Category> XMI element.
Implements UMLObject.
Definition at line 68 of file category.cpp.
void UMLCategory::setType | ( | Category_Type | type | ) |
Set the category type.
Definition at line 95 of file category.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.