| umbrello 25.04.1
    Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology | 
Sets up attribute information. More...
#include <attribute.h>
 
  
| Signals | |
| void | attributeChanged () | 
|  Signals inherited from UMLObject | |
| void | modified () | 
| Protected Member Functions | |
| bool | load1 (QDomElement &element) | 
|  Protected Member Functions inherited from UMLObject | |
| void | init () | 
| void | maybeSignalObjectCreated () | 
| void | save1end (QXmlStreamWriter &writer) | 
| Protected Attributes | |
| QString | m_InitialValue | 
| text for the attribute's initial value. | |
| Uml::ParameterDirection::Enum | m_ParmKind | 
|  Protected Attributes inherited from UMLObject | |
| Uml::ID::Type | m_nId | 
| object's id | |
| QString | m_Doc | 
| object's documentation | |
| QPointer< UMLStereotype > | m_pStereotype | 
| stereotype of the object if applicable | |
| QString | m_name | 
| objects name | |
| ObjectType | m_BaseType | 
| objects type | |
| Uml::Visibility::Enum | m_visibility | 
| objects visibility | |
| bool | m_bAbstract | 
| state of whether the object is abstract or not | |
| bool | m_bStatic | 
| flag for instance scope | |
| bool | m_bCreationWasSignalled | 
| auxiliary to maybeSignalObjectCreated() | |
| QPointer< UMLObject > | m_pSecondary | 
| QString | m_SecondaryId | 
| QString | m_SecondaryFallback | 
| QStringList | m_TaggedValues | 
| UMLObjectPrivate * | m_d | 
| private data | |
| Private Member Functions | |
| void | setTemplateParams (const QString &templateParam, UMLClassifierList &templateParamList) | 
| 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_Instance , 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 , ot_InstanceAttribute , ot_SubSystem } | 
|  Public Slots inherited from UMLObject | |
| void | emitModified () | 
|  Static Public Member Functions inherited from UMLObject | |
| static QString | toString (ObjectType ot) | 
| static QString | toI18nString (ObjectType t) | 
| static Icon_Utils::IconType | toIcon (ObjectType t) | 
Sets up attribute information.
This class is used to set up information for an attribute. This is like a programming attribute. It has a type, name, visibility and initial value.
| UMLAttribute::UMLAttribute | ( | UMLObject * | parent, | 
| const QString & | name, | ||
| Uml::ID::Type | id = Uml::ID::None, | ||
| Uml::Visibility::Enum | s = Uml::Visibility::Private, | ||
| UMLObject * | type = nullptr, | ||
| const QString & | iv = QString() ) | 
Sets up an attribute.
| parent | The parent of this UMLAttribute. | 
| name | The name of this UMLAttribute. | 
| id | The unique id given to this UMLAttribute. | 
| s | The visibility of the UMLAttribute. | 
| type | The type of this UMLAttribute. | 
| iv | The initial value of the attribute. | 
| 
 | explicit | 
Sets up an attribute.
| parent | The parent of this UMLAttribute. | 
| 
 | virtual | 
Destructor.
| 
 | signal | 
| 
 | virtual | 
Make a clone of the UMLAttribute.
Implements UMLClassifierListItem.
Reimplemented in UMLEntityAttribute.
| 
 | virtual | 
Copy the internal presentation of this object into the UMLAttribute object.
Reimplemented from UMLClassifierListItem.
Reimplemented in UMLEntityAttribute.
| QString UMLAttribute::getFullyQualifiedName | ( | const QString & | separator = QString(), | 
| bool | includeRoot = false ) const | 
Reimplement method from UMLObject.
| QString UMLAttribute::getInitialValue | ( | ) | const | 
Returns The initial value of the UMLAttribute.
| Uml::ParameterDirection::Enum UMLAttribute::getParmKind | ( | ) | const | 
| 
 | virtual | 
Returns all the template params (if any) that are in the type of this attribute
| 
 | protectedvirtual | 
Loads the <UML:Attribute> XMI element.
Reimplemented from UMLObject.
Reimplemented in UMLEntityAttribute.
| bool UMLAttribute::operator== | ( | const UMLAttribute & | rhs | ) | const | 
Overloaded '==' operator
| 
 | virtual | 
Creates the <UML:Attribute> XMI element.
Reimplemented from UMLObject.
Reimplemented in UMLEntityAttribute.
| void UMLAttribute::setInitialValue | ( | const QString & | iv | ) | 
Sets the initial value of the UMLAttribute.
| iv | The initial value of the UMLAttribute. | 
| 
 | virtual | 
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Reimplemented from UMLObject.
| void UMLAttribute::setParmKind | ( | Uml::ParameterDirection::Enum | pk | ) | 
| 
 | private | 
Puts in the param templateParamList all the template params that are in templateParam
| void UMLAttribute::setVisibility | ( | Uml::Visibility::Enum | s | ) | 
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
| 
 | virtual | 
Display the properties configuration dialog for the attribute.
Reimplemented from UMLObject.
Reimplemented in UMLEntityAttribute.
| 
 | virtual | 
Returns a string representation of the UMLAttribute.
| sig | If true will show the attribute type and initial value. | 
| withStereotype | If true will show a possible stereotype applied to the attribute. | 
Reimplemented from UMLClassifierListItem.
Reimplemented in UMLEntityAttribute.
| 
 | protected | 
text for the attribute's initial value.
| 
 | protected |