umbrello/umbrello
entityattribute.cpp
Go to the documentation of this file.
240 QDomElement entityattributeElement = UMLObject::save(QLatin1String("UML:EntityAttribute"), qDoc);
245 entityattributeElement.setAttribute(QLatin1String("type"), Uml::ID::toString(m_pSecondary->id()));
263 int indexType = element.attribute(QLatin1String("dbindex_type"), QLatin1String("1100")).toInt();
void setNull(const bool null)
Sets the initial value of the UMLEntityAttribute's allow null value.
Definition: entityattribute.cpp:159
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the XMI element.
Definition: entityattribute.cpp:238
QString getAttributes() const
Returns the value of the UMLEntityAttribute's attributes property.
Definition: entityattribute.cpp:78
void setValues(const QString &values)
Sets the UMLEntityAttribute's length/values property.
Definition: entityattribute.cpp:105
Definition: entityattribute.h:32
QDomNode appendChild(const QDomNode &newChild)
DBIndex_Type indexType() const
Returns the UMLEntityAttribute's index type property.
Definition: entityattribute.cpp:132
QString attribute(const QString &name, const QString &defValue) const
bool operator==(const UMLEntityAttribute &rhs) const
Overloaded '==' operator.
Definition: entityattribute.cpp:190
QString getValues() const
Returns the UMLEntityAttribute's length/values property.
Definition: entityattribute.cpp:96
Definition: basictypes.h:142
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the UMLEntityAttribute object. ...
Definition: entityattribute.cpp:210
Definition: basictypes.h:141
void setAttribute(const QString &name, const QString &value)
int toInt(bool *ok, int base) const
void setAutoIncrement(const bool autoIncrement)
Sets the UMLEntityAttribute's auto_increment boolean.
Definition: entityattribute.cpp:123
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: classifierlistitem.cpp:77
Definition: umlobject.h:68
QString toString(Enum item, bool mnemonic)
Convert Visibility item into QString representation.
Definition: basictypes.cpp:99
bool getNull() const
Returns the UMLEntityAttribute's allow null value.
Definition: entityattribute.cpp:150
void setIndexType(const DBIndex_Type indexType)
Sets the initial value of the UMLEntityAttribute's index type property.
Definition: entityattribute.cpp:141
QDomElement save(const QString &tag, QDomDocument &qDoc)
Auxiliary to saveToXMI.
Definition: umlobject.cpp:806
This class is used to set up information for an entityattribute.
Definition: entityattribute.h:25
bool showPropertiesDialog(QWidget *parent)
Display the properties configuration dialog for the entityattribute.
Definition: entityattribute.cpp:275
void setAttributes(const QString &attributes)
Sets the UMLEntityAttribute's attributes property.
Definition: entityattribute.cpp:87
virtual UMLObject * clone() const
Make a clone of the UMLEntityAttribute.
Definition: entityattribute.cpp:227
Definition: basictypes.h:140
UMLEntityAttribute(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None, Uml::Visibility::Enum s=Uml::Visibility::Private, UMLObject *type=0, const QString &iv=QString())
Sets up an entityattribute.
Definition: entityattribute.cpp:34
int length() const
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig)
Returns a string representation of the UMLEntityAttribute.
Definition: entityattribute.cpp:169
bool getAutoIncrement() const
Returns the UMLEntityAttribute's auto_increment boolean.
Definition: entityattribute.cpp:114
QString m_SecondaryId
xmi.id of the secondary object for intermediate use during loading.
Definition: umlobject.h:186
QObject * parent() const
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
Definition: umlobject.h:69
UMLObject * m_pSecondary
pointer to an associated object Only a few of the classes inheriting from UMLObject use this...
Definition: umlobject.h:182
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.