UMLEntityAttribute Class Reference
This class is used to set up information for an entityattribute. Sets up entityattribute information. More...
#include <entityattribute.h>
Inheritance diagram for UMLEntityAttribute:

Public Member Functions | |
| UMLEntityAttribute (const UMLObject *parent, const QString &name, Uml::IDType id=Uml::id_None, Uml::Visibility s=Uml::Visibility::Private, UMLObject *type=0, const QString &iv=0) | |
| Sets up an entityattribute. | |
| UMLEntityAttribute (const UMLObject *parent) | |
| Sets up an entityattribute. | |
| bool | operator== (UMLEntityAttribute &rhs) |
| Overloaded '==' operator. | |
| virtual | ~UMLEntityAttribute () |
| destructor. | |
| virtual void | copyInto (UMLEntityAttribute *rhs) const |
| Copy the internal presentation of this object into the UMLEntityAttribute object. | |
| virtual UMLObject * | clone () const |
| Make a clone of the UMLEntityAttribute. | |
| QString | getAttributes () |
| Returns The value of the UMLEntityAttribute's attributes property. | |
| void | setAttributes (const QString &attributes) |
| Sets the UMLEntityAttribute's attributes property. | |
| Uml::DBIndex_Type | getIndexType () |
| Returns the UMLEntityAttribute's index type property. | |
| void | setIndexType (const Uml::DBIndex_Type indexType) |
| Sets the UMLEntityAttribute's index type property. | |
| QString | getValues () |
| Returns the UMLEntityAttribute's length/values property. | |
| void | setValues (const QString &values) |
| Sets the UMLEntityAttribute's length/values property. | |
| bool | getAutoIncrement () |
| Returns the UMLEntityAttribute's auto_increment boolean. | |
| void | setAutoIncrement (const bool autoIncrement) |
| Sets the UMLEntityAttribute's auto_increment property. | |
| bool | getNull () |
| Returns the UMLEntityAttribute's allow null value. | |
| void | setNull (const bool null) |
| Sets the UMLEntityAttribute's allow null value. | |
| QString | toString (Uml::Signature_Type sig=Uml::st_NoSig) |
| Returns a string representation of the UMLEntityAttribute. | |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| Creates the <UML:EntityAttribute> XMI element. | |
| bool | showPropertiesDialog (QWidget *parent) |
| Display the properties configuration dialog for the entityattribute. | |
Protected Member Functions | |
| void | init () |
| Initialize members of this class. | |
| bool | load (QDomElement &element) |
| Loads the <UML:EntityAttribute> XMI element. | |
Detailed Description
This class is used to set up information for an entityattribute. Sets up entityattribute information.This is a database field It has a type, name, index type and default value.
- Author:
- Jonathan Riddell <jr .org>
- See also:
- UMLObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 27 of file entityattribute.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||
|
Sets up an entityattribute.
Definition at line 24 of file entityattribute.cpp. References init(), and UMLObject::setBaseType(). Referenced by clone(). |
|
|
Sets up an entityattribute.
Definition at line 34 of file entityattribute.cpp. References init(). |
|
|
destructor.
Definition at line 38 of file entityattribute.cpp. |
Member Function Documentation
|
|
Overloaded '==' operator.
Definition at line 105 of file entityattribute.cpp. References UMLObject::m_pSecondary, and UMLObject::operator==(). |
|
|
Copy the internal presentation of this object into the UMLEntityAttribute object.
Definition at line 120 of file entityattribute.cpp. References UMLClassifierListItem::copyInto(), UMLObject::m_pSecondary, and UMLObject::m_SecondaryId. Referenced by clone(). |
|
|
Make a clone of the UMLEntityAttribute.
Reimplemented from UMLAttribute. Definition at line 132 of file entityattribute.cpp. References clone(), copyInto(), and UMLEntityAttribute(). Referenced by clone(), and UMLEntityAttributeList::copyInto(). |
|
|
Returns The value of the UMLEntityAttribute's attributes property.
Definition at line 47 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::setupDialog(). |
|
|
Sets the UMLEntityAttribute's attributes property.
Definition at line 51 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::apply(). |
|
|
Returns the UMLEntityAttribute's index type property.
Definition at line 71 of file entityattribute.cpp. Referenced by EntityWidget::draw(), and UMLEntityAttributeDialog::setupDialog(). |
|
|
Sets the UMLEntityAttribute's index type property.
Definition at line 75 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::apply(). |
|
|
Returns the UMLEntityAttribute's length/values property.
Definition at line 55 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::setupDialog(). |
|
|
Sets the UMLEntityAttribute's length/values property.
Definition at line 59 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::apply(). |
|
|
Returns the UMLEntityAttribute's auto_increment boolean.
Definition at line 63 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::setupDialog(). |
|
|
Sets the UMLEntityAttribute's auto_increment property.
Definition at line 67 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::apply(). |
|
|
Returns the UMLEntityAttribute's allow null value.
Definition at line 79 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::setupDialog(). |
|
|
Sets the UMLEntityAttribute's allow null value.
Definition at line 83 of file entityattribute.cpp. Referenced by UMLEntityAttributeDialog::apply(). |
|
|
Returns a string representation of the UMLEntityAttribute.
Reimplemented from UMLAttribute. Definition at line 87 of file entityattribute.cpp. References UMLObject::getName(), and UMLClassifierListItem::getTypeName(). |
|
||||||||||||
|
Creates the <UML:EntityAttribute> XMI element.
Reimplemented from UMLAttribute. Definition at line 141 of file entityattribute.cpp. References UMLObject::getID(), and UMLObject::save(). |
|
|
Display the properties configuration dialog for the entityattribute.
Reimplemented from UMLAttribute. Definition at line 172 of file entityattribute.cpp. |
|
|
Initialize members of this class. Auxiliary method used by constructors. Reimplemented from UMLObject. Definition at line 40 of file entityattribute.cpp. Referenced by UMLEntityAttribute(). |
|
|
Loads the <UML:EntityAttribute> XMI element.
Reimplemented from UMLAttribute. Definition at line 160 of file entityattribute.cpp. |
The documentation for this class was generated from the following files:
