#include <codeparameter.h>
class CodeParameter A parameter on some type of code.
◆ CodeParameter()
◆ ~CodeParameter()
CodeParameter::~CodeParameter |
( |
| ) |
|
|
virtual |
◆ getAbstract()
bool CodeParameter::getAbstract |
( |
| ) |
|
Utility method to get the value of parent object abstract value
- Returns
- the value of parent object abstrtact
◆ getComment()
Get the Comment on this object.
◆ getInitialValue()
QString CodeParameter::getInitialValue |
( |
| ) |
|
|
virtual |
◆ getName()
QString CodeParameter::getName |
( |
| ) |
const |
Utility method to get the value of parent object name The name of this code parameter.
- Returns
- the value
◆ getParentDocument()
Get the parent Code Document
◆ getParentObject()
UMLObject * CodeParameter::getParentObject |
( |
| ) |
|
Get the ParentObject object.
◆ getStatic()
bool CodeParameter::getStatic |
( |
| ) |
|
Utility method to get the value of parent object static Whether or not this is static.
- Returns
- the value of static
◆ getTypeName()
QString CodeParameter::getTypeName |
( |
| ) |
|
|
virtual |
◆ getVisibility()
Utility method to get the value of parent object scope. The visibility of this code parameter.
- Returns
- the value of parent object scope
◆ ID()
QString CodeParameter::ID |
( |
| ) |
const |
◆ initFields()
◆ setAttributesFromNode()
void CodeParameter::setAttributesFromNode |
( |
QDomElement & |
root | ) |
|
|
protectedvirtual |
Set the class attributes of this object from the passed element node.
Reimplemented in CodeClassField.
◆ setAttributesOnNode()
void CodeParameter::setAttributesOnNode |
( |
QXmlStreamWriter & |
writer | ) |
|
|
protectedvirtual |
Set attributes of the node that represents this class in the XMI document.
Reimplemented in CodeClassField.
◆ setComment()
◆ setInitialValue()
void CodeParameter::setInitialValue |
( |
const QString & |
new_var | ) |
|
|
virtual |
Set the value of m_initialValue. The initial value of this code parameter.
- Parameters
-
new_var | the new value of m_initialValue |
◆ syncToParent
void CodeParameter::syncToParent |
( |
| ) |
|
|
slot |
Create the string representation of this code parameter.
- Returns
- QString
◆ updateContent()
virtual void CodeParameter::updateContent |
( |
| ) |
|
|
pure virtual |
◆ m_comment
◆ m_initialValue
QString CodeParameter::m_initialValue |
|
private |
initial value of this code parameter
◆ m_parentDocument
◆ m_parentObject
The documentation for this class was generated from the following files: