umbrello: umbrello/codegenerators/java/javacodeaccessormethod.h Source File

umbrello 25.04.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

javacodeaccessormethod.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVACODEACCESSORMETHOD_H
9#define JAVACODEACCESSORMETHOD_H
10
11#include "codeaccessormethod.h"
12
13#include <QString>
14
15class CodeClassField;
16
17 class JavaCodeAccessorMethod : public CodeAccessorMethod
18{
19 Q_OBJECT
20public:
21
25 JavaCodeAccessorMethod (CodeClassField * field, CodeAccessorMethod::AccessorType type);
26
30 virtual ~JavaCodeAccessorMethod ();
31
35 void update();
36
37 virtual void updateMethodDeclaration();
38 virtual void updateContent();
39
40protected:
41
46 virtual void setAttributesOnNode (QXmlStreamWriter& writer);
47
52 virtual void setAttributesFromNode (QDomElement & element);
53
54};
55
56#endif // JAVACODEACCESSORMETHOD_H
CodeAccessorMethod::CodeClassField
friend class CodeClassField
Definition codeaccessormethod.h:19
CodeAccessorMethod::CodeAccessorMethod
CodeAccessorMethod(CodeClassField *field)
Definition codeaccessormethod.cpp:20
CodeAccessorMethod::AccessorType
AccessorType
Definition codeaccessormethod.h:29
CodeClassField
Definition codeclassfield.h:26
JavaCodeAccessorMethod::JavaCodeAccessorMethod
JavaCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition javacodeaccessormethod.cpp:29
JavaCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition javacodeaccessormethod.cpp:51
JavaCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition javacodeaccessormethod.cpp:117
JavaCodeAccessorMethod::update
void update()
Definition javacodeaccessormethod.cpp:201
JavaCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition javacodeaccessormethod.cpp:43
JavaCodeAccessorMethod::~JavaCodeAccessorMethod
virtual ~JavaCodeAccessorMethod()
Definition javacodeaccessormethod.cpp:39
JavaCodeAccessorMethod::updateContent
virtual void updateContent()
Definition javacodeaccessormethod.cpp:59
codeaccessormethod.h