| umbrello 25.04.2
    Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology | 
Sets up attribute information. More...
#include <enumliteral.h>
 
  
| 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_Value | 
|  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 | |
| 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 () | 
|  Signals inherited from UMLObject | |
| void | modified () | 
|  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 enum literal. Enum literals are the values that enums can be set to.
| UMLEnumLiteral::UMLEnumLiteral | ( | UMLObject * | parent, | 
| const QString & | name, | ||
| Uml::ID::Type | id = Uml::ID::None, | ||
| const QString & | v = QString() ) | 
Sets up an enum literal.
| parent | The parent of this UMLEnumLiteral. | 
| name | The name of this UMLEnumLiteral. | 
| id | The unique id given to this UMLEnumLiteral. | 
| v | The numeric representation value of this UMLEnumLiteral. CAVEAT: 1) This does not conform to the UML standard. 2) Programming language specific: Not all languages support enum representations. | 
| 
 | explicit | 
Sets up an enum literal.
| parent | The parent of this UMLEnumLiteral. | 
| 
 | virtual | 
Destructor.
| 
 | virtual | 
Make a clone of this object.
Implements UMLClassifierListItem.
| 
 | virtual | 
Copy the internal presentation of this object into the new object.
Reimplemented from UMLClassifierListItem.
| 
 | protectedvirtual | 
Loads the <UML:EnumLiteral> XMI element (empty.)
Reimplemented from UMLObject.
| bool UMLEnumLiteral::operator== | ( | const UMLEnumLiteral & | rhs | ) | const | 
Overloaded '==' operator
| 
 | virtual | 
Creates the <UML:EnumLiteral> XMI element.
Reimplemented from UMLObject.
| void UMLEnumLiteral::setValue | ( | const QString & | v | ) | 
Sets the value of the UMLEnumLiteral.
| v | The value of the Enum Literal. | 
| 
 | virtual | 
Display the properties configuration dialog for the enum literal.
Reimplemented from UMLObject.
| 
 | virtual | 
Returns a string representation of the UMLEnumLiteral.
| sig | If true will show the attribute type and value. | 
Reimplemented from UMLClassifierListItem.
| QString UMLEnumLiteral::value | ( | ) | const | 
Returns the value of the UMLEnumLiteral.
| 
 | protected | 
Value is an extension to the UML 2.5 metamodel. It manage the internal representation of enumeration value in system programming languages.