umbrello/umbrello
#include <checkconstraint.h>
Protected Member Functions | |
bool | load (QDomElement &element) |
Protected Member Functions inherited from UMLObject | |
void | init () |
void | maybeSignalObjectCreated () |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Additional Inherited Members | |
Public Types inherited from UMLObject | |
enum | ObjectType { ot_Unknown = -1, 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, ot_Port } |
Public Slots inherited from UMLObject | |
void | emitModified () |
Signals inherited from UMLObject | |
void | modified () |
Static Public Member Functions inherited from UMLObject | |
static QString | toString (ObjectType ot) |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
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 |
Properties inherited from QObject | |
objectName | |
Detailed Description
This class is used to set up information for a unique entity constraint.
Sets up Check Constraint information for UMLEntities.
- See also
- UMLObject UMLClassifierListItem UMLEntityConstraint Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 25 of file checkconstraint.h.
Constructor & Destructor Documentation
UMLCheckConstraint::UMLCheckConstraint | ( | UMLObject * | parent, |
const QString & | name, | ||
Uml::ID::Type | id = Uml::ID::None |
||
) |
Sets up a constraint.
- Parameters
-
parent The parent of this UMLCheckConstraint. name The name of this UMLCheckConstraint. id The unique id given to this UMLCheckConstraint.
Definition at line 25 of file checkconstraint.cpp.
|
explicit |
Sets up a constraint.
- Parameters
-
parent The parent of this UMLCheckConstraint.
Definition at line 37 of file checkconstraint.cpp.
|
virtual |
Destructor.
Definition at line 60 of file checkconstraint.cpp.
Member Function Documentation
|
virtual |
Make a clone of the UMLCheckConstraint.
Implements UMLEntityConstraint.
Definition at line 82 of file checkconstraint.cpp.
|
virtual |
Copy the internal presentation of this object into the UMLCheckConstraint object.
Reimplemented from UMLEntityConstraint.
Definition at line 68 of file checkconstraint.cpp.
|
inline |
Definition at line 51 of file checkconstraint.h.
QString UMLCheckConstraint::getFullyQualifiedName | ( | const QString & | separator = QString() , |
bool | includeRoot = false |
||
) | const |
Definition at line 107 of file checkconstraint.cpp.
|
protectedvirtual |
Loads the <UML:CheckConstraint> XMI element.
Reimplemented from UMLObject.
Definition at line 139 of file checkconstraint.cpp.
bool UMLCheckConstraint::operator== | ( | const UMLCheckConstraint & | rhs | ) | const |
Overloaded '==' operator.
Definition at line 46 of file checkconstraint.cpp.
|
virtual |
Creates the <UML:UniqueConstraint> XMI element.
Implements UMLObject.
Definition at line 117 of file checkconstraint.cpp.
|
inline |
Definition at line 55 of file checkconstraint.h.
|
virtual |
Display the properties configuration dialog for the attribute.
Implements UMLClassifierListItem.
Definition at line 130 of file checkconstraint.cpp.
|
virtual |
Returns a string representation of the UMLCheckConstraint.
- Parameters
-
sig If true will show the attribute type and initial value.
- Returns
- Returns a string representation of the UMLAttribute.
Reimplemented from UMLClassifierListItem.
Definition at line 96 of file checkconstraint.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.