• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

Public Types | Public Member Functions | Protected Member Functions | List of all members
UMLCategory Class Reference

#include <category.h>

Inheritance diagram for UMLCategory:
Inheritance graph
[legend]

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.

Author
Sharan Rao
See also
UMLCanvasObject Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or http://bugs.kde.org

Definition at line 28 of file category.h.

Member Enumeration Documentation

enum UMLCategory::Category_Type
Enumerator
ct_Disjoint_Specialisation 
ct_Overlapping_Specialisation 
ct_Union 

Definition at line 32 of file category.h.

Constructor & Destructor Documentation

UMLCategory::UMLCategory ( const QString &  name = QString(),
Uml::ID::Type  id = Uml::ID::None 
)
explicit

Constructs a Category.

Parameters
nameThe name of the Category.
idThe 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

UMLObject * UMLCategory::clone ( ) const
virtual

Make a clone of this object.

Implements UMLObject.

Definition at line 58 of file category.cpp.

void UMLCategory::copyInto ( UMLObject *  lhs) const
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.

void UMLCategory::init ( )
virtual

Initializes key variables of the class.

Definition at line 35 of file category.cpp.

bool UMLCategory::load ( QDomElement &  element)
protectedvirtual

Loads the <UML:Category> XMI element (empty.)

Reimplemented from UMLObject.

Definition at line 78 of file category.cpp.

void UMLCategory::saveToXMI ( QDomDocument &  qDoc,
QDomElement &  qElement 
)
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:
  • category.h
  • category.cpp
This file is part of the KDE documentation.
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.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal