umbrello/umbrello
#include <entityconstraint.h>
Public Member Functions | |
UMLEntityConstraint (UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None) | |
UMLEntityConstraint (UMLObject *parent) | |
virtual | ~UMLEntityConstraint () |
virtual UMLObject * | clone () const =0 |
virtual void | copyInto (UMLObject *lhs) const |
bool | operator== (const UMLEntityConstraint &rhs) const |
Public Member Functions inherited from UMLClassifierListItem | |
UMLClassifierListItem (UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None) | |
UMLClassifierListItem (UMLObject *parent) | |
virtual | ~UMLClassifierListItem () |
UMLClassifier * | getType () const |
virtual QString | getTypeName () const |
virtual void | setType (UMLObject *type) |
void | setTypeName (const QString &type) |
virtual bool | showPropertiesDialog (QWidget *parent)=0 |
virtual QString | toString (Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig) |
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 |
virtual bool | resolveRef () |
QDomElement | save (const QString &tag, QDomDocument &qDoc) |
virtual void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement)=0 |
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 |
Detailed Description
This class is used to set up information for a entity constraint.
Sets up entity constraint information.
- See also
- UMLObject UMLClassifierListItem Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 26 of file entityconstraint.h.
Constructor & Destructor Documentation
UMLEntityConstraint::UMLEntityConstraint | ( | UMLObject * | parent, |
const QString & | name, | ||
Uml::ID::Type | id = Uml::ID::None |
||
) |
Sets up a constraint.
- Parameters
-
parent The parent of this UMLEntityConstraint. name The name of this UMLEntityConstraint. id The unique id given to this UMLEntityConstraint.
Definition at line 28 of file entityconstraint.cpp.
|
explicit |
Sets up a constraint.
- Parameters
-
parent The parent of this UMLEntityConstraint.
Definition at line 39 of file entityconstraint.cpp.
|
virtual |
destructor.
Definition at line 62 of file entityconstraint.cpp.
Member Function Documentation
|
pure virtual |
Make a clone of the UMLEntityConstraint.
Implements UMLClassifierListItem.
Implemented in UMLForeignKeyConstraint, UMLUniqueConstraint, and UMLCheckConstraint.
|
virtual |
Copy the internal presentation of this object into the UMLEntityConstraint object.
Reimplemented from UMLClassifierListItem.
Reimplemented in UMLForeignKeyConstraint, UMLUniqueConstraint, and UMLCheckConstraint.
Definition at line 70 of file entityconstraint.cpp.
bool UMLEntityConstraint::operator== | ( | const UMLEntityConstraint & | rhs | ) | const |
Overloaded '==' operator.
Definition at line 48 of file entityconstraint.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.